/*
Theme Name: Touchwood 2026
Description: Modern, professional skin for Touchwood Solicitors. Child theme of Morgan Legal.
Template: morganlegal
Version: 1.1
*/

:root {
	--navy: #13294b;
	--navy-2: #1d3a64;
	--accent: #b8561b;
	--accent-dark: #9b4714;
	--ink: #262b33;
	--muted: #5b6270;
	--line: #e3ded4;
	--paper: #f6f3ee;
	--white: #fff;
	--radius: 10px;
	--serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--sans: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8561b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E");
	--icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8561b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font: 16px/1.7 var(--sans);
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--accent);
	text-decoration: none;
}

a:hover {
	color: var(--accent-dark);
	text-decoration: underline;
}

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	font-family: var(--serif);
	font-weight: 600;
	line-height: 1.2;
	color: var(--navy);
}

p {
	margin: 0 0 1em;
}

.container {
	width: 100%;
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 24px;
}

.eyebrow {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--accent);
}

.section {
	padding: 44px 0;
}

.section-alt {
	background: var(--paper);
}

.section-title {
	margin-bottom: 22px;
	font-size: clamp(28px, 3.2vw, 38px);
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-block;
	padding: 13px 24px;
	border: 2px solid transparent;
	border-radius: 6px;
	font: 600 15px/1.2 var(--sans);
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	transition: background .15s, color .15s, border-color .15s;
}

.btn:hover {
	text-decoration: none;
}

.btn-primary {
	background: var(--accent);
	color: var(--white);
}

.btn-primary:hover {
	background: var(--accent-dark);
	color: var(--white);
}

.btn-ghost {
	border-color: rgba(255, 255, 255, .55);
	color: var(--white);
}

.btn-ghost:hover {
	border-color: var(--white);
	background: rgba(255, 255, 255, .08);
	color: var(--white);
}

.btn-light {
	background: var(--white);
	color: var(--navy);
}

.btn-light:hover {
	background: var(--paper);
	color: var(--navy);
}

/* ---------- Top bar ---------- */
.topbar {
	background: var(--navy);
	color: rgba(255, 255, 255, .8);
	font-size: 13px;
}

.topbar-inner {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-top: 8px;
	padding-bottom: 8px;
}

.topbar a {
	margin-left: 22px;
	color: var(--white);
}

/* ---------- Header and navigation ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--white);
	border-bottom: 1px solid var(--line);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 84px;
}

.brand {
	flex-shrink: 0;
}

.brand img {
	display: block;
	width: auto;
	height: 52px;
}

.site-nav {
	margin-left: auto;
}

.site-nav ul {
	display: flex;
	flex-wrap: nowrap;
	white-space: nowrap;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav a {
	display: block;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 500;
	color: var(--ink);
}

.site-nav a:hover {
	background: var(--paper);
	color: var(--navy);
	text-decoration: none;
}

.site-nav .current_page_item > a {
	color: var(--accent);
	box-shadow: inset 0 -2px 0 var(--accent);
	border-radius: 0;
}

.menu-toggle {
	display: none;
}

/* ---------- Home hero ---------- */
.hero {
	position: relative;
	overflow: hidden;
	padding: 48px 0 52px;
	background:
		radial-gradient(circle at 85% 20%, rgba(184, 86, 27, .22), transparent 42%),
		linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
	color: var(--white);
}

.hero::after {
	content: "";
	position: absolute;
	right: -120px;
	bottom: -160px;
	width: 520px;
	height: 520px;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 50%;
	box-shadow: 0 0 0 60px rgba(255, 255, 255, .025), 0 0 0 120px rgba(255, 255, 255, .02);
}

.hero-inner {
	position: relative;
	z-index: 1;
	max-width: 1160px;
}

.hero .eyebrow {
	color: #f0a36c;
}

.hero h1 {
	max-width: 760px;
	font-size: clamp(36px, 5.2vw, 60px);
	color: var(--white);
}

.hero .lead {
	max-width: 620px;
	margin-bottom: 32px;
	font-size: 19px;
	color: rgba(255, 255, 255, .85);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 36px;
}

.hero-points {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
	color: rgba(255, 255, 255, .85);
}

.hero-points li {
	padding-left: 26px;
	background: var(--icon-check) no-repeat 0 50% / 18px;
	filter: none;
}

/* ---------- Service cards ---------- */
.service-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.service-grid .widget {
	position: relative;
	padding: 28px 24px 24px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: transform .15s, box-shadow .15s;
}

.service-grid .widget:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 30px rgba(19, 41, 75, .1);
}

.service-grid .widget::before {
	content: "";
	display: block;
	width: 52px;
	height: 52px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: var(--paper) no-repeat center / 26px;
}

#text-17::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8561b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M10 20v-6h4v6'/%3E%3C/svg%3E");
}

#text-18::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8561b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='1'/%3E%3Cpath d='M9 7h2M13 7h2M9 11h2M13 11h2M9 15h2M13 15h2M11 21v-3h2v3'/%3E%3C/svg%3E");
}

#text-19::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8561b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.5 3.8 5.5 3.8 9s-1.3 6.5-3.8 9c-2.5-2.5-3.8-5.5-3.8-9S9.5 5.5 12 3z'/%3E%3C/svg%3E");
}

#text-20::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8561b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='15' r='4'/%3E%3Cpath d='M11 12l8-8M16 7l2 2M14 9l2 2'/%3E%3C/svg%3E");
}

.service-grid .causeimg {
	display: none;
}

.service-grid h4 {
	margin-bottom: 8px;
	font-size: 21px;
}

.service-grid p {
	margin-bottom: 14px;
	font-size: 15px;
	color: var(--muted);
}

.service-grid p:last-child {
	margin: 0;
}

.service-grid a {
	font-weight: 600;
}

.service-grid a::after {
	content: " \2192";
}

/* Make the whole card clickable */
.service-grid a::before {
	content: "";
	position: absolute;
	inset: 0;
}

/* ---------- Two-column content ---------- */
.two-col {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 44px;
	align-items: start;
}

.entry {
	font-size: 16px;
}

.entry > :first-child {
	margin-top: 0;
}

.entry h2,
.entry h3,
.entry h4 {
	margin-top: 1.4em;
}

.entry ul {
	padding-left: 0;
	list-style: none;
}

.entry li {
	margin-bottom: 8px;
	padding-left: 28px;
	background: var(--icon-check) no-repeat 0 5px / 18px;
}

.entry table {
	width: 100% !important;
	height: auto !important;
	margin: 0 0 24px;
	border-collapse: collapse;
	font-size: 15px;
}

.entry td {
	padding: 10px 12px 10px 0;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}

.entry iframe {
	max-width: 100%;
}

.pageintrobig,
.home-intro .pageintrobig {
	display: block;
	margin-bottom: .4em;
	font: 600 clamp(26px, 3vw, 34px)/1.2 var(--serif);
	color: var(--navy);
}

.pageintrosml {
	font: 500 20px/1.4 var(--serif);
	color: var(--navy);
}

.quotelinks a,
.entry .quotelinks a {
	font-weight: 600;
}

.catchphrase {
	padding-left: 28px;
	background: var(--icon-check) no-repeat 0 4px / 18px;
	font-weight: 500;
}

/* ---------- Sidebar ---------- */
.sidebar .widget {
	padding: 28px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-size: 15px;
}

.section-alt .sidebar .widget {
	border-color: transparent;
	box-shadow: 0 8px 24px rgba(19, 41, 75, .06);
}

.sidebar br {
	display: none;
}

.sidebar p {
	margin: 0;
}

.sidebar .pageintrobig,
.sidebar .catchphraseheading {
	display: block;
	margin: 22px 0 8px;
	padding-top: 18px;
	border-top: 1px solid var(--line);
	font: 600 12px/1.4 var(--sans);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--muted);
}

.sidebar p:first-child .pageintrobig {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.sidebar .quotelinks a {
	display: block;
	padding: 7px 22px 7px 0;
	background: var(--icon-chevron) no-repeat right center / 16px;
	color: var(--ink);
	font-weight: 400;
}

.sidebar .quotelinks a:hover {
	color: var(--accent);
	text-decoration: none;
}

.sidebar .quotelinks strong {
	font-weight: 600;
}

.sidebar .catchphrase {
	padding: 5px 0 5px 28px;
	background-position: 0 9px;
}

.sidebar div[align="center"] {
	display: grid;
	justify-items: center;
	gap: 18px;
	margin-top: 26px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.sidebar div[align="center"] img {
	width: 170px;
}

/* SRA digital badge: its wrapper needs an explicit width or it collapses */
.sidebar div[align="center"] > div {
	width: 240px;
	max-width: 100%;
}

/* ---------- Client feedback (under the homepage intro) ---------- */
.feedback {
	margin-top: 32px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

.feedback .widget > h4 {
	margin-bottom: 18px;
	font-size: clamp(26px, 3vw, 32px);
}

.testimonials {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.testimonial {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 24px 28px 22px 76px;
	position: relative;
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: 0 8px 24px rgba(19, 41, 75, .06);
}

.testimonial::before {
	content: "\201C";
	position: absolute;
	top: 18px;
	left: 24px;
	font: 600 64px/1 var(--serif);
	color: var(--accent);
}

.testimonial p {
	flex: 1;
	margin: 0 0 10px;
	font: 500 18px/1.5 var(--serif);
	color: var(--navy);
}

.testimonial cite {
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	color: var(--muted);
}

.testimonial cite::before {
	content: "\2014\00a0";
}

/* ---------- Inner page hero ---------- */
.page-hero {
	padding: 36px 0 32px;
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
}

.page-hero .eyebrow {
	color: #f0a36c;
}

.page-hero h1 {
	margin: 0;
	font-size: clamp(30px, 4vw, 46px);
	color: var(--white);
}

/* ---------- Forms (Contact Form 7) ---------- */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	max-width: 560px;
	margin-top: 6px;
	padding: 11px 13px;
	border: 1px solid #cfc8bb;
	border-radius: 6px;
	background: var(--white);
	font: 15px/1.4 var(--sans);
	color: var(--ink);
}

.wpcf7 textarea {
	height: 150px;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	outline: 2px solid rgba(184, 86, 27, .35);
	border-color: var(--accent);
}

.wpcf7 input[type="submit"],
.wpcf7 .submit {
	width: auto;
	height: auto;
	padding: 13px 28px;
	border: 0;
	border-radius: 6px;
	background: var(--accent);
	color: var(--white);
	font: 600 15px/1.2 var(--sans);
	cursor: pointer;
}

.wpcf7 input[type="submit"]:hover {
	background: var(--accent-dark);
}

/* ---------- Call-to-action band ---------- */
.cta-band {
	padding: 36px 0;
	background: var(--white);
	border-top: 1px solid var(--line);
}

.cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.cta-inner h2 {
	font-size: clamp(24px, 2.6vw, 32px);
}

.cta-inner p {
	margin: 0;
	color: var(--muted);
}

.cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	flex-shrink: 0;
}

.cta-band .btn-light {
	border-color: var(--navy);
}

/* ---------- Footer ---------- */
.site-footer {
	padding: 32px 0 28px;
	background: var(--navy);
	color: rgba(255, 255, 255, .72);
	font-size: 14px;
	line-height: 1.7;
}

.site-footer a {
	color: var(--white);
}

.footer-inner > .widget + .widget {
	margin-top: 20px;
}

.site-footer ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 24px;
	margin: 0 0 8px;
	padding: 0 0 24px;
	border-bottom: 1px solid rgba(255, 255, 255, .14);
	list-style: none;
}

.site-footer ul a {
	font-weight: 500;
}

/* ---------- Tablet ---------- */
@media (max-width: 1360px) {
	.header-cta {
		display: none;
	}
}

@media (max-width: 1180px) {
	.header-inner {
		gap: 20px;
	}

	.site-nav ul {
		gap: 0;
	}

	.site-nav a {
		padding: 8px 9px;
		font-size: 14.5px;
	}
}

@media (max-width: 1080px) {
	.service-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 900px) {
	.two-col {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.testimonials {
		grid-template-columns: 1fr;
	}

	.cta-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 1000px) {
	/* Collapsible menu */
	.header-inner {
		flex-wrap: wrap;
		gap: 0;
		min-height: 72px;
	}

	.site-nav {
		display: contents;
	}

	.menu-toggle {
		display: block;
		margin-left: auto;
		padding: 10px 14px;
		border: 1px solid var(--line);
		border-radius: 6px;
		background: var(--white);
		color: var(--navy);
		font: 600 15px/1 var(--sans);
		cursor: pointer;
	}

	.menu-toggle::after {
		content: "\2630";
		margin-left: 8px;
	}

	.site-nav.is-open .menu-toggle::after,
	#menu.is-open .menu-toggle::after {
		content: "\2715";
	}

	.site-nav ul {
		display: none;
		flex-basis: 100%;
		flex-direction: column;
		padding: 8px 0 16px;
	}

	#menu.is-open ul {
		display: flex;
	}

	.site-nav a {
		padding: 12px 4px;
		border-bottom: 1px solid var(--line);
		border-radius: 0;
	}

	.site-nav .current_page_item > a {
		box-shadow: none;
	}
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
	.container {
		padding: 0 16px;
	}

	.topbar-reg {
		display: none;
	}

	.topbar-inner {
		justify-content: center;
	}

	.topbar a {
		margin: 0 10px;
	}

	.brand img {
		height: 42px;
	}

	.section {
		padding: 32px 0;
	}

	.hero {
		padding: 36px 0 44px;
	}

	.testimonial {
		padding: 56px 20px 20px;
	}

	.testimonial::before {
		top: 14px;
		left: 20px;
	}

	.hero .lead {
		font-size: 17px;
	}

	.hero-actions .btn {
		flex: 1 1 100%;
	}

	.service-grid {
		grid-template-columns: 1fr;
	}

	.cta-actions,
	.cta-actions .btn {
		width: 100%;
	}
}

/* =================================================================
   Brand colour: the old site's menu colours, used as accents
   ================================================================= */
:root {
	--c-orange: #f06900;
	--c-green: #0e9c76;
	--c-gold: #c6a41e;
	--c-purple: #790eb0;
	--c-blue: #1faddb;
	--c-grey: #635d5b;
	/* darker versions for text on white */
	--t-green: #0a7a5c;
	--t-gold: #846b00;
	--t-purple: #6c0d9e;
	--t-blue: #0f7499;
	--accent: #c25a19;
	--accent-dark: #a14a13;
}

/* Multicolour stripe under the header */
.site-header {
	border-bottom: 0;
}

.site-header::after {
	content: "";
	display: block;
	height: 4px;
	background: linear-gradient(90deg,
		var(--c-orange) 0 16.66%, var(--c-green) 16.66% 33.33%, var(--c-gold) 33.33% 50%,
		var(--c-purple) 50% 66.66%, var(--c-blue) 66.66% 83.33%, #a8a29e 83.33% 100%);
}

/* Colour-coded menu, as on the old site */
.site-nav li { --nav-c: var(--accent); }
.site-nav li.page-item-4 { --nav-c: var(--c-orange); }
.site-nav li.page-item-11 { --nav-c: var(--c-green); }
.site-nav li.page-item-13 { --nav-c: var(--c-gold); }
.site-nav li.page-item-16 { --nav-c: var(--c-purple); }
.site-nav li.page-item-9 { --nav-c: var(--c-blue); }
.site-nav li.page-item-18 { --nav-c: var(--c-grey); }

.site-nav a:hover {
	background: transparent;
	box-shadow: inset 0 -3px 0 var(--nav-c);
	border-radius: 0;
}

.site-nav .current_page_item > a {
	color: var(--navy);
	font-weight: 600;
	box-shadow: inset 0 -3px 0 var(--nav-c);
}

@media (max-width: 1000px) {
	.site-nav a { border-left: 4px solid var(--nav-c); padding-left: 12px; }
	.site-nav a:hover, .site-nav .current_page_item > a { box-shadow: none; background: var(--paper); }
}

/* Brighter hero */
.hero {
	background:
		radial-gradient(circle at 88% 18%, rgba(240, 105, 0, .30), transparent 40%),
		radial-gradient(circle at 8% 110%, rgba(31, 173, 219, .38), transparent 45%),
		linear-gradient(135deg, #13294b 0%, #1c4373 100%);
}

.hero .eyebrow,
.page-hero .eyebrow {
	color: #ffb07a;
}

.page-hero {
	background:
		radial-gradient(circle at 95% 0%, rgba(31, 173, 219, .30), transparent 45%),
		linear-gradient(135deg, #13294b 0%, #1c4373 100%);
}

/* Colour-coded service cards */
#text-17 { --svc: var(--c-green);  --svc-t: var(--t-green); }
#text-18 { --svc: var(--c-gold);   --svc-t: var(--t-gold); }
#text-19 { --svc: var(--c-purple); --svc-t: var(--t-purple); }
#text-20 { --svc: var(--c-blue);   --svc-t: var(--t-blue); }

.service-grid .widget {
	border-top: 4px solid var(--svc, var(--accent));
}

.service-grid .widget::before {
	background-color: color-mix(in srgb, var(--svc, var(--accent)) 14%, white);
}

.service-grid .widget:hover {
	box-shadow: 0 14px 30px color-mix(in srgb, var(--svc, var(--navy)) 22%, transparent);
}

.service-grid a {
	color: var(--svc-t, var(--accent));
}

#text-17::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e9c76' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M10 20v-6h4v6'/%3E%3C/svg%3E"); }
#text-18::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a88a10' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='1'/%3E%3Cpath d='M9 7h2M13 7h2M9 11h2M13 11h2M9 15h2M13 15h2M11 21v-3h2v3'/%3E%3C/svg%3E"); }
#text-19::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23790eb0' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.5 3.8 5.5 3.8 9s-1.3 6.5-3.8 9c-2.5-2.5-3.8-5.5-3.8-9S9.5 5.5 12 3z'/%3E%3C/svg%3E"); }
#text-20::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231595c2' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='15' r='4'/%3E%3Cpath d='M11 12l8-8M16 7l2 2M14 9l2 2'/%3E%3C/svg%3E"); }

/* Testimonials with coloured side bars */
.testimonial { border-left: 4px solid var(--c-orange); }
.testimonial:nth-child(2) { border-left-color: var(--c-green); }
.testimonial:nth-child(3) { border-left-color: var(--c-blue); }
.testimonial:nth-child(4) { border-left-color: var(--c-purple); }
.testimonial:nth-child(2)::before { color: var(--c-green); }
.testimonial:nth-child(3)::before { color: var(--c-blue); }
.testimonial:nth-child(4)::before { color: var(--c-purple); }

/* Sidebar labels in brand blue */
.sidebar .pageintrobig,
.sidebar .catchphraseheading {
	color: var(--t-blue);
}

/* Blue enquiry band */
.cta-band {
	background: linear-gradient(135deg, #0d6a8c 0%, #0f7fa8 100%);
	border-top: 0;
	color: #fff;
}

.cta-inner h2 { color: #fff; }
.cta-inner p { color: rgba(255, 255, 255, .88); }
.cta-band .btn-light { border-color: #fff; color: var(--navy); }
.cta-band .btn-primary { background: var(--navy); }
.cta-band .btn-primary:hover { background: #0b1a31; }
/* Top bar: keep the phone number and email on one line each */
.topbar a {
	white-space: nowrap;
}

@media (max-width: 900px) {
	.topbar-reg {
		display: none;
	}

	.topbar-inner {
		justify-content: flex-end;
	}
}

/* =================================================================
   Google reviews (home page)
   ================================================================= */
.feedback-title {
	margin-bottom: 18px;
	font-size: clamp(26px, 3vw, 32px);
}

/* The old "Client Feedback" widget sits under the Google reviews, so its own title is not needed */
.feedback .widget > h4 {
	display: none;
}

.feedback .testimonials {
	margin-top: 16px;
}

.stars {
	position: relative;
	display: inline-block;
	font-size: 20px;
	line-height: 1;
	letter-spacing: 2px;
	color: #d8d2c6;
	white-space: nowrap;
}

.stars::before {
	content: "\2605\2605\2605\2605\2605";
}

.stars-fill {
	position: absolute;
	inset: 0 auto 0 0;
	overflow: hidden;
	color: #f2a516;
}

.stars-fill::before {
	content: "\2605\2605\2605\2605\2605";
}

.g-summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px 24px;
	padding: 22px 24px;
	background: var(--white);
	border-radius: var(--radius);
	border-top: 4px solid #4285f4;
	box-shadow: 0 8px 24px rgba(19, 41, 75, .06);
}

.g-score {
	display: flex;
	align-items: center;
	gap: 16px;
}

.g-rating {
	font: 600 48px/1 var(--serif);
	color: var(--navy);
}

.g-count {
	margin: 6px 0 0;
	font-size: 14px;
	color: var(--muted);
}

.g-count strong {
	color: var(--ink);
}

.g-asof {
	white-space: nowrap;
}

.g-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.btn-outline {
	border-color: var(--navy);
	color: var(--navy);
	background: transparent;
}

.btn-outline:hover {
	background: var(--paper);
	color: var(--navy);
}

.g-list {
	display: grid;
	gap: 16px;
	margin-top: 16px;
}

.g-review {
	margin: 0;
	padding: 22px 26px;
	background: var(--white);
	border-radius: var(--radius);
	border-left: 4px solid #4285f4;
	box-shadow: 0 8px 24px rgba(19, 41, 75, .06);
}

.g-review-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.g-review .stars {
	font-size: 16px;
}

.g-source {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--muted);
}

.g-review p {
	margin: 0 0 10px;
	font: 500 17px/1.55 var(--serif);
	color: var(--navy);
}

.g-review cite {
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	color: var(--ink);
}

.g-review cite span {
	font-weight: 400;
	color: var(--muted);
}

@media (max-width: 640px) {
	.g-actions,
	.g-actions .btn {
		width: 100%;
	}

	.g-rating {
		font-size: 40px;
	}
}
