/* ==========================================================================
   Page components (inner pages): hero eyebrow, service chips, icon grid, checks band,
   split / local / areas, GAF band, "Why choose" grid, quote, closing band, yellow list band,
   towns, prose, process rows, service grid, cards, video, booking, owner.
   Old Wix look kept (black / yellow / light grey, Futura-like type); spacing and grids unified.
   ========================================================================== */

/* consecutive text sections read as one article (Wix split them into strips) */
.tr-section--narrow + .tr-section--narrow { padding-top: 0; }
.tr-section--narrow > * { max-width: var(--tr-content); }
.tr-center { justify-content: center; text-align: center; }

.tr-page-hero__eyebrow { color: var(--tr-yellow) !important; }
.tr-btn-wrap { margin: 0; }

/* --------------------------------------------------------------------------
   Prose (long SEO copy, legal text, articles)
   -------------------------------------------------------------------------- */
.tr-prose { display: grid; gap: 1.1rem; }
.tr-prose > * { margin: 0 !important; }
.tr-prose > :is(h2, h3, h4, h5, h6) { margin-top: .9rem !important; }
.tr-prose > :first-child { margin-top: 0 !important; }
.tr-prose h2 { font-size: var(--wp--preset--font-size--heading-lg); }
.tr-prose h3 { font-size: var(--wp--preset--font-size--heading-sm); }
.tr-prose h4 { font-size: 1.375rem; }
.tr-prose .wp-block-image img { border-radius: var(--tr-r-media); }
.tr-table table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.tr-table :is(th, td) { padding: 12px 14px; border: 1px solid var(--tr-line); text-align: left; vertical-align: top; }
.tr-table thead th { background: var(--tr-ink); color: #fff; font-weight: 500; }
.tr-table tbody tr:nth-child(even) td { background: var(--tr-paper); }
@media (max-width: 640px) { .tr-table { overflow-x: auto; } .tr-table table { min-width: 560px; } }

/* --------------------------------------------------------------------------
   Service chips (location pages: Residential, Commercial, Gutters, ...)
   -------------------------------------------------------------------------- */
.tr-chips-band { background: var(--tr-ink); padding-block: 1.25rem; }
.tr-chips { justify-content: center; gap: 10px; }
.tr-chips .wp-block-button__link.tr-btn { color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .45); background: transparent; }
.tr-chips .wp-block-button__link.tr-btn::after { display: none; }
.tr-chips .wp-block-button__link.tr-btn:hover { background: var(--tr-yellow); color: var(--tr-ink); box-shadow: inset 0 0 0 1.5px var(--tr-yellow); }

/* --------------------------------------------------------------------------
   Icon grid ("PROUDLY SERVING <town>": 12 services with line icons)
   -------------------------------------------------------------------------- */
.tr-icon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.tr-icon-card {
	display: grid;
	align-content: start;
	gap: .65rem;
	padding: 24px;
	background: #fff;
	border-radius: var(--tr-r-card);
	box-shadow: 0 0 0 1px var(--tr-line);
	transition: transform .35s var(--tr-ease), box-shadow .35s var(--tr-ease);
}
@media (hover: hover) and (pointer: fine) { .tr-icon-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--tr-line), var(--tr-shadow); } }
.tr-icon-card__icon img { width: 64px; height: 64px; object-fit: contain; }
.tr-icon-card__title { font-family: var(--tr-display); font-size: 1.0625rem; font-weight: 600; letter-spacing: .03em; color: var(--tr-ink); line-height: 1.3; }
.tr-icon-card :is(h3, h4) { font-size: 1.25rem; }
.tr-icon-card--photo { padding: 0 0 26px; gap: .7rem; border-radius: var(--tr-r-lg); overflow: hidden; }
.tr-icon-card--photo .tr-icon-card__icon { aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: .45rem !important; }
.tr-icon-card--photo .tr-icon-card__icon img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--tr-ease-out); }
.tr-icon-card--photo > :not(.tr-icon-card__icon) { margin-inline: 24px !important; }
@media (hover: hover) and (pointer: fine) { .tr-icon-card--photo:hover .tr-icon-card__icon img { transform: scale(1.04); } }
.tr-icon-card p:not(.tr-icon-card__title) { font-size: .9688rem; line-height: 1.6; }

/* --------------------------------------------------------------------------
   Checks band ("Why Choose Us?" bullets on the old dark grey band)
   -------------------------------------------------------------------------- */
.tr-checks { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: center; }
.tr-checks > * { margin: 0 !important; }
.tr-checks__head h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: .55em; background: var(--tr-yellow); }
.tr-checks__list { margin: 0; color: rgb(255 255 255 / .9); font-size: 1.0625rem; }
.tr-checks__list li::before { box-shadow: none; }
@media (max-width: 781px) { .tr-checks { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Split: media + body (local area, service areas, contact intro, prose with one photo)
   -------------------------------------------------------------------------- */
.tr-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.75rem, 5vw, 4.5rem); align-items: center; }
.tr-split--reverse .tr-split__media { order: 2; }
.tr-split__media { position: relative; }
.tr-split__img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--tr-r-lg); box-shadow: 14px 14px 0 var(--tr-yellow); }
.tr-split--reverse .tr-split__img img { box-shadow: -14px 14px 0 var(--tr-yellow); }
.tr-split--long { align-items: start; }
.tr-split--long .tr-split__media { position: sticky; top: 120px; }
.tr-split--long .tr-split__img img { aspect-ratio: 4 / 4.4; }
.tr-split__body { display: grid; gap: 1rem; align-content: center; }
.tr-split__body > * { margin: 0 !important; }
.tr-split__body > h3:not(.tr-feat) { font-size: var(--wp--preset--font-size--heading-sm); line-height: 1.25; }
.tr-split__body > h3:not(.tr-feat)::after { content: ""; display: block; width: 40px; height: 4px; margin-top: .55em; background: var(--tr-yellow); }
.tr-split__body h2:not(.tr-feat) { font-size: var(--wp--preset--font-size--heading-lg); }
.tr-split__body h2:not(.tr-feat)::after { content: ""; display: block; width: 56px; height: 4px; margin-top: .5em; background: var(--tr-yellow); }
@media (max-width: 860px) {
	.tr-split { grid-template-columns: 1fr; }
	.tr-split--reverse .tr-split__media { order: 0; }
	.tr-split--long .tr-split__media { position: static; }
	.tr-split--long .tr-split__img img { aspect-ratio: 4 / 3; }
	.tr-split__img img, .tr-split--reverse .tr-split__img img { box-shadow: 10px 10px 0 var(--tr-yellow); }
	.tr-split__media { margin-right: 10px !important; }
}

/* town / county link lists (Why we love, Our service areas, Other areas) */
.tr-towns { list-style: none; padding: 0 !important; margin: .25rem 0 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px 18px; }
.tr-towns li { margin: 0 !important; padding-left: 18px; position: relative; }
.tr-towns li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--tr-yellow); box-shadow: 0 0 0 1.5px var(--tr-ink); border-radius: 2px; }
.tr-towns a { text-decoration: none !important; }
.tr-towns a:hover { text-decoration: underline !important; }
.tr-areas .tr-towns { display: flex; flex-wrap: wrap; gap: 10px; font-weight: 500; }
.tr-areas .tr-towns li { padding: 9px 16px 9px 34px; background: #fff; border-radius: 999px; box-shadow: 0 0 0 1px var(--tr-line); line-height: 1.3; }
.tr-areas .tr-towns li::before { left: 14px; top: 50%; margin-top: -4px; }

.tr-towns-band { display: grid; gap: .9rem; padding: 24px 28px; border-radius: var(--tr-r-lg); background: var(--tr-paper); box-shadow: 0 0 0 1px var(--tr-line); }
.tr-towns-band > * { margin: 0 !important; }
.tr-towns-band__label { font-weight: 600; color: var(--tr-ink); }
.tr-towns-band__label::before { content: ""; display: block; width: 32px; height: 4px; margin-bottom: .7rem; background: var(--tr-yellow); }

/* --------------------------------------------------------------------------
   GAF Master Elite band
   -------------------------------------------------------------------------- */
.tr-gaf { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.75rem, 5vw, 4.5rem); align-items: center; max-width: 1040px !important; }
.tr-gaf > * { margin: 0 !important; }
.tr-gaf__media { display: grid; place-items: center; padding: clamp(28px, 3.5vw, 44px); background: #fff; border-radius: var(--tr-r-lg); box-shadow: 0 1px 2px rgb(0 0 0 / .05), 0 24px 48px -30px rgb(0 0 0 / .4); }
.tr-gaf__media > * { margin: 0 !important; }
.tr-gaf__badge img { width: clamp(120px, 13vw, 168px); height: auto; }
.tr-gaf__body { display: grid; gap: 1rem; }
.tr-gaf__body > * { margin: 0 !important; }
.tr-gaf__body h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: .5em; background: var(--tr-yellow); }
@media (max-width: 720px) { .tr-gaf { grid-template-columns: 1fr; } .tr-gaf__media { justify-self: start; } }

/* --------------------------------------------------------------------------
   "WHY CHOOSE ALL PROFESSIONAL?" grid (title + text pairs, old H4s)
   -------------------------------------------------------------------------- */
.tr-why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 12px; }
.tr-why-item { display: grid; align-content: start; gap: .6rem; padding: 26px 24px 28px; background: rgb(255 255 255 / .04); border-radius: var(--tr-r-lg); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); transition: background-color .25s ease, box-shadow .25s ease; }
.tr-why-item::before { content: ""; width: 40px; height: 40px; margin-bottom: .4rem; border-radius: 10px; background: var(--tr-yellow) var(--tr-check) center / 20px no-repeat; }
@media (hover: hover) and (pointer: fine) { .tr-why-item:hover { background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(251 255 0 / .45); } }
.tr-why-item > * { margin: 0 !important; }
.tr-why-item__title { font-size: 1.25rem !important; color: var(--tr-yellow) !important; font-weight: 500; }
.tr-why-item__text { font-family: var(--tr-body); font-size: 1rem !important; font-weight: 400; line-height: 1.55; color: rgb(255 255 255 / .85) !important; }

/* --------------------------------------------------------------------------
   Quote section (H2 + form card | photo)
   -------------------------------------------------------------------------- */
.tr-quote { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: stretch; }
.tr-quote__body { display: grid; gap: 1.25rem; align-content: start; }
.tr-quote__body > * { margin: 0 !important; }
.tr-quote__body h2 { font-size: var(--wp--preset--font-size--heading-lg); }
.tr-quote__media { position: relative; min-height: 320px; }
.tr-quote__img { position: absolute; inset: 0; margin: 0 !important; }
.tr-quote__img img { width: 100%; height: 100% !important; object-fit: cover; border-radius: var(--tr-r-media); }
.tr-quote:not(:has(.tr-quote__media)) { grid-template-columns: minmax(0, 760px); justify-content: center; }
@media (max-width: 900px) {
	.tr-quote { grid-template-columns: 1fr; }
	.tr-quote__media { min-height: 260px; }
}

/* --------------------------------------------------------------------------
   Closing band ("Don't wait for small issues…" between the two BusinessRate plaques)
   -------------------------------------------------------------------------- */
.tr-closing { display: grid; grid-template-columns: minmax(120px, 220px) minmax(0, 1fr) minmax(120px, 220px); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.tr-closing__plaque img { width: 100%; height: auto; filter: drop-shadow(0 18px 24px rgb(0 0 0 / .25)); }
.tr-closing__body { display: grid; gap: 1rem; justify-items: center; text-align: center; }
.tr-closing__body > * { margin: 0 !important; }
.tr-closing__body h2 { font-size: var(--wp--preset--font-size--heading-lg); }
.tr-closing__body p { max-width: 640px; }
/* bands whose old copy opens with a paragraph instead of an H2 (window replacement page): same visual weight */
.tr-closing__body > p:first-child { font-family: var(--tr-display); font-size: var(--wp--preset--font-size--heading-md); line-height: 1.25; }
.tr-closing__body:has(> p:first-child) { gap: .4rem; }
.tr-closing__body:has(> p:first-child) > .wp-block-buttons { margin-block: .9rem .35rem !important; }
@media (max-width: 860px) {
	.tr-closing { grid-template-columns: 1fr 1fr; }
	.tr-closing__body { grid-column: 1 / -1; grid-row: 1; }
	.tr-closing__plaque { max-width: 180px; justify-self: center; }
}

/* --------------------------------------------------------------------------
   Yellow list band (OUR PROCESS / EXPLORE OUR SERVICES)
   -------------------------------------------------------------------------- */
.tr-band { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
.tr-band__media { display: grid; gap: 1.25rem; }
.tr-band__media > * { margin: 0 !important; }
.tr-band__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--tr-r-lg); box-shadow: 0 30px 60px -36px rgb(0 0 0 / .55); }
.tr-band__list { margin: 0 !important; padding-left: 0 !important; list-style: none; display: grid; gap: 0; font-size: 1.125rem; color: var(--tr-ink); }
.tr-band__list li { margin: 0 !important; padding: .9rem 0 .9rem 34px; position: relative; border-top: 1px solid rgb(0 0 0 / .16); }
.tr-band__list li:last-child { border-bottom: 1px solid rgb(0 0 0 / .16); }
.tr-band__list li::before { content: ""; position: absolute; left: 0; top: calc(.9rem + .45em); width: 14px; height: 14px; background: var(--tr-ink); -webkit-mask: var(--tr-arrow) center / contain no-repeat; mask: var(--tr-arrow) center / contain no-repeat; }
.tr-band__list a { color: var(--tr-ink); }
@media (max-width: 781px) { .tr-band { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Process rows (round photos beside text, as on the old repair pages)
   -------------------------------------------------------------------------- */
.tr-process { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); }
.tr-process__row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; }
.tr-process__row--reverse { grid-template-columns: minmax(0, 1fr) 200px; }
.tr-process__row--reverse .tr-process__media { order: 2; }
.tr-process__img img { width: 200px; height: 200px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--tr-yellow); }
.tr-process__body { display: grid; gap: .9rem; }
.tr-process__body > * { margin: 0 !important; }
@media (max-width: 640px) {
	.tr-process__row, .tr-process__row--reverse { grid-template-columns: 1fr; justify-items: start; }
	.tr-process__row--reverse .tr-process__media { order: 0; }
	.tr-process__img img { width: 150px; height: 150px; }
}

/* --------------------------------------------------------------------------
   Service grid (OUR SERVICES: image left, title, text, Read More)
   -------------------------------------------------------------------------- */
.tr-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tr-service-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: var(--tr-mist); border-radius: var(--tr-r-card); overflow: hidden; transition: box-shadow .35s var(--tr-ease), transform .35s var(--tr-ease); }
@media (hover: hover) and (pointer: fine) { .tr-service-card:hover { transform: translateY(-4px); box-shadow: var(--tr-shadow); } }
.tr-service-card__media { margin: 0 !important; min-height: 220px; position: relative; }
.tr-service-card__img { position: absolute; inset: 0; margin: 0 !important; }
.tr-service-card__img img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .6s var(--tr-ease); }
@media (hover: hover) and (pointer: fine) { .tr-service-card:hover .tr-service-card__img img { transform: scale(1.04); } }
.tr-service-card__body { display: grid; gap: .8rem; align-content: start; padding: clamp(20px, 2.4vw, 30px); }
.tr-service-card__body > * { margin: 0 !important; }
.tr-service-card__title { font-family: var(--tr-display); font-size: clamp(1.375rem, 2vw, 1.75rem) !important; line-height: 1.15 !important; color: var(--tr-ink); letter-spacing: .01em; }
.tr-service-card__body p:not(.tr-service-card__title) { font-size: .9688rem; line-height: 1.6; }
.tr-service-card .wp-block-buttons { margin-top: auto !important; }
@media (max-width: 1024px) { .tr-service-grid { grid-template-columns: 1fr; } }
.tr-service-grid--hub { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.tr-service-grid--hub .tr-service-card { grid-column: span 2; grid-template-columns: 1fr; grid-template-rows: auto 1fr; background: #fff; border-radius: var(--tr-r-lg); box-shadow: 0 0 0 1px var(--tr-line); }
.tr-service-grid--hub .tr-service-card:is(:nth-child(-n+2), :nth-child(n+6)) { grid-column: span 3; }
.tr-service-grid--hub .tr-service-card__media { min-height: 0; aspect-ratio: 16 / 10; }
.tr-service-grid--hub .tr-service-card__body { padding: 24px 26px 28px; }
.tr-service-grid--hub .tr-service-card__title { font-size: clamp(1.375rem, 1.8vw, 1.625rem) !important; }
@media (max-width: 1024px) { .tr-service-grid--hub { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tr-service-grid--hub .tr-service-card, .tr-service-grid--hub .tr-service-card:is(:nth-child(-n+2), :nth-child(n+6)) { grid-column: auto; } }
@media (max-width: 640px) { .tr-service-grid--hub { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .tr-service-card { grid-template-columns: 1fr; } .tr-service-card__media { min-height: 200px; } }

/* --------------------------------------------------------------------------
   Cards (white cards with a yellow rule: "Why … choose us", SEO copy cards) + stats
   -------------------------------------------------------------------------- */
.tr-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.tr-cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tr-card { display: grid; align-content: start; gap: .7rem; padding: 26px 26px 28px; background: #fff; border-radius: var(--tr-r-card); box-shadow: 0 0 0 1px var(--tr-line); transition: transform .35s var(--tr-ease), box-shadow .35s var(--tr-ease); }
.tr-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--tr-line), var(--tr-shadow); }
.tr-card > * { margin: 0 !important; }
.tr-card h3 { font-size: 1.375rem; }
.tr-card--rule { box-shadow: 0 0 0 1px var(--tr-line); }
.tr-card--rule::before { content: ""; display: block; width: 32px; height: 4px; background: var(--tr-yellow); }
@media (max-width: 781px) { .tr-cards--two { grid-template-columns: 1fr; } }

.tr-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.tr-stat { display: grid; justify-items: center; min-width: 170px; padding: 16px 22px; background: #fff; border-radius: var(--tr-r-card); box-shadow: 0 0 0 1px var(--tr-line); text-align: center; font-size: .875rem; color: var(--tr-muted); margin: 0 !important; }
.tr-stat strong { display: block; font-family: var(--tr-display); font-size: 1.75rem; font-weight: 500; color: var(--tr-ink); line-height: 1.15; }

/* --------------------------------------------------------------------------
   Reviews widget (Elfsight / RealWorkLabs embeds)
   -------------------------------------------------------------------------- */
.tr-widget > * { max-width: var(--tr-wide); }
.tr-widget { padding-block: clamp(2.5rem, 5vw, 4rem); }

/* --------------------------------------------------------------------------
   Video (owner video, testimonials) + map in sections
   -------------------------------------------------------------------------- */
.tr-video { margin: 0; }
.tr-video video { width: 100%; height: auto; border-radius: var(--tr-r-media); background: #000; box-shadow: var(--tr-shadow); }
.tr-video-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.tr-video-group { display: grid; gap: 1.25rem; }
.tr-video-group > * { margin: 0 !important; }
.tr-video-group:last-child { grid-template-columns: 1fr 1fr; }
.tr-video-group:last-child > :first-child { grid-column: 1 / -1; }
@media (max-width: 860px) { .tr-video-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   About: owner block + areas
   -------------------------------------------------------------------------- */
.tr-owner { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; max-width: 960px !important; }
.tr-owner__img img { width: 100%; border-radius: var(--tr-r-media); box-shadow: 10px 10px 0 var(--tr-yellow); }
.tr-owner__body { display: grid; gap: .5rem; }
.tr-owner__body > * { margin: 0 !important; }
.tr-about-areas { display: grid; gap: 1.25rem; justify-items: center; text-align: center; }
.tr-about-areas > * { margin: 0 !important; }
.tr-about-areas h5 { font-size: 1.375rem; line-height: 1.6; color: var(--tr-yellow) !important; letter-spacing: .04em; }
@media (max-width: 760px) { .tr-owner { grid-template-columns: 1fr; } .tr-owner__media { max-width: 320px; } }

/* --------------------------------------------------------------------------
   Booking (book online, roof inspection)
   -------------------------------------------------------------------------- */
.tr-booking { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; max-width: 960px !important; background: #fff; border-radius: var(--tr-r-card); overflow: hidden; box-shadow: 0 0 0 1px var(--tr-line), var(--tr-shadow); }
.tr-booking__img img { width: 100%; height: 100% !important; object-fit: cover; }
.tr-booking__body { display: grid; gap: .8rem; align-content: center; padding: clamp(24px, 4vw, 44px); }
.tr-booking__body > * { margin: 0 !important; }
.tr-booking__meta { color: var(--tr-muted); }
@media (max-width: 760px) { .tr-booking { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Manufacturer logos (Carlisle, EverGuard, Versico) + partner sentence
   -------------------------------------------------------------------------- */
.tr-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px clamp(28px, 5vw, 64px); }
.tr-logos > * { margin: 0 !important; }
.tr-logos__img img { height: clamp(44px, 6vw, 72px); width: auto; max-width: 240px; object-fit: contain; }
.tr-logos__text { max-width: var(--tr-content) !important; text-align: center; }
.tr-logos__text > * { margin: 0 !important; }

/* Booking facts in the roof inspection hero ("1 hr", "$99", "Location 1" as on the Wix service page) */
.tr-booking__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; padding: 0 !important; margin: 0 !important; }
.tr-booking__facts li { margin: 0 !important; padding: 6px 14px; border-radius: 999px; background: rgb(255 255 255 / .12); color: #fff; font-size: .9375rem; }
.tr-contact-grid .tr-booking__body { align-content: start; }

/* Third-party widgets load after the page: reserve their space so the content below does not jump (CLS) */
/* Google Reviews = Trustindex shortcode (client request 2026-11-02); the Elfsight calculator stays */
.tr-widget #rwl-map:empty { min-height: 360px; }
.tr-widget #rwl-output:empty { min-height: 600px; }

/* RealWorkLabs builds its cards with fixed heights (review box 300px) and inherits the page font: at our 18px Jost
   the review text pushes the reviewer avatar out of the card. Its own scale (15px, tighter leading) fits the box. */
.tr-widget :is(#rwl-review-carousel, #rwl-map, #rwl-output) { font-size: 15px; line-height: 1.45; letter-spacing: 0; }
.tr-widget :is(#rwl-review-carousel, #rwl-map, #rwl-output) :is(p, span, div, a) { line-height: inherit; }

/* --------------------------------------------------------------------------
   Numbered process (Wix number badges + step text): cards on the yellow band
   -------------------------------------------------------------------------- */
.tr-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
	gap: clamp(14px, 2vw, 22px);
	counter-reset: none;
	max-width: var(--tr-wide) !important;
	margin-top: clamp(1.75rem, 3vw, 2.5rem) !important;
}
.tr-step {
	position: relative;
	display: grid;
	align-content: start;
	gap: 14px;
	margin: 0 !important;
	padding: clamp(20px, 2.2vw, 28px);
	background: #fff;
	border-radius: var(--tr-r-card);
	box-shadow: 0 0 0 1px rgb(18 18 18 / .08), 0 18px 36px -28px rgb(18 18 18 / .55);
	transition: transform .45s var(--tr-ease), box-shadow .45s var(--tr-ease);
}
.tr-step > * { margin: 0 !important; }
.tr-step:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgb(18 18 18 / .12), 0 26px 44px -28px rgb(18 18 18 / .6); }
.tr-step__num {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--tr-ink);
	color: var(--tr-yellow);
	font-family: var(--tr-display);
	font-size: 1.375rem;
	line-height: 1;
}
.tr-step__text { font-size: .9375rem; line-height: 1.65; color: var(--tr-ink); }
.tr-steps__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 22px; margin-top: clamp(1.75rem, 3vw, 2.5rem) !important; }
.tr-steps__cta > * { margin: 0 !important; }
.tr-steps__call a { font-weight: 500; }
@media (min-width: 1100px) { .tr-steps:has(> .tr-step:nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* --------------------------------------------------------------------------
   Comparison tables (Wix box grids rebuilt as real tables) on the paper band
   -------------------------------------------------------------------------- */
.tr-prose--tables { max-width: var(--tr-content); margin-inline: auto !important; }
.tr-prose--tables > h3 { margin-top: 1.6rem !important; }
.tr-prose--tables .tr-table { margin: .4rem 0 0 !important; border-radius: var(--tr-r-card); overflow: hidden; box-shadow: 0 0 0 1px var(--tr-line), 0 18px 36px -30px rgb(18 18 18 / .45); background: #fff; }
.tr-prose--tables .tr-table table { font-size: .9375rem; }
.tr-prose--tables .tr-table :is(th, td) { padding: 14px 18px; border: 0; border-bottom: 1px solid var(--tr-line); }
.tr-prose--tables .tr-table thead th { background: var(--tr-ink); color: #fff; font-weight: 500; letter-spacing: .02em; }
.tr-prose--tables .tr-table tbody tr:last-child td { border-bottom: 0; }
.tr-prose--tables .tr-table tbody td:first-child { font-weight: 500; }
.tr-prose--tables .tr-table tbody tr:nth-child(even) td { background: var(--tr-paper); }
/* phones: each row becomes a card (first cell = title, other cells labelled with their column header) */
@media (max-width: 640px) {
	.tr-prose--tables .tr-table.is-labelled { overflow: visible; box-shadow: none; background: none; border-radius: 0; }
	.tr-prose--tables .tr-table.is-labelled table { min-width: 0; }
	.tr-prose--tables .tr-table.is-labelled thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.tr-prose--tables .tr-table.is-labelled tbody { display: grid; gap: 10px; }
	.tr-prose--tables .tr-table.is-labelled tr { display: grid; gap: 8px; padding: 16px 18px; background: #fff !important; border-radius: var(--tr-r-card); box-shadow: 0 0 0 1px var(--tr-line), inset 4px 0 0 var(--tr-yellow); }
	.tr-prose--tables .tr-table.is-labelled td { display: grid; gap: 2px; padding: 0; border: 0; background: none !important; }
	.tr-prose--tables .tr-table.is-labelled td:first-child { font-family: var(--tr-display); font-size: 1.0625rem; }
	.tr-prose--tables .tr-table.is-labelled td:not(:first-child)::before { content: attr(data-label); font-size: .75rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--tr-muted); }
}

/* ==========================================================================
   2026-11-02 layout round (nav pages): intro, article sections, feature lines, photo cards,
   numbered services, highlights band, topic cards, places, CTA panel. Same palette and type.
   ========================================================================== */

.tr-photo-card__body, .tr-num-card, .tr-sub-card, .tr-place__body, .tr-why-item, .tr-editorial__body, .tr-intro__rest { grid-template-columns: minmax(0, 1fr); }

/* long sentence-style H2s (Wix taglines) */
.tr-h--long { font-size: clamp(1.5rem, 2.5vw, 2.125rem) !important; line-height: 1.25 !important; letter-spacing: -.005em; }
.tr-head > .tr-h--long { max-width: 30ch; }

/* --- Intro under the hero: lead paragraph + supporting copy ------------------------------------------------ */
.tr-section--intro { padding-bottom: clamp(2.75rem, 5vw, 4.5rem); }
.tr-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.tr-intro > * { margin: 0 !important; }
.tr-intro:not(:has(.tr-intro__rest)) { grid-template-columns: minmax(0, 900px); }
.tr-lead-p { font-family: var(--tr-display); font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.5; color: var(--tr-ink); }
.tr-lead-p::before { content: ""; display: block; width: 56px; height: 4px; margin-bottom: 1.25rem; background: var(--tr-yellow); }
.tr-intro__rest { display: grid; gap: 1.1rem; padding-top: calc(4px + 1.25rem); }
.tr-intro__rest > * { margin: 0 !important; }
@media (max-width: 860px) { .tr-intro { grid-template-columns: 1fr; } .tr-intro__rest { padding-top: 0; } }

/* --- Article sections: title column (sticky) + copy column; consecutive ones share hairlines -------------- */
.tr-section--editorial { padding-block: clamp(3rem, 6vw, 5.5rem); }
.tr-section--editorial + .tr-section--editorial { padding-top: 0; }
.tr-section--editorial + .tr-section--editorial > .tr-editorial { padding-top: clamp(3rem, 6vw, 5.5rem); border-top: 1px solid var(--tr-line); }
.tr-editorial { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem clamp(2rem, 6vw, 6rem); align-items: start; }
.tr-editorial > * { margin: 0 !important; }
.tr-editorial__head { position: sticky; top: 120px; }
.tr-editorial__head > * { margin: 0 !important; }
.tr-editorial__head h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.15; }
.tr-editorial__head h2.tr-h--long { font-size: clamp(1.5rem, 2.3vw, 1.875rem) !important; }
.tr-editorial__head h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: .55em; background: var(--tr-yellow); }
.tr-editorial__body { display: grid; gap: 1.15rem; max-width: 68ch; }
.tr-editorial__body > * { margin: 0 !important; }
.tr-editorial__body h3 { font-size: var(--wp--preset--font-size--heading-xs); letter-spacing: .04em; margin-top: .4rem !important; }
.tr-editorial--intro .tr-editorial__body > p:first-child { font-size: 1.1875rem; line-height: 1.6; color: var(--tr-ink); }
.tr-editorial__body .tr-towns { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.tr-editorial__body .tr-checklist:has(li:nth-child(6)) { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .8rem 1.5rem; }
.tr-editorial__body .tr-checklist:has(li:nth-child(6)) li { margin: 0 !important; }
@media (max-width: 900px) {
	.tr-editorial { grid-template-columns: 1fr; }
	.tr-editorial__head { position: static; }
}

/* --- Feature lines ("Title - sentence" bullets / paragraphs): ruled stack with a check tile --------------- */
.tr-feats { display: grid; gap: 0; list-style: none; padding: 0 !important; margin: 0 !important; }
.tr-feats > :is(li, .tr-feat) { position: relative; display: block; margin: 0 !important; padding: 1.05rem 0 1.05rem 3.1rem; border-top: 1px solid var(--tr-line); font-family: var(--tr-body); font-size: 1rem; font-weight: 400; line-height: 1.6; color: inherit; letter-spacing: 0; }
.tr-feats > :is(li, .tr-feat):last-child { border-bottom: 1px solid var(--tr-line); }
.tr-feats > :is(li, .tr-feat)::before { content: ""; position: absolute; left: 0; top: 1.1rem; width: 32px; height: 32px; border-radius: 9px; background: var(--tr-yellow) var(--tr-check) center / 16px no-repeat; }
.tr-feats > li + li { margin-top: 0 !important; }
.tr-feat__sep { display: none; }
.tr-feat__title { display: block; margin-bottom: .2rem; font-family: var(--tr-display); font-size: 1.1875rem; font-weight: 500; line-height: 1.3; color: var(--tr-ink); }
.tr-feat__text { display: block; }
.tr-section--dark .tr-feats > :is(li, .tr-feat) { border-color: rgb(255 255 255 / .14); }
.tr-section--dark .tr-feat__title { color: #fff; }

/* --- Photo cards (benefits, process): photo on top, label, copy -------------------------------------------- */
.tr-photo-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2vw, 24px); }
.tr-photo-card { display: grid; grid-template-rows: auto 1fr; background: #fff; border-radius: var(--tr-r-lg); overflow: hidden; box-shadow: 0 0 0 1px rgb(0 0 0 / .06), 0 18px 40px -30px rgb(0 0 0 / .45); transition: transform .25s var(--tr-ease-out), box-shadow .25s var(--tr-ease-out); }
.tr-photo-card > * { margin: 0 !important; }
.tr-photo-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.tr-photo-card__media > * { margin: 0 !important; height: 100%; }
.tr-photo-card__img img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .6s var(--tr-ease-out); }
.tr-photo-card__body { display: grid; gap: .6rem; align-content: start; padding: 22px 24px 26px; }
.tr-photo-card__body > * { margin: 0 !important; }
.tr-photo-card__title { font-family: var(--tr-display); font-size: 1.0625rem; font-weight: 500; letter-spacing: .06em; color: var(--tr-ink); }
@media (hover: hover) and (pointer: fine) {
	.tr-photo-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgb(0 0 0 / .08), 0 26px 48px -30px rgb(0 0 0 / .5); }
	.tr-photo-card:hover .tr-photo-card__img img { transform: scale(1.04); }
}
.tr-photo-cards--steps { counter-reset: tr-step; }
.tr-photo-cards--steps .tr-photo-card__media::after { counter-increment: tr-step; content: "Step " counter(tr-step, decimal-leading-zero); position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: var(--tr-yellow); color: var(--tr-ink); font-size: .8125rem; font-weight: 600; letter-spacing: .04em; }

/* --- Numbered services / process steps ----------------------------------------------------------------------- */
.tr-num-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: clamp(14px, 1.8vw, 20px); }
.tr-num-grid--count { counter-reset: tr-num; }
.tr-num-card { display: grid; align-content: start; gap: .8rem; margin: 0 !important; padding: 28px 26px 30px; background: #fff; border-radius: var(--tr-r-lg); box-shadow: 0 0 0 1px rgb(0 0 0 / .06), 0 18px 40px -30px rgb(0 0 0 / .45); transition: transform .25s var(--tr-ease-out), box-shadow .25s var(--tr-ease-out); }
.tr-num-card > * { margin: 0 !important; }
.tr-num-card__num, .tr-num-card--count::before {
	justify-self: start;
	font-family: var(--tr-display);
	font-size: 3.25rem;
	font-weight: 400;
	line-height: .95;
	color: var(--tr-ink);
	padding: 0 .12em;
	background: linear-gradient(transparent 58%, var(--tr-yellow) 58%, var(--tr-yellow) 92%, transparent 92%);
}
.tr-num-card--count::before { counter-increment: tr-num; content: counter(tr-num, decimal-leading-zero); }
.tr-num-card__title { font-size: 1.25rem !important; line-height: 1.25 !important; letter-spacing: .02em; }
@media (hover: hover) and (pointer: fine) { .tr-num-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgb(0 0 0 / .08), 0 26px 48px -30px rgb(0 0 0 / .5); } }

/* --- Highlights band (UPPERCASE label + sentence pairs) on black ------------------------------------------- */
.tr-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.tr-feature { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: .5rem; margin: 0 !important; padding: 28px 26px 30px 84px; border-radius: var(--tr-r-lg); background: #fff; box-shadow: 0 0 0 1px var(--tr-line); }
.tr-feature > * { margin: 0 !important; }
.tr-feature::before { content: ""; position: absolute; left: 26px; top: 28px; width: 40px; height: 40px; border-radius: 10px; background: var(--tr-yellow) var(--tr-check) center / 20px no-repeat; }
.tr-feature__title { font-family: var(--tr-display); font-size: 1rem; font-weight: 500; letter-spacing: .08em; color: var(--tr-ink); }
.tr-feature__text { line-height: 1.6; }

/* --- Topic cards (H3 + copy groups inside a long section) ---------------------------------------------------- */
.tr-sub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.tr-sub-card { display: grid; align-content: start; gap: .8rem; margin: 0 !important; padding: 28px 28px 30px; background: #fff; border-radius: var(--tr-r-lg); box-shadow: 0 0 0 1px var(--tr-line); }
.tr-sub-card > * { margin: 0 !important; }
.tr-sub-card__title { font-size: 1.3125rem !important; line-height: 1.25 !important; }
.tr-sub-card__title::before { content: ""; display: block; width: 32px; height: 4px; margin-bottom: .8rem; background: var(--tr-yellow); }
.tr-sub-card p { font-size: .96875rem; line-height: 1.65; }
.tr-section--paper:has(> .tr-sub-grid) + .tr-section--paper:has(> .tr-sub-grid) { padding-top: 0; }

/* --- Places (Things to do): map + name + copy ---------------------------------------------------------------- */
.tr-places { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.tr-place { display: grid; grid-template-rows: auto 1fr; margin: 0 !important; background: #fff; border-radius: var(--tr-r-lg); overflow: hidden; box-shadow: 0 0 0 1px var(--tr-line); }
.tr-place > * { margin: 0 !important; }
.tr-place__map .tr-map { min-height: 230px; border-radius: 0; }
.tr-place__body { display: grid; gap: .7rem; align-content: start; padding: 22px 26px 28px; }
.tr-place__body > * { margin: 0 !important; }
.tr-place__title { font-size: 1.25rem !important; line-height: 1.3 !important; }
.tr-place__body p { font-size: .96875rem; line-height: 1.65; }

/* --- CTA panel ("Lets Get Started!") ------------------------------------------------------------------------- */
.tr-cta-panel { position: relative; display: grid; gap: 1rem; justify-items: start; padding: clamp(2rem, 5vw, 4rem); background: var(--tr-ink); color: rgb(255 255 255 / .85); border-radius: 20px; overflow: hidden; }
.tr-cta-panel > * { margin: 0 !important; max-width: 720px; position: relative; }
.tr-cta-panel h2 { color: #fff; }
.tr-cta-panel h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: .55em; background: var(--tr-yellow); }
.tr-cta-panel .wp-block-button:not([class*="is-style-"]) .wp-block-button__link.tr-btn { background: var(--tr-yellow); color: var(--tr-ink); box-shadow: inset 0 0 0 2px var(--tr-yellow); }
.tr-cta-panel .wp-block-button:not([class*="is-style-"]) .wp-block-button__link.tr-btn:hover { background: transparent; color: var(--tr-yellow); }
.tr-cta-panel :where(p) a { color: #fff; }

/* map placed on its own (Amenity Map) */
.tr-prose > .wp-block-html .tr-map, .tr-section--narrow .tr-map { box-shadow: 0 0 0 1px var(--tr-line); }
