/*
Theme Name: SiteSync Atlas
Description: Theme for Atlas Property Improvements' one-page town and service sites, a rebuild of their shared Elementor layout that looks the same without Elementor or widget plugins. Content comes from the SiteSync plugin; this theme only renders it.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
Author: SiteSync
Text Domain: sitesync-atlas
Update URI: false
*/

/* The old sites' Google Fonts (SIL Open Font License 1.1), Latin subset, served with the theme. */
@font-face { font-family: "Roboto Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/roboto-condensed-500.woff2) format("woff2"); }
@font-face { font-family: "Roboto Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/roboto-condensed-600.woff2) format("woff2"); }
@font-face { font-family: "Roboto Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/roboto-condensed-700.woff2) format("woff2"); }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/albert-sans-400.woff2) format("woff2"); }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/albert-sans-500.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/montserrat-600.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/montserrat-700.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/roboto-400.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/roboto-500.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/roboto-600.woff2) format("woff2"); }

/*
 * The old Elementor kit's colours: red #E01D22, dark red #B90000 and near-black #222222 (site.json
 * brand colours override the first two). Every section's content sits in one centred 1500px
 * column, as the old page's main sections did.
 */
:root {
	--red: var(--sitesync-primary, #e01d22);
	--dark-red: var(--sitesync-accent, #b90000);
	--ink: #222;
	--grey: #f4f4f4;
	--silver: #bdbdbd;
	--wrap: 1500px;
	--gutter: 40px;
	--head: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
	--body: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
	--roboto: "Roboto", "Helvetica Neue", Arial, sans-serif;
	--mont: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.5; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--head); font-weight: 600; line-height: 1; text-wrap: balance; }
p { margin: 0 0 .9em; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: var(--red); text-decoration: none; }
svg { display: block; fill: currentColor; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; padding: 10px 16px; background: #fff; color: #000; z-index: 1000; }
.rich > :last-child { margin-bottom: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
[id] { scroll-margin-top: 20px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; font-family: var(--head); font-size: 20px; font-weight: 500; line-height: 1; color: #fff; background: var(--red); border-radius: 3px; transition: background-color .3s, color .3s; }
.btn:hover, .btn:focus { color: #fff; background: var(--dark-red); }
.btn--pill { border-radius: 30px; }
.btn--dark-red { background: var(--dark-red); }
.btn--dark-red:hover, .btn--dark-red:focus { background: var(--red); }
.btn--square { border-radius: 0; background: var(--ink); font-family: var(--roboto); font-size: 23px; text-transform: uppercase; }
.btn--square:hover, .btn--square:focus { background: #fff; color: var(--ink); }
.btn--square.btn--red { background: var(--red); }
.btn--square.btn--red:hover, .btn--square.btn--red:focus { background: #fff; color: var(--red); }

/* The red contact strip */
.topbar { background: var(--red); color: #fff; }
.topbar ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 10px var(--gutter); }
.topbar li, .topbar a { display: flex; align-items: center; gap: 9px; color: #fff; font-size: 18px; line-height: 1.5; }
.topbar a:hover span { text-decoration: underline; }
.topbar svg { width: 14px; height: 14px; flex: none; }
.topbar__short { display: none; }

/* The white header: logo, menu and Request A Quote on one line */
.site-header { position: relative; background: #fff; z-index: 50; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: calc(var(--wrap) + 2 * var(--gutter)); min-height: 136px; margin: 0 auto; padding: 14px var(--gutter); }
.site-header__logo { flex: none; width: 250px; }
.site-header__logo span { font-family: var(--head); font-size: 28px; font-weight: 700; color: var(--ink); }
.site-nav ul { display: flex; flex-wrap: nowrap; }
.site-nav a { position: relative; display: block; padding: 13px 20px; font-family: var(--roboto); font-size: 16px; font-weight: 600; line-height: 20px; color: var(--ink); white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transition: transform .3s; }
.site-nav a:hover::after, .site-nav a:focus::after { transform: scaleX(1); }
.site-header__quote { flex: none; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 3px; background: #f0f0f0; color: var(--ink); cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; }
.menu-toggle .icon--close, .menu-toggle[aria-expanded="true"] .icon--menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon--close { display: block; }

/* Banner */
.hero { position: relative; background: var(--ink) center / cover no-repeat; border-bottom: 4px solid var(--red); color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(34, 34, 34, .78); }
.hero__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 60px; padding-top: 110px; padding-bottom: 90px; }
.hero__main { flex: 1 1 auto; max-width: 925px; }
.hero__kicker { margin: 0 0 14px; font-family: var(--roboto); font-size: 32px; font-weight: 600; line-height: 1.1; }
.hero h1 { font-size: 67px; font-weight: 700; line-height: 1.19; text-transform: uppercase; }
.hero__text { margin-top: 14px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.hero__buttons .btn { font-family: var(--body); padding: 12px 24px; }

/* The dark quote box with the red edge */
.quote-box { flex: none; text-align: left; width: 504px; max-width: 100%; padding: 50px; background: var(--ink); border: 3px solid var(--red); border-radius: 30px; color: #fff; }
.quote-box__title { margin: 0 0 20px; font-family: var(--head); font-size: 32px; font-weight: 500; text-align: center; }
.sitesync-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.sitesync-form .sitesync-field { margin: 0 0 10px; }
.sitesync-field--select, .sitesync-field--textarea, .sitesync-submit, .sitesync-form .cf-turnstile { grid-column: 1 / -1; }
.sitesync-form label { display: block; padding-bottom: 3px; font-size: 18px; line-height: 1; color: #fff; }
.sitesync-form input, .sitesync-form select, .sitesync-form textarea { width: 100%; min-height: 40px; padding: 8px 16px; border: 1px solid var(--red); border-radius: 3px; background: #fff; color: #000; font: 500 16px/1.4 var(--body); }
.sitesync-form select { padding: 5px 40px 5px 14px; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0h10L5 6z'/%3E%3C/svg%3E") right 12px center / 12px no-repeat; }
.sitesync-form textarea { height: 102px; resize: vertical; }
.sitesync-form ::placeholder { color: #666; opacity: 1; }
.sitesync-submit { margin: 2px 0 0; }
.sitesync-submit .button { width: 100%; min-height: 40px; padding: 8px 16px; border: 0; border-radius: 3px; background: var(--red); color: #fff; font: 700 20px/1 var(--mont); text-transform: uppercase; cursor: pointer; transition: background-color .3s; }
.sitesync-submit .button:hover, .sitesync-submit .button:focus { background: var(--dark-red); }
.sitesync-form-message { padding: 16px; border-radius: 3px; background: #fff; color: var(--ink); font-weight: 500; }
.sitesync-form-message--error { margin-bottom: 14px; color: var(--dark-red); }
.form-band { padding: 60px 0; background: var(--ink); }
.form-band .quote-box { margin: 0 auto; }

/* Ratings bar */
.rating-bar { padding: 22px 0 28px; background: var(--grey); text-align: center; }
.stars { display: flex; justify-content: center; gap: 6px; color: var(--red); }
.stars svg { width: 30px; height: 30px; }
.rating-bar__tagline { margin: 6px 0 0; font-family: var(--head); font-size: 30px; font-weight: 700; line-height: 1.5; letter-spacing: 5px; color: var(--red); }
.rating-bar__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 60px; margin-top: 6px; }
.rating-bar__fig { margin: 0; font-family: var(--head); font-size: 40px; font-weight: 700; line-height: 1.2; letter-spacing: 2px; text-transform: uppercase; }
.rating-bar__fig:first-child { text-align: right; }
.rating-bar__fig:last-child { text-align: left; }
.rating-bar__badge img { width: 250px; }

/* Intro on a dark photo, sloping into the services band */
.intro { position: relative; padding: 90px 0 120px; background: var(--ink) center / cover no-repeat; color: #fff; }
.intro::before { content: ""; position: absolute; inset: 0; background: rgba(51, 51, 51, .9); }
.intro .wrap { position: relative; }
.intro__top { display: grid; grid-template-columns: 300px 1fr; gap: 50px; align-items: center; }
.intro__badge { text-align: center; }
.intro__badge img { width: 190px; margin: 0 auto 14px; }
.intro__badge p { margin: 0; font-family: var(--head); font-size: 20px; font-weight: 800; line-height: 1.2; text-transform: uppercase; }
.kicker { margin: 0 0 8px; font-family: var(--head); font-size: 28px; font-weight: 600; line-height: 1; text-transform: uppercase; }
.intro h2 { margin-bottom: 30px; font-size: 60px; color: var(--red); text-transform: uppercase; }
.intro__bottom { display: grid; grid-template-columns: 1fr 430px; gap: 30px; align-items: center; margin-top: 50px; }
.intro__photo img { width: 100%; aspect-ratio: 5 / 2; object-fit: cover; border-radius: 20px; }
.tick-boxes { display: grid; gap: 10px; }
.tick-boxes li { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 80px; padding: 10px 16px; border-radius: 5px; background: var(--red); color: #fff; font-family: var(--mont); font-size: 20px; font-weight: 600; line-height: 1.5; text-transform: uppercase; text-align: center; }
.tick-boxes li:nth-child(2) { background: #fff; color: var(--ink); }
.tick-boxes li:nth-child(3) { background: var(--dark-red); }
.tick-boxes li:nth-child(4) { background: var(--silver); color: var(--ink); }
.tick-boxes svg { flex: none; width: 20px; height: 20px; }
.tick-boxes li:nth-child(even) svg { color: var(--red); }

/* Red services band with a sloped top edge */
.services { position: relative; padding: 120px 0 100px; background: var(--red); color: #fff; }
.services::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 60px; background: #333; clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 0, 0 30%); }
.services__head { display: grid; grid-template-columns: 825px 1fr; gap: 0 40px; align-items: center; }
.services .kicker { font-size: 40px; }
.services h2 { font-size: 60px; text-transform: uppercase; }
.services__head .rich { max-width: 675px; }
/* Cards sit in full, even rows: 2, 3 or 4 on one row, 6 as two rows of 3 (never a card alone). */
.cards { --cols: 3; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 40px; max-width: calc(var(--cols) * 460px + (var(--cols) - 1) * 40px); margin: 45px auto 0; }
.cards--1 { --cols: 1; }
.cards--2 { --cols: 2; }
.cards--4 { --cols: 4; }
.card { border: 3px solid #fff; background: var(--ink); }
.card__photo img { width: 100%; height: 200px; object-fit: cover; }
.card__body { padding: 35px; text-align: center; font-family: var(--roboto); font-size: 16px; line-height: 1.5; }
.card h3 { margin-bottom: 18px; font-family: var(--roboto); font-size: 23px; line-height: 1.2; text-transform: uppercase; }
.services__body { margin-top: 45px; padding: 0 20px; font-family: var(--roboto); font-size: 16px; line-height: 1.5; }
.services__button { margin-top: 40px; text-align: center; }

/* Areas We Cover */
.areas { padding: 30px 0 55px; background: var(--ink); color: #fff; text-align: center; font-family: var(--roboto); }
.areas h2 { margin-bottom: 22px; font-family: var(--roboto); font-size: 32px; text-transform: uppercase; }

/* Why Choose Us on a red-tinted photo */
.why-us { position: relative; padding: 80px 0; background: var(--red) center / cover no-repeat; color: #fff; }
.why-us::before { content: ""; position: absolute; inset: 0; background: rgba(224, 29, 34, .8); }
.why-us .wrap { position: relative; display: grid; grid-template-columns: 1fr 525px; gap: 60px; align-items: center; }
.why-us .kicker { font-size: 40px; color: #000; }
.why-us h2 { margin-bottom: 18px; font-size: 60px; text-transform: uppercase; }
.why-us__ticks { margin-top: 30px; }
.why-us__ticks li { display: flex; align-items: center; gap: 16px; font-family: var(--roboto); font-size: 31px; font-weight: 600; line-height: 1.5; }
.why-us__ticks li + li { margin-top: 50px; }
.why-us__ticks svg { flex: none; width: 34px; height: 34px; color: var(--ink); }
.why-us__photo img { width: 100%; }
.why-us__points { margin-top: 30px; }
.why-us__points li { display: flex; gap: 16px; text-align: left; }
.why-us__points li + li { margin-top: 26px; }
.why-us__points svg { flex: none; width: 34px; height: 34px; margin-top: 2px; color: var(--ink); }
.why-us__points h3 { margin-bottom: 6px; font-family: var(--roboto); font-size: 24px; text-transform: uppercase; }
.why-us__points .rich { font-size: 16px; line-height: 1.5; }

/* Reviews */
.reviews { padding: 80px 0; background: var(--ink); color: #fff; text-align: center; }
.reviews .kicker { font-size: 40px; color: var(--red); }
.reviews h2 { font-size: 60px; text-transform: uppercase; }
.reviews__text { max-width: 900px; margin: 16px auto 0; }
.reviews__button { margin: 40px 0 0; }
.reviews__box { display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: center; margin-top: 50px; text-align: left; }
.reviews__summary { text-align: center; }
.reviews__word { margin: 0 0 6px; font-family: var(--roboto); font-size: 22px; font-weight: 600; text-transform: uppercase; }
.stars--gold { color: #f6bb06; gap: 2px; }
.stars--gold svg { width: 22px; height: 22px; }
.reviews__count { margin: 8px 0 10px; font-size: 16px; }
.google-logo { width: 100px; height: auto; margin: 0 auto; background: #fff; padding: 6px 10px; border-radius: 4px; box-sizing: content-box; }
.reviews__slider { position: relative; min-width: 0; }
.reviews__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px; }
.reviews__track::-webkit-scrollbar { display: none; }
.review { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; padding: 22px; border-radius: 6px; background: #fff; color: var(--ink); font-size: 15px; line-height: 1.5; }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review__avatar { display: flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--roboto); font-weight: 600; }
.review__author { margin: 0; font-family: var(--roboto); font-size: 16px; font-weight: 600; }
.review__source { margin: 0; font-size: 13px; color: #6b6b6b; }
.review .stars { justify-content: flex-start; }
.review blockquote { margin: 10px 0 0; }
.review blockquote p { margin: 0; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.reviews__nav { position: absolute; top: 50%; z-index: 2; width: 36px; height: 36px; margin-top: -18px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--red); cursor: pointer; }
.reviews__nav svg { width: 36px; height: 36px; }
.reviews__nav--prev { left: -18px; transform: scaleX(-1); }
.reviews__nav--next { right: -18px; }

/* FAQ: a dark accordion on white */
.faq { padding: 80px 0; background: #fff; text-align: center; }
.faq h2 { margin-bottom: 30px; font-size: 50px; text-transform: uppercase; }
.faq__list { max-width: 1100px; margin: 0 auto; text-align: left; background: var(--ink); color: #fff; }
.faq__item + .faq__item { border-top: 1px solid rgba(255, 255, 255, .15); }
.faq__item summary { display: flex; align-items: center; gap: 14px; padding: 18px 24px; font-family: var(--roboto); font-size: 17px; font-weight: 600; text-transform: uppercase; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before { content: "+"; flex: none; width: 14px; font-size: 22px; line-height: 1; color: var(--red); }
.faq__item[open] summary { color: var(--red); }
.faq__item[open] summary::before { content: "\2212"; }
.faq__answer { padding: 0 24px 20px 52px; font-size: 16px; line-height: 1.6; }

/* Recent projects: text beside a photo grid */
.projects { padding: 80px 0; background: #f4f4f4; }
.projects .wrap { display: grid; grid-template-columns: 360px 1fr; gap: 50px; align-items: start; }
.projects h2 { margin-bottom: 16px; font-size: 50px; color: var(--red); text-transform: uppercase; }
.projects__text .btn { margin-top: 10px; }
.projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.projects__grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Before and after pairs on red */
.before-after { padding: 70px 0; background: var(--red); color: #fff; text-align: center; }
.before-after h2 { margin-bottom: 30px; font-size: 50px; text-transform: uppercase; }
.ba__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ba { --pos: 50%; position: relative; margin: 0; overflow: hidden; aspect-ratio: 5 / 3; border: 3px solid #fff; background: var(--ink); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba__after::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 1; width: 3px; margin-left: -1px; background: #fff; }
.ba__label { position: absolute; top: 10px; z-index: 1; padding: 3px 10px; background: var(--red); font-family: var(--roboto); font-size: 14px; font-weight: 600; }
.ba__label--before { left: 10px; }
.ba__label--after { right: 10px; }
.ba__range { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }

/* Badges */
.badges { padding: 30px 0; background: #fff; }
.badges ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 30px 70px; }
.badges img { width: 315px; }

/* Footer */
.site-footer { background: #fff; }
.site-footer__cols { display: grid; grid-template-columns: 1fr 1fr 0.8fr 1.1fr; gap: 40px; align-items: start; padding-top: 70px; padding-bottom: 70px; }
.site-footer__brand { align-self: center; text-align: center; }
.site-footer__brand img { width: 300px; margin: 0 auto 30px; }
.site-footer__tagline { margin: 0; font-family: var(--head); font-size: 25px; font-weight: 500; color: var(--dark-red); }
.site-footer__title { position: relative; margin: 0 0 30px; padding-bottom: 18px; font-family: var(--head); font-size: 25px; font-weight: 600; line-height: 1; color: var(--red); }
.site-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 120px; height: 3px; background: var(--ink); }
.site-footer__contact li + li { margin-top: 7px; }
.site-footer__contact a, .site-footer__contact li > span { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 18px; }
.site-footer__contact a:hover span, .site-footer__links a:hover span { color: var(--red); }
.site-footer__contact svg { flex: none; width: 15px; height: 15px; color: var(--red); }
.site-footer__links a { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 16px; line-height: 1.5; }
.site-footer__links svg { flex: none; width: 13px; height: 13px; color: var(--red); }
.site-footer .rich { margin-bottom: 26px; font-size: 16px; line-height: 1.56; }
.site-footer__bar { margin: 0; padding: 18px var(--gutter); background: var(--ink); color: #fff; font-size: 16px; letter-spacing: 4px; text-align: center; }

/* Floating WhatsApp (bottom right) and back to top (bottom left) */
.float-whatsapp, .to-top { position: fixed; bottom: 20px; z-index: 60; display: flex; align-items: center; justify-content: center; border-radius: 50%; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.float-whatsapp { right: 20px; width: 60px; height: 60px; background: #25d366; color: #fff; }
.float-whatsapp svg { width: 32px; height: 32px; }
.to-top { left: 20px; width: 44px; height: 44px; background: var(--ink); color: #fff; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.to-top.is-on { opacity: 1; visibility: visible; }
.to-top svg { width: 28px; height: 28px; }

/* A WordPress page (privacy policy) and the not-found page */
.wp-page, .notfound { max-width: 900px; margin: 0 auto; padding: 60px var(--gutter); }
.wp-page h1, .notfound h1 { margin-bottom: 24px; font-size: 48px; text-transform: uppercase; }

/* Narrower desktops: the menu and sections tighten so nothing wraps */
@media (max-width: 1500px) {
	.site-header__logo { width: 210px; }
	.site-nav a { padding: 13px 10px; font-size: 15px; }
	.hero h1 { font-size: 58px; }
	.services__head { grid-template-columns: 1fr 1fr; }
}
/* Below 1300px the menu (up to eight items) no longer fits on one line: it opens from a button,
   with Request A Quote kept beside it on tablets. */
@media (max-width: 1300px) {
	.menu-toggle { display: flex; order: 3; }
	.site-header__inner { min-height: 0; padding-top: 14px; padding-bottom: 14px; }
	.site-header__quote { margin-left: auto; }
	.site-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; background: #fff; box-shadow: 0 10px 20px rgba(0, 0, 0, .12); }
	.site-nav.is-open { display: block; }
	.site-nav ul { flex-direction: column; }
	.site-nav a { padding: 12px 20px; font-size: 15px; color: #33373d; border-top: 1px solid #eee; }
	.site-nav a::after { display: none; }
	.hero__inner { gap: 40px; }
	.hero h1 { font-size: 50px; }
	.quote-box { width: 440px; padding: 36px; }
	.intro h2, .services h2, .why-us h2, .reviews h2 { font-size: 50px; }
	.why-us__ticks li { font-size: 26px; }
	.why-us .wrap { grid-template-columns: 1fr 420px; }
	.review { flex-basis: calc((100% - 20px) / 2); }
	.cards--4 { --cols: 2; }
	.cards { gap: 30px; }
}

/* Tablets and phones: phone menu, one column, centred text */
@media (max-width: 1024px) {
	:root { --gutter: 20px; }
	.site-header__quote { display: none; }
	.hero__inner { flex-direction: column; align-items: stretch; padding-top: 70px; padding-bottom: 50px; text-align: center; }
	.hero__main { max-width: none; }
	.hero__buttons { justify-content: center; }
	.quote-box { width: 100%; max-width: 560px; margin: 0 auto; }
	.rating-bar__row { grid-template-columns: 1fr; gap: 14px; }
	.rating-bar__fig:first-child, .rating-bar__fig:last-child { text-align: center; }
	.rating-bar__badge img { margin: 0 auto; }
	.intro, .services, .why-us, .reviews { text-align: center; }
	.intro__top, .intro__bottom, .services__head, .why-us .wrap, .reviews__box { grid-template-columns: 1fr; }
	.intro__top { gap: 30px; }
	.intro__bottom { gap: 20px; margin-top: 30px; }
	.intro__bottom .tick-boxes { order: -1; max-width: 560px; width: 100%; margin: 0 auto; }
	.services__head .rich { max-width: none; margin-top: 16px; }
	.why-us__ticks li { justify-content: center; text-align: left; }
	.why-us__photo img { max-width: 525px; margin: 0 auto; }
	.site-footer__cols { grid-template-columns: 1fr 1fr; }
	.projects .wrap { grid-template-columns: 1fr; gap: 30px; text-align: center; }
	.cards { --cols: 2; }
	.cards--odd { --cols: 1; max-width: 560px; }
	.ba__list { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 767px) {
	body { font-size: 16px; }
	.topbar ul { gap: 2px 16px; padding: 4px 12px; }
	.topbar li, .topbar a { font-size: 17px; gap: 6px; }
	.topbar__long { display: none; }
	.topbar__short { display: inline; }
	.site-header__logo { width: 220px; }
	.hero { background-attachment: scroll; }
	.hero__inner { padding-top: 50px; padding-bottom: 0; gap: 40px; }
	.hero__kicker { font-size: 26px; }
	.hero h1 { font-size: 34px; line-height: 1.2; }
	.hero__text { font-size: 16px; }
	.hero__buttons { margin-top: 24px; }
	.hero__buttons .btn { font-size: 17px; }
	.hero .quote-box { margin: 0 -20px; width: auto; max-width: none; padding: 28px 22px; border-radius: 16px 16px 0 0; }
	.sitesync-form { grid-template-columns: 1fr; }
	.rating-bar__tagline { font-size: 20px; letter-spacing: 0; }
	.rating-bar__fig { font-size: 24px; letter-spacing: 0; }
	.rating-bar__badge img { width: 210px; }
	.intro { padding: 50px 0 80px; }
	.kicker, .services .kicker, .why-us .kicker, .reviews .kicker { font-size: 20px; }
	.intro h2, .services h2, .why-us h2, .reviews h2 { font-size: 30px; line-height: 1.1; }
	.intro h2 { margin-bottom: 20px; }
	.tick-boxes li { min-height: 60px; font-size: 15px; }
	.intro__photo img { aspect-ratio: 4 / 3; border-radius: 14px; }
	.services { padding: 80px 0 60px; }
	.services::before { height: 40px; }
	.cards, .cards--odd { --cols: 1; gap: 30px; margin-top: 30px; }
	.services__button .btn { font-size: 19px; }
	.areas h2 { font-size: 26px; }
	.areas { font-size: 16px; }
	.why-us { padding: 50px 0; }
	.why-us .wrap { gap: 30px; }
	.why-us__ticks li { font-size: 20px; gap: 12px; }
	.why-us__ticks li + li { margin-top: 20px; }
	.why-us__ticks svg { width: 26px; height: 26px; }
	.reviews { padding: 50px 0; }
	.reviews__box { margin-top: 30px; }
	.review { flex-basis: 88%; }
	.reviews__nav { display: none; }
	.faq, .projects { padding: 50px 0; }
	.faq h2, .projects h2, .before-after h2 { font-size: 30px; line-height: 1.1; }
	.faq__item summary { padding: 16px; font-size: 15px; }
	.faq__answer { padding: 0 16px 18px 44px; font-size: 15px; }
	.projects__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
	.before-after { padding: 50px 0; }
	.why-us__points h3 { font-size: 19px; }
	.why-us__points svg { width: 26px; height: 26px; }
	.badges ul { gap: 20px; }
	.badges img { width: 260px; }
	.site-footer__cols { grid-template-columns: 1fr; gap: 36px; padding-top: 50px; padding-bottom: 50px; text-align: center; }
	.site-footer__title::after { left: 50%; margin-left: -60px; }
	.site-footer__contact a, .site-footer__contact li > span, .site-footer__links a { justify-content: center; }
	.site-footer__brand img { width: 260px; margin-bottom: 18px; }
	.site-footer__bar { font-size: 13px; letter-spacing: 2px; }
	.float-whatsapp { width: 54px; height: 54px; right: 14px; bottom: 14px; }
	.to-top { left: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}
