/*
Theme Name: SiteSync Regancy
Description: Lightweight one-page theme for the Regancy Roofing sites, copying the warringtonroofers.co.uk design without a page builder. Content comes from the SiteSync plugin; this theme only renders it.
Version: 1.0.5
Requires at least: 6.2
Requires PHP: 7.4
Author: SiteSync
Text Domain: sitesync-regancy
Update URI: false
*/

/* Colours from the Warrington design. primary_color / accent_color in site.json override
   the navy and the gold, so another brand (e.g. Just Paving) can reuse the theme.
   The live sites render in Helvetica/Arial, so the theme uses system fonts: no font files. */
:root {
	--navy: var(--sitesync-primary, #182933);
	--gold: var(--sitesync-accent, #d0ad6d);
	--slate: #1f3e4e;
	--light: #fcfcfc;
	--ink: #000;
	--grey: #636363;
	--wrap: 1360px;
	--radius: 12px;
	--font: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--gutter: clamp(1rem, 4vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 112.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 1rem/1.5 var(--font); color: var(--navy); background: var(--light); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.1; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: .5rem; left: .5rem; width: auto; height: auto; clip: auto; z-index: 100; background: #fff; color: var(--navy); padding: .5rem 1rem; }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* Buttons: square gold blocks, as on the live site */
.button { display: inline-block; padding: .75em 1.35em; border: 0; border-radius: 2px; background: var(--gold); color: var(--ink); font: 400 .875rem/1.2 var(--font); text-transform: uppercase; text-decoration: none; cursor: pointer; transition: filter .2s ease; }
.button:hover, .button:focus-visible { filter: brightness(1.08); }

/* Headings used across sections */
.eyebrow { margin: 0 0 .35em; font-size: 1.05rem; font-weight: 700; line-height: 1.2; text-transform: uppercase; color: var(--slate); }
.title { font-size: clamp(1.75rem, 3vw, 2.1rem); text-transform: uppercase; color: var(--navy); }
.divider { width: min(460px, 60%); height: 2px; margin: .3rem auto 1.6rem; border: 0; background: var(--gold); }

/* The wide arrow at the top of a section, in the colour of the section above
   (the Elementor "arrow" shape divider on the Warrington site). */
.notch { position: relative; }
.notch::before { content: ""; position: absolute; top: -1px; left: 50%; z-index: 2; width: 166px; height: 26px; background: var(--notch, var(--navy)); clip-path: polygon(0 0, 100% 0, 50% 100%); transform: translateX(-50%); }
.notch--navy { --notch: var(--navy); }
.notch--gold { --notch: var(--gold); }
.notch--light { --notch: #fff; }

/* Background image layers */
.has-bg { position: relative; isolation: isolate; }
.bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.bg img { width: 100%; height: 100%; object-fit: cover; }
.bg::after { content: ""; position: absolute; inset: 0; }

/* Ticked lists */
.ticks { list-style: none; display: grid; gap: 1.1rem; margin: 1.5rem 0; font-size: .9rem; }
.ticks li { position: relative; display: flex; align-items: center; min-height: 22px; padding-left: 2.1rem; }
.ticks .icon { position: absolute; left: 0; top: 50%; width: 22px; height: 22px; color: var(--gold); transform: translateY(-50%); }

/* ---------- Header ---------- */
.masthead { position: relative; isolation: isolate; background: #fff; }
.masthead .bg img { opacity: .15; object-position: right center; }
.masthead .wrap { display: flex; align-items: center; gap: 1rem; min-height: 94px; padding: 8px 0; }
.masthead__logo { margin-right: auto; }
.masthead__logo img { width: 230px; max-width: 60vw; }
.masthead__contact { display: flex; gap: 1rem; margin-right: 5rem; font-size: .9rem; }
.masthead__contact a { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); text-decoration: none; }
.masthead__contact .icon { width: 1.15em; height: 1.15em; color: var(--gold); }
.masthead .button { padding: .75em 2.5em; border-radius: 25px; color: #fff; font-size: .9rem; text-transform: none; }

/* Tablets and phones: one compact sticky bar with the logo, call, email and menu buttons. */
.masthead__actions { display: none; }
@media (max-width: 1024px) {
	html { scroll-padding-top: 76px; }
	.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 14px rgb(0 0 0 / .12); }
	.masthead .bg { display: none; }
	.masthead .wrap { min-height: 68px; gap: .5rem; padding: 10px 0; }
	.masthead__logo img { display: block; width: 170px; max-width: 45vw; }
	.masthead__contact, .masthead .button, .navbar { display: none; }
	.masthead__actions { display: flex; align-items: center; gap: .5rem; }
	.icon-button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #f1f3f5; color: var(--navy); text-decoration: none; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
	.icon-button .icon { width: 18px; height: 18px; }
	.icon-button--call { background: var(--gold); color: #fff; }
	.icon-button--menu { border-radius: 10px; background: var(--navy); color: #fff; list-style: none; }
	.icon-button--menu::-webkit-details-marker { display: none; }
	.icon-button--menu .icon:last-child, .nav-toggle[open] .icon-button--menu .icon:first-child { display: none; }
	.nav-toggle[open] .icon-button--menu .icon:last-child { display: block; }
	.nav-toggle nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); box-shadow: 0 12px 20px rgb(0 0 0 / .2); }
	.nav-toggle .menu { flex-direction: column; flex-wrap: nowrap; padding: .4rem 0 .8rem; }
	.nav-toggle .menu a { padding: .85rem var(--gutter); border-top: 1px solid rgb(255 255 255 / .08); font-size: 1rem; text-align: left; }
}

.navbar { position: sticky; top: 0; z-index: 50; background: var(--navy); }
.navbar .wrap { display: flex; align-items: center; justify-content: center; min-height: 42px; }
.menu { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; }
.menu a { display: block; padding: .6rem 1.2rem; color: #fff; text-decoration: none; font-size: .9rem; transition: color .2s ease; }
.menu a:hover, .menu a:focus-visible { color: var(--gold); }

/* ---------- Hero with quote form ---------- */
.section--hero-quote { color: #fff; background: var(--ink); }
.section--hero-quote .bg::after { background: linear-gradient(75deg, var(--navy) 25%, var(--slate) 100%); opacity: .65; }
.hero { display: grid; gap: 2.5rem; align-items: center; min-height: 440px; padding: 2.2rem 0; }
@media (min-width: 1025px) { .hero { grid-template-columns: 1.15fr .85fr; gap: 3.5rem; } }
.hero > * { min-width: 0; }
.hero__text { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__logo img { width: 165px; margin-bottom: .6rem; }
.hero__brand { margin: 0; font-size: clamp(2.2rem, 4.2vw, 3.1rem); font-weight: 700; line-height: 1.1; color: var(--light); }
.hero h1 { margin: .55em 0 .8em; font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 300; letter-spacing: 3px; line-height: 1.2; color: var(--gold); }
.hero__intro { max-width: 680px; font-size: 1rem; }
.ratings { margin-top: 1.4rem; }
.ratings__tagline { margin: 0 0 .7rem; font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.ratings__cards { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.rating { position: relative; display: flex; align-items: center; gap: .7rem; width: 218px; padding: 1rem .9rem .8rem; overflow: hidden; border-radius: 8px; background: #f6f7f9; color: var(--ink); text-align: left; text-decoration: none; box-shadow: 0 4px 14px rgb(0 0 0 / .25); transition: transform .2s ease; }
.rating::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--gold); }
.rating--google::before { background: linear-gradient(90deg, #4285f4, #ea4335, #fbbc05, #34a853); }
.rating--checkatrade::before { background: linear-gradient(90deg, #1c3f94, #e5202e); }
.rating:hover, .rating:focus-visible { transform: translateY(-2px); }
.rating__logo { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgb(0 0 0 / .15); flex: none; }
.rating__logo svg { width: 20px; height: 20px; }
.rating__body { display: flex; flex-direction: column; }
.rating__platform { font-size: .55rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #555; }
.rating__row { display: flex; align-items: center; gap: .35rem; }
.rating__score { font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.rating__score small { font-size: .9rem; font-weight: 400; color: #555; }
.rating__stars { color: #f5b301; font-size: .75rem; letter-spacing: .05em; }
.rating__count { font-size: .6rem; color: #555; }

.quote-box h2 { margin-bottom: .8rem; font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 300; letter-spacing: 3px; text-align: center; }
.section--hero-quote .quote-box { padding: 1rem 1.4rem 1.4rem; border-radius: var(--radius); background: rgb(24 41 51 / .92); }
.section--hero-quote .quote-box h2 { color: var(--gold); }

/* Forms (markup from the SiteSync plugin) */
.sitesync-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .55rem; }
.sitesync-field { margin: 0 0 .55rem; }
.sitesync-field--textarea, .sitesync-field--select, .sitesync-submit, .sitesync-form .cf-turnstile { grid-column: 1 / -1; }
.sitesync-field label { display: block; margin-bottom: .2rem; font-size: .8rem; }
.sitesync-field label span { color: #e2401c; }
.sitesync-field input, .sitesync-field textarea, .sitesync-field select { width: 100%; min-height: 31px; padding: .35rem .75rem; border: 1px solid #818a91; border-radius: 0; background: #fff; color: var(--ink); font: 400 .8rem/1.4 var(--font); }
.sitesync-field textarea { height: 58px; }
.sitesync-field input::placeholder, .sitesync-field textarea::placeholder { color: #7a7a7a; }
.sitesync-field input:focus, .sitesync-field textarea:focus, .sitesync-field select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.sitesync-submit .button { width: 100%; padding: .6em; border-radius: 3px; background: #fff; color: var(--ink); font-size: .8rem; text-transform: none; }
.sitesync-form-message { padding: 1rem 1.2rem; border-radius: 6px; font-weight: 700; margin-bottom: 1rem; }
.sitesync-form-message--sent { background: #e7f6ec; color: #135c2d; }
.sitesync-form-message--error { background: #fdecea; color: #8a1c13; }
@media (max-width: 560px) { .sitesync-form { grid-template-columns: 1fr; } }

/* ---------- Call-to-action bar ---------- */
.section--cta { background: var(--navy); color: var(--light); }
.cta { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; min-height: 110px; padding: 1.4rem 0; text-align: center; }
.cta h2 { margin: 0; font-size: clamp(1rem, 1.7vw, 1.15rem); font-weight: 400; letter-spacing: 2px; text-transform: uppercase; }
.cta p { margin: 0; }
.cta__link { display: inline-flex; align-items: center; gap: .9rem; padding: .3rem 1.1rem .5rem; border-bottom: 1px solid currentColor; color: #fff; font-size: .9rem; text-transform: uppercase; text-decoration: none; }
.cta__link .icon { width: .7em; transition: transform .2s ease; }
.cta__link:hover .icon, .cta__link:focus-visible .icon { transform: translateX(3px); }

/* ---------- About, with the reviews widget ---------- */
.section--about-reviews { padding: 3.7rem 0 3.5rem; background: #fff; text-align: center; }
.section--about-reviews .bg img { opacity: .6; }
.about .eyebrow { margin-bottom: .1em; font-size: 1.25rem; color: var(--navy); text-transform: uppercase; }
.about .title { color: var(--slate); }
.about__text { font-size: 1rem; }
.about__text p { margin-bottom: .8em; }
.about .button { margin-top: .9rem; }
.reviews { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 1.5rem; align-items: center; margin-top: 2.5rem; color: var(--ink); }
.reviews__summary { text-align: center; }
.reviews__verdict { display: block; font-size: 1.35rem; font-weight: 800; letter-spacing: .02em; }
.reviews__count { margin: .35rem 0 .45rem; font-size: .9rem; }
.reviews__google { display: inline-block; font: 700 1.55rem/1 Arial, sans-serif; letter-spacing: -.02em; text-decoration: none; }
.g-blue { color: #4285f4; } .g-red { color: #ea4335; } .g-yellow { color: #fbbc05; } .g-green { color: #34a853; }
.stars { display: inline-flex; gap: 1px; font-size: 1.05rem; line-height: 1; }
.stars__on { color: #f6bb06; } .stars__off { color: #ccc; }
.stars--lg { font-size: 1.7rem; margin-top: .25rem; }
.reviews__slider { position: relative; min-width: 0; }
.reviews__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2rem) / 3); gap: 1rem; align-items: start; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.reviews__track::-webkit-scrollbar { display: none; }
.review { display: flex; flex-direction: column; align-items: flex-start; scroll-snap-align: start; padding: 1.1rem 1.2rem 1rem; border-radius: 8px; background: #f4f4f4; text-align: left; }
.review__head { display: flex; align-items: center; gap: .65rem; width: 100%; margin-bottom: .55rem; }
.review__avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 1.05rem; }
.review__name { flex: 1; min-width: 0; font-size: .95rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.review__source { flex: none; width: 20px; height: 20px; }
.review__source svg { width: 20px; height: 20px; }
.review__text { margin-top: .6rem; font-size: .9rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review__text p { margin: 0 0 .6em; }
.review.is-open .review__text { display: block; }
.review__more { margin-top: .45rem; padding: 0; border: 0; background: none; color: var(--grey); font: inherit; font-size: .85rem; cursor: pointer; }
.review__more:hover { text-decoration: underline; }
.reviews__nav { position: absolute; top: 50%; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; padding: 0 0 3px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.6rem; line-height: 1; box-shadow: 0 1px 6px rgb(0 0 0 / .25); cursor: pointer; transform: translateY(-50%); }
.reviews__nav--prev { left: -14px; }
.reviews__nav--next { right: -14px; }
.reviews__nav:disabled { opacity: .35; cursor: default; }
@media (max-width: 1023px) {
	.reviews__track { grid-auto-columns: calc((100% - 1rem) / 2); }
}
@media (max-width: 767px) {
	.reviews { grid-template-columns: 1fr; }
	.reviews__track { grid-auto-columns: 100%; }
	.reviews__nav--prev { left: -8px; }
	.reviews__nav--next { right: -8px; }
}

/* ---------- Services intro ---------- */
.section--services-intro { padding: 1.3rem 0 1.6rem; background: var(--gold); color: var(--ink); text-align: center; }
.services-intro h2 { margin-bottom: .3em; font-size: clamp(1.6rem, 3.6vw, 2.75rem); color: var(--navy); text-transform: uppercase; }
.services-intro p { font-size: .8rem; }

/* ---------- Service rows ---------- */
.section--service-row { padding: 3.6rem 0 3.4rem; background: var(--light); }
.section--service-row .bg img { opacity: .13; }
.section--service-row.is-dark { background: var(--navy); color: var(--light); }
.section--service-row.is-dark .bg img { opacity: .07; }
.service { display: grid; gap: 2rem 3rem; align-items: center; }
@media (min-width: 1025px) {
	.service { grid-template-columns: 1fr 1fr; }
}
/* Photo-left rows show the photo first on phones too. */
.service--image-left .service__media { order: -1; }
.service .eyebrow { color: var(--slate); }
.is-dark .service .eyebrow { color: var(--gold); }
.service h2 { font-size: clamp(1.4rem, 2.3vw, 1.6rem); text-transform: uppercase; }
.service__text > p, .service__text > div p { font-size: .875rem; line-height: 1.55; }
.service__media img { width: 100%; border: 3px solid var(--navy); border-radius: var(--radius); box-shadow: 0 6px 18px rgb(0 0 0 / .3); }
.is-dark .service__media img { border-color: var(--gold); }

/* ---------- Why us: text on the left, reasons card on the right ---------- */
.section--why-us { padding: 3.2rem 0 2.4rem; background: #fff; }
.section--why-us .bg img { opacity: .45; object-position: right center; }
.why-us { display: grid; gap: 2rem 2.5rem; align-items: start; }
@media (min-width: 1025px) { .why-us { grid-template-columns: 1fr 1fr; } }
.why-us__text .title { margin-bottom: .6em; }
.why-us__text p { font-size: 1rem; margin-bottom: .8em; }
.why-us__text p + .title { margin-top: .4em; }
.reasons { padding: 1.9rem 2rem 2rem 2.9rem; border-radius: var(--radius); background: rgb(24 41 51 / .96); color: #fff; box-shadow: 0 6px 20px rgb(0 0 0 / .2); }
.reasons h3 { margin-bottom: 1rem; font-size: clamp(1.25rem, 2vw, 1.5rem); text-transform: uppercase; }
.reasons__list { list-style: none; display: grid; gap: 1.1rem; }
.reason { display: flex; gap: 1rem; }
.reason .icon { width: 30px; height: 30px; margin-top: .1rem; color: var(--gold); }
.reason h4 { margin-bottom: .3em; font-size: 1rem; color: var(--gold); text-transform: uppercase; }
.reason p { font-size: .7rem; line-height: 1.55; }

/* ---------- Projects gallery ---------- */
.section--projects { background: var(--light); color: var(--light); }
.projects__intro { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 235px; padding: 2.5rem 0 2rem; text-align: center; }
.section--projects .bg::after { background: #0f1519; opacity: .9; }
.projects__intro h2 { margin-bottom: .25em; font-size: clamp(1.75rem, 3vw, 2.1rem); color: var(--light); text-transform: uppercase; }
.projects__intro .divider { margin-bottom: 1.2rem; }
.projects__intro p { font-size: clamp(1rem, 1.6vw, 1.15rem); }
.projects__grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding-bottom: 4rem; }
@media (min-width: 1025px) { .projects__grid { grid-template-columns: repeat(4, 1fr); } }
.projects__link { display: block; overflow: hidden; background: #000; cursor: zoom-in; }
.projects__grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .35s ease, opacity .35s ease; }
.projects__link:hover img, .projects__link:focus-visible img { transform: scale(1.05); opacity: .85; }

/* Lightbox for the project photos */
.lightbox { width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(10 14 18 / .94); color: #fff; }
.lightbox::backdrop { background: transparent; }
.lightbox__figure { display: grid; place-items: center; align-content: center; gap: .8rem; height: 100%; margin: 0; padding: 4rem 5rem 2.5rem; }
.lightbox__image { max-width: 100%; max-height: calc(100dvh - 8rem); object-fit: contain; box-shadow: 0 10px 40px rgb(0 0 0 / .5); user-select: none; }
.lightbox__count { font-size: .8rem; letter-spacing: .1em; opacity: .75; }
.lightbox__button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / .12); color: #fff; cursor: pointer; transition: background-color .2s ease; }
.lightbox__button:hover, .lightbox__button:focus-visible { background: var(--gold); }
.lightbox__button .icon { width: 18px; height: 18px; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 1rem; }
.lightbox__prev .icon { transform: scaleX(-1); }
.lightbox__next { right: 1rem; }
html.has-lightbox { overflow: hidden; }
@media (max-width: 767px) {
	.lightbox__figure { padding: 4rem .5rem 5.5rem; }
	.lightbox__image { max-height: calc(100dvh - 10rem); }
	.lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; transform: none; }
	.lightbox__prev { left: calc(50% - 60px); }
	.lightbox__next { right: calc(50% - 60px); }
}

/* ---------- Areas we cover: map on the left ---------- */
.section--areas-map { padding: 3.4rem 0 3.6rem; background: var(--light); }
.areas { display: grid; gap: 2.5rem 3.5rem; align-items: start; }
@media (min-width: 1025px) {
	.areas { grid-template-columns: 1fr 1fr; }
	.areas__map { order: -1; }
}
.areas .eyebrow { font-size: 1.1rem; color: var(--navy); }
.areas .title { font-size: clamp(2rem, 4.3vw, 3.5rem); }
.areas p { font-size: .8rem; }
.areas__list { list-style: none; display: flex; flex-wrap: wrap; gap: .15rem 1rem; margin: 1.2rem 0 1.4rem; font-size: .8rem; }
.areas__list li { display: flex; align-items: center; gap: .45rem; }
.areas__list .icon { width: .75em; color: var(--gold); }
.areas__map iframe { display: block; width: 100%; height: 450px; border: 3px solid var(--navy); border-radius: 10px; box-shadow: 0 0 10px rgb(0 0 0 / .5); }
@media (max-width: 767px) { .areas__map iframe { height: 380px; } }

/* ---------- Contact ---------- */
.section--contact { position: relative; padding: 3.2rem 0 3.8rem; background: var(--gold); color: var(--navy); }
.section--contact::after { content: ""; position: absolute; bottom: -1px; left: 50%; width: 166px; height: 26px; background: var(--navy); clip-path: polygon(50% 0, 100% 100%, 0 100%); transform: translateX(-50%); }
.contact { display: grid; gap: 2.5rem 3rem; align-items: start; }
@media (min-width: 1025px) { .contact { grid-template-columns: 1fr 1fr; } }
.contact .title { margin: .5rem 0 .8em; }
.contact__text p { font-size: 1rem; }
.contact__details { list-style: none; display: grid; gap: .5rem; margin: 1rem 0 1.3rem; }
.contact__details a { display: inline-flex; align-items: center; gap: .8rem; color: var(--navy); font: 400 clamp(1.05rem, 2.4vw, 1.75rem)/1.3 var(--font); text-decoration: none; text-transform: uppercase; overflow-wrap: anywhere; }
.contact__details .icon { width: 1.4em; height: 1.4em; }
.contact .quote-box { padding: 1rem 1.2rem 1.2rem; border: 3px solid var(--navy); border-radius: var(--radius); background: linear-gradient(180deg, #e9dfcc 0%, #b69a6a 55%, #5d5039 100%); box-shadow: 0 6px 18px rgb(0 0 0 / .3); }
.contact .quote-box h2 { color: var(--navy); text-transform: uppercase; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--light); font-size: .8rem; }
.footer { display: grid; gap: 2.5rem; padding: 3.2rem 0 4.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1025px) { .footer { grid-template-columns: 1.15fr 1fr 1.2fr .9fr; } }
.footer h2 { margin-bottom: .9rem; font-size: 1.25rem; color: var(--gold); }
.footer__logo img { width: 210px; margin-bottom: 1.2rem; }
.footer__text { font-size: .75rem; line-height: 1.55; }
.footer ul { list-style: none; display: grid; gap: .45rem; }
.footer a, .footer li > span { display: inline-flex; align-items: center; gap: .55rem; color: var(--light); text-decoration: none; }
.footer a:hover, .footer a:focus-visible { color: var(--gold); }
.footer .icon { color: var(--gold); }
.footer .icon--circle { width: .6em; height: .6em; }
.footer__badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.footer__badges img { width: 124px; padding: .6rem .5rem; border-radius: 10px; background: #fff; }
.footer__accreditations img { width: 140px; }
.copyright { background: var(--gold); color: var(--navy); text-align: center; font-size: .8rem; padding: .7rem 0; }
.copyright p { margin: 0; }

/* Back to top */
.to-top { position: fixed; right: 1.6rem; bottom: 1.6rem; z-index: 60; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgb(0 0 0 / .55); color: #fff; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; }
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top .icon { width: 16px; height: 16px; }

/* ---------- Phones: everything centred and larger, as on the live mobile layout ---------- */
@media (max-width: 767px) {
	html { font-size: 100%; }
	.notch::before { width: 34px; height: 30px; }
	.section--contact::after { width: 34px; height: 30px; }

	.masthead .wrap { min-height: 62px; }
	.masthead__logo img { width: 150px; }

	.hero { gap: 1.6rem; padding: 1.8rem 0 1rem; }
	.hero__logo img { width: 200px; }
	.hero__brand { max-width: 300px; font-size: 2.3rem; }
	.hero h1 { margin: .8em 0 .9em; font-size: 1.2rem; }
	.hero__intro { font-size: 1.05rem; line-height: 1.6; }
	.ratings { width: 100%; }
	.ratings__cards { flex-wrap: nowrap; gap: .6rem; }
	.rating { flex: 1 1 0; min-width: 0; gap: .6rem; padding: .9rem .7rem .75rem; }
	.rating__logo { width: 34px; height: 34px; border-radius: 8px; }
	.rating__logo svg { width: 22px; height: 22px; }
	.rating__body { min-width: 0; }
	.rating__platform { overflow: hidden; font-size: .62rem; white-space: nowrap; text-overflow: ellipsis; }
	.rating__row { flex-wrap: wrap; column-gap: .3rem; row-gap: 0; }
	.rating__score { font-size: 1.45rem; }
	.rating__stars { font-size: .8rem; }
	.rating__count { font-size: .68rem; }
	.section--hero-quote .quote-box { margin-inline: calc(-1 * var(--gutter) + 15px); padding: 1rem 1.9rem 1.5rem; }
	.quote-box h2 { font-size: 1.35rem; }
	.sitesync-field { margin-bottom: .45rem; }
	.sitesync-field label { font-size: 1rem; margin-bottom: .45rem; }
	.sitesync-field input, .sitesync-field select { min-height: 40px; font-size: .95rem; }
	.sitesync-field textarea { height: 76px; font-size: .95rem; }
	.sitesync-submit .button { padding: .75em; font-size: .95rem; }

	.cta { padding: 2.2rem 0 1.8rem; }
	.cta h2 { font-size: 1.25rem; letter-spacing: 3px; }
	.cta__link { padding-inline: 1.5rem; font-size: 1rem; }

	.section--about-reviews { padding-top: 3.5rem; }
	.about .title { font-size: 1.85rem; }
	.about__text { font-size: 1rem; }

	.section--services-intro { padding: 3rem 0 4rem; }
	.services-intro h2 { font-size: 1.65rem; }
	.services-intro p { font-size: 1rem; }

	.section--service-row { padding: 2.4rem 0 3rem; text-align: center; }
	.service { gap: 2rem; }
	.service__text > .eyebrow { font-size: 1.2rem; line-height: 1.2; }
	.service h2 { margin-top: .6em; font-size: 1.9rem; }
	.service__text > p, .service__text > div p { font-size: 1rem; }
	.ticks { gap: 1.3rem; margin: 2rem 0 1.4rem; font-size: 1rem; text-align: left; }
	.ticks li { min-height: 30px; padding-left: 3rem; }
	.ticks .icon { left: .4rem; width: 30px; height: 30px; }

	.section--why-us { padding-top: 2.4rem; text-align: center; }
	.why-us { gap: 3rem; }
	.why-us__text .title { font-size: 1.9rem; }
	.reasons { margin-inline: calc(-1 * var(--gutter) + 15px); padding: 2rem 1.6rem 1.8rem; }
	.reasons h3 { font-size: 1.6rem; }
	.reasons__list { gap: 1.5rem; }
	.reason { flex-direction: column; align-items: center; gap: .9rem; }
	.reason .icon { width: 44px; height: 44px; }
	.reason h4 { font-size: 1.25rem; line-height: 1.4; }
	.reason p { font-size: .9rem; }

	.projects__intro { min-height: 0; padding: 3.5rem 0 2rem; }
	.projects__intro h2 { font-size: 1.9rem; }
	.projects__intro p { font-size: 1rem; }
	.projects__grid { display: flex; width: 100%; overflow-x: auto; gap: 0; padding: 0; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.projects__grid::-webkit-scrollbar { display: none; }
	.projects__grid li { flex: 0 0 100%; scroll-snap-align: start; }
	.projects__grid img { aspect-ratio: 5 / 4; }

	.section--areas-map { padding-top: 2.4rem; text-align: center; }
	.areas .eyebrow { font-size: 1.3rem; }
	.areas .title { font-size: 1.85rem; }
	.areas p { font-size: 1rem; }
	.areas__list { justify-content: center; gap: .15rem 1rem; font-size: 1rem; }
	.areas__map { margin-inline: calc(-1 * var(--gutter)); }
	.areas__map iframe { height: 560px; border-width: 3px; border-radius: 10px 10px 0 0; }

	.section--contact { padding-top: 4rem; text-align: center; }
	.contact .title { font-size: 1.9rem; }
	.contact__details { justify-items: center; gap: 1rem; margin: 1.6rem 0; }
	.contact__details a { font-size: 1.1rem; }
	.contact .quote-box { text-align: left; }
	.contact .quote-box h2 { font-weight: 400; }

	.site-footer { font-size: .95rem; text-align: center; }
	.footer { gap: 3rem; padding-top: 5rem; }
	.footer__logo img { width: 265px; margin-inline: auto; }
	.footer__text { font-size: .9rem; }
	.footer h2 { font-size: 1.6rem; }
	.footer ul { justify-items: center; gap: .6rem; }
	.footer__badges { flex-direction: column; align-items: center; gap: .6rem; }
	.footer__badges img { width: 242px; height: 90px; padding: .9rem 1.6rem; border-radius: 14px; object-fit: contain; }
	.footer__accreditations img { width: 82px; margin-inline: auto; }
	.copyright { font-size: 1rem; padding: .9rem 0; }
	.to-top { right: 1rem; bottom: 1.4rem; width: 50px; height: 50px; background: rgb(0 0 0 / .45); }
	.to-top .icon { width: 22px; height: 22px; }
}
