/*
Theme Name:   Revive Hair
Theme URI:    https://www.revivehairyoudesire.co.uk
Author:       Revive Hair
Description:  A blank, fully responsive starter theme for Revive Hair. Mobile-first layout, fluid typography, responsive images with custom crop sizes, accessible navigation and full block editor support.
Version:      1.0.6
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  revive-hair
Tags:         blank, responsive-layout, custom-logo, custom-menu, featured-images, block-styles, wide-blocks, accessibility-ready
*/

/* ==========================================================================
   1. Design tokens — change these to rebrand the whole theme
   ========================================================================== */
:root {
	/* Brand palette — edit colours here */
	--rh-color-whitewood:  #f2ecdf;
	--rh-color-warm-oak:   #d9cfb8;
	--rh-color-ink:        #2c2c2a;
	--rh-color-eucalyptus: #6b7a5e;
	--rh-color-sage:       #a9b79a;
	--rh-color-cloud:      #fbf8f2;
	--rh-color-deep:       #5d6b51; /* darker Eucalyptus for readable links/buttons */

	/* Roles — what each colour is used for across the theme */
	--rh-color-bg:       var(--rh-color-cloud);
	--rh-color-surface:  var(--rh-color-whitewood);
	--rh-color-line:     var(--rh-color-warm-oak);
	--rh-color-text:     var(--rh-color-ink);
	--rh-color-muted:    #6e6a62; /* warm grey for dates/captions, passes AA on both backgrounds */
	--rh-color-brand:    var(--rh-color-deep);  /* links & buttons: AA-safe shade of Eucalyptus */
	--rh-color-brand-2:  var(--rh-color-sage);  /* accents: borders, quote rules */
	--rh-color-on-brand: var(--rh-color-cloud); /* text on buttons */

	--rh-font-body:    "neue-kabel", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--rh-font-heading: "fraunces-variable", Georgia, "Times New Roman", serif;

	/* Fluid type scale: min @ 360px → max @ 1280px */
	--rh-step--1: clamp(0.833rem, 0.81rem + 0.1vw, 0.9rem);
	--rh-step-0:  clamp(0.96875rem, 0.92rem + 0.2vw, 1.0625rem);
	--rh-step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.406rem);
	--rh-step-2:  clamp(1.44rem, 1.3rem + 0.65vw, 1.758rem);
	--rh-step-3:  clamp(1.728rem, 1.5rem + 1.05vw, 2.197rem);
	--rh-step-4:  clamp(2.074rem, 1.72rem + 1.6vw, 2.747rem);
	--rh-step-5:  clamp(2.488rem, 1.95rem + 2.4vw, 3.433rem);

	/* Fluid spacing */
	--rh-space-2xs: clamp(0.25rem, 0.23rem + 0.1vw, 0.3rem);
	--rh-space-xs:  clamp(0.5rem, 0.46rem + 0.2vw, 0.6rem);
	--rh-space-s:   clamp(0.75rem, 0.7rem + 0.25vw, 0.9rem);
	--rh-space-m:   clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
	--rh-space-l:   clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
	--rh-space-xl:  clamp(2rem, 1.6rem + 1.8vw, 3rem);
	--rh-space-2xl: clamp(3rem, 2.3rem + 3vw, 5rem);

	--rh-content: 1380px;  /* readable text column */
	--rh-wide:    1380px; /* site container / alignwide */
	--rh-gutter:  clamp(1rem, 4vw, 2rem);
	--rh-radius:  6px;
	/* Header */
	--rh-logo-w:        180px; /* logo width on phones/tablets */
	--rh-logo-ratio:    0.42;  /* logo height ÷ width (your SVG is 300 × 126) */
	--rh-logo-scrolled: 0.72;  /* logo size in the sliding bar (0.72 = 72%) */
	--rh-header-h-top:  104px; /* header height at the top of the page */
	--rh-header-h:      72px;  /* height of the bar that slides down */
	--rh-header-bg-scrolled: #FFFFFF; /* colour of the sliding bar */
	--rh-nav-gap:       0.5rem; /* space between desktop menu pills */
	--rh-nav-pill-active: var(--rh-color-brand); /* current page pill (Deep eucalyptus, readable with white text) */
	--rh-nav-pill-hover:  rgb(217 207 184 / 0.55); /* soft Warm oak pill on hover */
	--rh-sticky-top:    var(--rh-header-h);  /* space kept clear under the sliding bar */
	--rh-admin-bar:     0px;   /* set automatically when you're logged in */

	/* Motion: one easing curve for every transition keeps movement consistent */
	--rh-ease:     cubic-bezier(0.22, 1, 0.36, 1); /* fast start, long soft landing */
	--rh-dur:      0.45s; /* hovers, small changes */
	--rh-dur-slow: 0.8s;  /* header slide, menu panel, fades */
}
@media (min-width: 960px) {
	:root {
		--rh-logo-w:        260px; /* logo width on desktop */
		--rh-logo-scrolled: 0.5;   /* logo size in the desktop sliding bar */
		--rh-header-h-top:  calc(var(--rh-logo-w) * var(--rh-logo-ratio) + 7rem);
		--rh-header-h:      84px;
	}
}
.admin-bar { --rh-admin-bar: 46px; }
@media (min-width: 783px) { .admin-bar { --rh-admin-bar: 32px; } }
@media (max-width: 600px) { .admin-bar { --rh-admin-bar: 0px; } } /* admin bar scrolls away on small phones */

/* ==========================================================================
   2. Modern reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--rh-sticky-top) + var(--rh-admin-bar) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}
body {
	min-height: 100vh;
	min-height: 100dvh;
	background-image: url('https://www.alldesignonline.com/revivehair/wp-content/uploads/2026/11/revive-wood-background.webp');
	background-repeat: repeat-y;
	background-size: 100% auto;
	background-position: top center;
	background-color: #f5f5f5;
	color: var(--rh-color-text);
	font-family: var(--rh-font-body);
	font-weight: 400; /* Neue Kabel Regular */
	font-size: var(--rh-step-0);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.rh-nav-open { overflow: hidden; }

input, button, textarea, select { font: inherit; color: inherit; }
p, h1, h2, h3, h4, h5, h6, li, figcaption { overflow-wrap: break-word; }
p { text-wrap: pretty; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }

/* ==========================================================================
   3. Responsive media — images, video, embeds
   ========================================================================== */
img, picture, video, canvas, svg {
	display: block;
	max-width: 100%;
	height: auto;
}
img { font-style: italic; } /* styles alt text if an image fails */
iframe, embed, object { max-width: 100%; }

/* Responsive embed wrapper (YouTube/Vimeo via WP's responsive-embeds support) */
.wp-embed-aspect-16-9 .wp-block-embed__wrapper,
.wp-embed-aspect-4-3 .wp-block-embed__wrapper { position: relative; }
.wp-has-aspect-ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Manual wrapper for embeds outside the block editor */
.rh-embed { position: relative; aspect-ratio: 16 / 9; }
.rh-embed > iframe, .rh-embed > video { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Image ratio utilities — crop any image cleanly at any screen size */
.rh-ratio { position: relative; overflow: hidden; }
.rh-ratio > img, .rh-ratio > video { width: 100%; height: 100%; object-fit: cover; }
.rh-ratio--square    { aspect-ratio: 1 / 1; }
.rh-ratio--portrait  { aspect-ratio: 4 / 5; }
.rh-ratio--landscape { aspect-ratio: 4 / 3; }
.rh-ratio--wide      { aspect-ratio: 16 / 9; }
.rh-ratio--banner    { aspect-ratio: 21 / 9; }
.rh-cover   { width: 100%; height: 100%; object-fit: cover; }
.rh-contain { width: 100%; height: 100%; object-fit: contain; }

/* ==========================================================================
   4. Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--rh-font-heading);
	color: var(--rh-color-ink);
	font-weight: 400;
	line-height: 1.15;
	margin-block: 0 0.5em;
}

/* Fraunces settings for everything that uses the heading font:
   optical size adjusts to the text size, standard upright letters, sharp corners */
h1, h2, h3, h4, h5, h6, .site-title, .rh-result__number {
	font-optical-sizing: auto;
	font-variation-settings: "SOFT" 0, "WONK" 0;
}
h1 { font-size: var(--rh-step-5); }
h2 { font-size: var(--rh-step-4); }
h3 { font-size: var(--rh-step-3); }
h4 { font-size: var(--rh-step-2); }
h5 { font-size: var(--rh-step-1); }
h6 { font-size: var(--rh-step-0); }

p, ul, ol, dl, blockquote, pre, table, figure { margin-block: 0 var(--rh-space-m); }
ul, ol { padding-left: 1.25em; }
small { font-size: var(--rh-step--1); }

a {
	color: var(--rh-color-brand);
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
	transition: color var(--rh-dur) var(--rh-ease), text-decoration-color var(--rh-dur) var(--rh-ease);
}
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--rh-color-brand); outline-offset: 3px; }

blockquote { border-left: 3px solid var(--rh-color-brand-2); padding-left: var(--rh-space-m); font-style: italic; }
hr { border: 0; border-top: 1px solid var(--rh-color-line); margin-block: var(--rh-space-xl); }
pre { overflow-x: auto; padding: var(--rh-space-m); background: var(--rh-color-surface); border-radius: var(--rh-radius); }

/* Tables scroll on small screens instead of breaking the layout */
table { width: 100%; border-collapse: collapse; }
th, td { padding: var(--rh-space-xs) var(--rh-space-s); border-bottom: 1px solid var(--rh-color-line); text-align: left; }
.wp-block-table { overflow-x: auto; }

/* ==========================================================================
   5. Layout
   ========================================================================== */
.rh-container {
	width: 100%;
	max-width: calc(var(--rh-wide) + var(--rh-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--rh-gutter);
}
.site { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.site-main { flex: 1; padding-block: var(--rh-space-xl); }

/* Content flow: text constrained, wide/full blocks break out */
.entry-content > * { max-width: var(--rh-content); margin-inline: auto; }
.entry-content > .alignwide { max-width: var(--rh-wide); }
.entry-content > .alignfull {
	max-width: none;
	width: 100vw;
	margin-inline: calc(50% - 50vw);
}
.entry-header, .page-header { max-width: var(--rh-content); margin: 0 auto var(--rh-space-l); }

.rh-grid {
	display: grid;
	gap: var(--rh-space-l);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

/* ==========================================================================
   6. Header & navigation
   At the top of the page the header sits on the background with a large
   logo (desktop: logo centred, menu underneath). Once you scroll past it,
   a slimmer bar slides down with a coloured background and stays at the top.
   Back at the top, the full header fades back in.
   ========================================================================== */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; }
.skip-link:focus { left: 1rem; top: 1rem; padding: 0.75rem 1rem; background: var(--rh-color-bg); color: var(--rh-color-ink); }

.site {
	position: relative;
	padding-top: var(--rh-header-h-top); /* room for the header at the top */
}

.site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background-color: transparent;
	transition: opacity var(--rh-dur-slow) var(--rh-ease);
}
.site-header.is-settling { opacity: 0; transition: none; }

/* Stuck: fixed to the top, parked just above the screen... */
.site-header.is-stuck {
	position: fixed;
	top: var(--rh-admin-bar);
	background-color: var(--rh-header-bg-scrolled);
	box-shadow: 0 10px 30px -12px rgb(44 44 42 / 0.18);
	transform: translateY(-100%);
	transition: none;
}
/* ...then slides down into view */
.site-header.is-stuck.is-shown {
	transform: translateY(0);
	transition: transform var(--rh-dur-slow) var(--rh-ease);
}

.site-header__inner {
	display: grid;
	grid-template-columns: 44px 1fr 44px;
	align-items: center;
	min-height: var(--rh-header-h-top);
}
.site-header.is-stuck .site-header__inner { min-height: var(--rh-header-h); }

.site-branding {
	grid-column: 2;
	display: flex;
	justify-content: center;
}
.main-navigation { grid-column: 3; }

/* Logo */
.custom-logo-link { display: block; line-height: 0; }
.custom-logo {
	width: var(--rh-logo-w);
	height: auto; /* overrides WordPress's width/height attributes, needed for SVGs */
	max-height: none;
}
.custom-logo, .site-title {
	transform-origin: center;
	transition: transform var(--rh-dur-slow) var(--rh-ease), filter var(--rh-dur-slow) var(--rh-ease);
}
.site-header.is-stuck .custom-logo,
.site-header.is-stuck .site-title { transform: scale(var(--rh-logo-scrolled)); }
.site-title { font-family: var(--rh-font-heading); font-size: var(--rh-step-3); margin: 0; line-height: 1; }
.site-title a { color: var(--rh-color-ink); text-decoration: none; }

/* For a dark sliding bar (e.g. --rh-header-bg-scrolled: var(--rh-color-eucalyptus)),
   uncomment these lines to turn the logo, links and menu button white:
.site-header.is-stuck .custom-logo { filter: brightness(0) invert(1); }
@media (min-width: 960px) { .site-header.is-stuck .main-navigation a { color: var(--rh-color-cloud); } }
.site-header.is-stuck .menu-toggle__bars,
.site-header.is-stuck .menu-toggle__bars::before,
.site-header.is-stuck .menu-toggle__bars::after { background-color: var(--rh-color-cloud); }
.site-header.is-stuck .menu-toggle[aria-expanded="true"] .menu-toggle__bars { background-color: transparent; }
*/

/* Hamburger */
.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: none;
	border: 0;
	cursor: pointer;
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
	display: block;
	width: 22px;
	height: 2px;
	background-color: var(--rh-color-ink);
	transition:
		transform var(--rh-dur-slow) var(--rh-ease),
		background-color var(--rh-dur) var(--rh-ease);
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -7px; }
.menu-toggle__bars::after  { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background-color: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after  { transform: translateY(-7px) rotate(-45deg); }

/* Phone menu panel: hangs below the bar and fills the rest of the screen */
.main-navigation .menu-wrap {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: calc(100vh - var(--rh-header-h) - var(--rh-admin-bar));
	height: calc(100dvh - var(--rh-header-h) - var(--rh-admin-bar));
	background: var(--rh-header-bg-scrolled);
	padding: var(--rh-space-l) var(--rh-gutter);
	overflow-y: auto;
	visibility: hidden;
	opacity: 0;
	transform: translateY(-12px);
	transition:
		opacity var(--rh-dur-slow) var(--rh-ease),
		transform var(--rh-dur-slow) var(--rh-ease),
		visibility 0s linear var(--rh-dur-slow);
}
.main-navigation.is-open .menu-wrap {
	visibility: visible;
	opacity: 1;
	transform: none;
	transition:
		opacity var(--rh-dur-slow) var(--rh-ease),
		transform var(--rh-dur-slow) var(--rh-ease),
		visibility 0s;
}
.main-navigation ul { list-style: none; padding: 0; margin: 0; }
.main-navigation li { position: relative; }

/* Menu links drift in one after another when the panel opens */
.main-navigation .menu > li {
	opacity: 0;
	transform: translateY(10px);
	transition: opacity var(--rh-dur) var(--rh-ease), transform var(--rh-dur) var(--rh-ease);
}
.main-navigation.is-open .menu > li {
	opacity: 1;
	transform: none;
	transition-duration: var(--rh-dur-slow);
}
.main-navigation.is-open .menu > li:nth-child(1) { transition-delay: 0.08s; }
.main-navigation.is-open .menu > li:nth-child(2) { transition-delay: 0.14s; }
.main-navigation.is-open .menu > li:nth-child(3) { transition-delay: 0.20s; }
.main-navigation.is-open .menu > li:nth-child(4) { transition-delay: 0.26s; }
.main-navigation.is-open .menu > li:nth-child(5) { transition-delay: 0.32s; }
.main-navigation.is-open .menu > li:nth-child(n+6) { transition-delay: 0.38s; }

.main-navigation a {
	display: block;
	padding: 0.85em 1.4em;
	border-radius: 999px;
	color: var(--rh-color-ink);
	text-decoration: none;
	font-family: var(--rh-font-body);
	font-size: var(--rh-step-1);
	letter-spacing: 0.06em;
	line-height: 1.3;
	transition:
		background-color var(--rh-dur) var(--rh-ease),
		color var(--rh-dur) var(--rh-ease);
}
.main-navigation .menu > li + li { margin-top: 0.25rem; }
.main-navigation a:hover,
.main-navigation a:focus-visible { background-color: var(--rh-nav-pill-hover); }
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
	background-color: var(--rh-nav-pill-active);
	color: var(--rh-color-on-brand);
}
.main-navigation .sub-menu { padding-left: var(--rh-space-m); display: none; }
.main-navigation .sub-menu a { font-size: var(--rh-step-0); padding-block: 0.6em; }
.main-navigation .is-submenu-open > .sub-menu { display: block; }
.submenu-toggle {
	position: absolute;
	right: 0;
	top: 0.35rem;
	width: 44px;
	height: 44px;
	background: none;
	border: 0;
	cursor: pointer;
}
.submenu-toggle::after {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform var(--rh-dur) var(--rh-ease);
}
.is-submenu-open > .submenu-toggle::after { transform: rotate(-135deg); }

/* ---- Desktop ---- */
@media (min-width: 960px) {
	/* Top of page: logo centred, menu underneath */
	.site-header__inner {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: var(--rh-space-s);
		height: var(--rh-header-h-top);
		min-height: 0;
	}
	/* Sliding bar: logo left, menu right */
	.site-header.is-stuck .site-header__inner {
		flex-direction: row;
		justify-content: space-between;
		height: var(--rh-header-h);
		min-height: 0;
	}
	.site-header.is-stuck .custom-logo,
	.site-header.is-stuck .site-title { transform-origin: left center; }

	.menu-toggle { display: none; }
	.main-navigation .menu-wrap,
	.main-navigation.is-open .menu-wrap {
		position: static;
		height: auto;
		padding: 0;
		visibility: visible;
		opacity: 1;
		transform: none;
		overflow: visible;
		background: none;
		transition: none;
	}
	.main-navigation .menu > li { opacity: 1; transform: none; transition: none; }
	.main-navigation .menu {
		display: flex;
		justify-content: center;
		gap: var(--rh-nav-gap);
	}

	/* Links: soft pills. Current page in Eucalyptus, a cream pill fades in on hover */
	.main-navigation .menu { align-items: center; }
	.main-navigation .menu > li + li { margin-top: 0; }
	.main-navigation a {
		font-size: 1rem;
		letter-spacing: 0.06em;
		line-height: 1.4;
		padding: 0.6em 1.4em;
	}
	.main-navigation .sub-menu a { border-radius: var(--rh-radius); }

	.main-navigation .submenu-toggle { display: none; }
	.main-navigation .sub-menu {
		display: block;
		position: absolute;
		top: 100%;
		left: 50%;
		min-width: 220px;
		padding: var(--rh-space-xs) var(--rh-space-m);
		background: var(--rh-color-bg);
		border: 1px solid var(--rh-color-line);
		border-radius: var(--rh-radius);
		box-shadow: 0 16px 40px -20px rgb(44 44 42 / 0.25);
		text-align: left;
		visibility: hidden;
		opacity: 0;
		transform: translate(-50%, 8px);
		transition:
			opacity var(--rh-dur) var(--rh-ease),
			transform var(--rh-dur) var(--rh-ease),
			visibility 0s linear var(--rh-dur);
		z-index: 10;
	}
	.main-navigation .sub-menu a { font-size: 0.9375rem; letter-spacing: 0.04em; padding-block: 0.5em; }
	.main-navigation li:hover > .sub-menu,
	.main-navigation li:focus-within > .sub-menu {
		visibility: visible;
		opacity: 1;
		transform: translate(-50%, 0);
		transition-delay: 0s;
	}
	.main-navigation .sub-menu .sub-menu { top: 0; left: 100%; transform: translateX(8px); }
	.main-navigation .sub-menu li:hover > .sub-menu,
	.main-navigation .sub-menu li:focus-within > .sub-menu { transform: none; }
}

/* ==========================================================================
   7. Posts, featured images, archives
   ========================================================================== */
.post-thumbnail { margin-bottom: var(--rh-space-l); }
.post-thumbnail img { width: 100%; border-radius: var(--rh-radius); }
.single .post-thumbnail, .page .post-thumbnail { max-width: var(--rh-wide); margin-inline: auto; }

.entry-meta, .entry-footer { font-size: var(--rh-step--1); color: var(--rh-color-muted); }
.entry-title a { color: inherit; text-decoration: none; }

.rh-card { display: flex; flex-direction: column; }
.rh-card .post-thumbnail { margin-bottom: var(--rh-space-s); }
.rh-card .entry-title { font-size: var(--rh-step-2); }

.pagination, .nav-links { display: flex; flex-wrap: wrap; gap: var(--rh-space-xs); justify-content: center; margin-top: var(--rh-space-xl); }
.page-numbers { padding: var(--rh-space-xs) var(--rh-space-s); border: 1px solid var(--rh-color-line); border-radius: var(--rh-radius); text-decoration: none; }
.page-numbers.current { background: var(--rh-color-brand); color: var(--rh-color-on-brand); border-color: var(--rh-color-brand); }

/* ==========================================================================
   8. Forms & buttons
   ========================================================================== */
.rh-button, button[type="submit"], input[type="submit"], .wp-block-button__link {
	display: inline-block;
	padding: 0.75em 1.5em;
	background: var(--rh-color-brand);
	color: var(--rh-color-on-brand);
	border: 0;
	border-radius: var(--rh-radius);
	text-decoration: none;
	cursor: pointer;
	min-height: 44px;
	transition: background-color var(--rh-dur) var(--rh-ease), color var(--rh-dur) var(--rh-ease);
}
.rh-button:hover, button[type="submit"]:hover, input[type="submit"]:hover { background: var(--rh-color-ink); }

/* WPBakery buttons, styled to match the design: Fraunces with a little letter
   spacing, square-ish corners, generous width. Colours still come from each
   button's own settings in WPBakery. */
.vc_btn3-container .vc_general.vc_btn3 {
	min-width: 200px;
	min-height: 44px;
	padding: 1em 2.6em;
	border: 1px solid transparent;   /* WPBakery adds a 1px border on hover; having it all the time stops the jump */
	border-radius: 2px;
	font-family: var(--rh-font-heading);
	font-size: 0.9375rem;
	font-weight: 400;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-align: center;
	text-transform: none;
	transition: box-shadow var(--rh-dur) var(--rh-ease);
}
.vc_btn3-container .vc_general.vc_btn3:hover,
.vc_btn3-container .vc_general.vc_btn3:focus { border: 1px solid transparent; }
/* Hover: the button's own colour gently deepens; it doesn't move or change size */
.vc_btn3-container .vc_general.vc_btn3:hover { box-shadow: inset 0 0 0 100vmax rgba(0, 0, 0, 0.1); }
.vc_btn3-container .vc_general.vc_btn3:focus-visible { outline: 2px solid var(--rh-color-deep); outline-offset: 3px; }

/* No outline box when a link or button is clicked with a mouse or tapped.
   Keyboard users still get the outline, so they can see where they are. */
:focus:not(:focus-visible) { outline: none; }

input[type="text"], input[type="email"], input[type="url"], input[type="tel"],
input[type="search"], input[type="password"], input[type="number"], input[type="date"],
textarea, select {
	width: 100%;
	padding: 0.7em 0.9em;
	border: 1px solid var(--rh-color-line);
	border-radius: var(--rh-radius);
	background: var(--rh-color-bg);
	font-size: max(16px, 1rem); /* stops iOS zooming into fields */
}
.search-form { display: flex; gap: var(--rh-space-xs); }
.search-form label { flex: 1; }

/* ==========================================================================
   9. Footer
   ========================================================================== */
.site-footer {
	background: var(--rh-color-surface);
	padding-block: var(--rh-space-xl);
	font-size: var(--rh-step--1);
	color: var(--rh-color-muted);
}
.footer-widgets { display: grid; gap: var(--rh-space-l); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin-bottom: var(--rh-space-l); }
.footer-navigation ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--rh-space-m); }
.footer-navigation a { color: inherit; }
.site-info { padding-top: var(--rh-space-m); border-top: 1px solid var(--rh-color-line); }

/* ==========================================================================
   10. WordPress core classes
   ========================================================================== */
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.screen-reader-text:focus {
	clip: auto !important; clip-path: none; height: auto; width: auto;
	display: block; left: 5px; top: 5px; padding: 15px 23px 14px; z-index: 100000;
	background: var(--rh-color-bg); color: var(--rh-color-ink);
}
.alignleft, .alignright { margin-bottom: var(--rh-space-m); }
@media (min-width: 600px) {
	.alignleft  { float: left;  margin-right: var(--rh-space-l); max-width: 50%; }
	.alignright { float: right; margin-left:  var(--rh-space-l); max-width: 50%; }
}
.aligncenter { display: block; margin-inline: auto; }
.wp-caption, .wp-block-image figcaption { max-width: 100%; }
.wp-caption-text, figcaption { font-size: var(--rh-step--1); color: var(--rh-color-muted); margin-top: var(--rh-space-xs); }
.gallery { display: grid; gap: var(--rh-space-s); grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); }
.gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.sticky, .bypostauthor { display: block; }
.entry-content::after { content: ""; display: table; clear: both; }

/* ==========================================================================
   11. Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* ==========================================================================
   12. Before & After cards — revive_hair_results() / [revive_results]
   ==========================================================================
   Note: the stacking effect uses position: sticky. If you wrap the section
   in a container with overflow: hidden, sticky will stop working — use
   overflow: clip instead.
   ========================================================================== */
.rh-results {
	--rh-result-bg:      var(--rh-color-deep);  /* panel colour */
	--rh-result-text:    var(--rh-color-cloud);
	--rh-result-accent:  var(--rh-color-eucalyptus); /* Before/After labels & handle */
	--rh-result-radius:  10px;
	--rh-result-gap:     var(--rh-space-xl);   /* scroll distance between cards */
	--rh-result-peek:    14px;                 /* how much of each stacked card shows */
	--rh-result-top:     calc(var(--rh-sticky-top) + var(--rh-admin-bar) + var(--rh-space-m));

	display: grid;
	gap: var(--rh-result-gap);
	max-width: var(--rh-wide);
	margin-inline: auto;
}

.rh-result {
	position: sticky;
	top: calc(var(--rh-result-top) + var(--i, 0) * var(--rh-result-peek));
}

.rh-result__inner {
	display: grid;
	grid-template-columns: 1fr;
	background: var(--rh-result-bg);
	color: var(--rh-result-text);
	border-radius: var(--rh-result-radius);
	overflow: hidden;
	box-shadow: 0 -6px 24px rgb(44 44 42 / 0.12);
	transform-origin: center top;
	transform: scale(calc(1 - var(--shrink, 0) * 0.05));
	filter: brightness(calc(1 - var(--shrink, 0) * 0.12));
	will-change: transform;
}

@media (min-width: 960px) {
	.rh-result__inner { grid-template-columns: 2fr 3fr; }
}

/* ---- Comparison slider ---- */
.rh-compare {
	--pos: 50%;
	position: relative;
	aspect-ratio: 1 / 1;
	max-height: 55svh;
	width: 100%;
	overflow: hidden;
	cursor: ew-resize;
	touch-action: pan-y;          /* vertical swipes scroll the page */
	user-select: none;
	-webkit-user-select: none;
	-webkit-tap-highlight-color: transparent;
	background: var(--rh-color-warm-oak);
}
@media (min-width: 960px) {
	.rh-compare { max-height: none; height: 100%; }
}

.rh-compare__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}
.rh-compare__after {
	position: absolute;
	inset: 0;
	clip-path: inset(0 0 0 var(--pos));
}

.rh-compare__divider {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--pos);
	width: 2px;
	margin-left: -1px;
	background: var(--rh-color-cloud);
	pointer-events: none;
}
.rh-compare__handle {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--rh-result-accent);
	color: var(--rh-color-cloud);
	border: 2px solid var(--rh-color-cloud);
	transform: translate(-50%, -50%);
	transition: transform 0.15s ease;
}
.rh-compare.is-dragging .rh-compare__handle { transform: translate(-50%, -50%) scale(1.1); }

.rh-compare__label {
	position: absolute;
	top: var(--rh-space-s);
	padding: 0.3em 0.9em;
	border-radius: 3px;
	background: var(--rh-result-accent);
	color: var(--rh-color-cloud);
	font-size: var(--rh-step--1);
	line-height: 1.4;
	pointer-events: none;
}
.rh-compare__label--before { left: var(--rh-space-s); }
.rh-compare__label--after  { right: var(--rh-space-s); }

/* Range input: invisible, but focusable for keyboard & screen readers */
.rh-compare__range {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}
.rh-compare:has(.rh-compare__range:focus-visible) .rh-compare__handle {
	outline: 3px solid var(--rh-color-cloud);
	outline-offset: 3px;
}

/* ---- Text panel ---- */
.rh-result__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: var(--rh-space-l);
	padding-top: calc(var(--rh-space-l) + 1.5rem);
}
.rh-result__number {
	position: absolute;
	top: var(--rh-space-s);
	right: var(--rh-space-m);
	font-family: var(--rh-font-heading);
	font-size: var(--rh-step-4);
	line-height: 1;
	color: var(--rh-color-sage);
	opacity: 0.85;
}
.rh-result__title {
	font-size: var(--rh-step-2);
	color: inherit;
	margin-bottom: var(--rh-space-xs);
}
.rh-result__text {
	font-size: var(--rh-step--1);
	line-height: 1.65;
}
.rh-result__text p:last-child { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
	.rh-result__inner { transform: none; filter: none; }
}

/* ==========================================================================
   13. Your custom styles
   --------------------------------------------------------------------------
   13a  WPBakery layout fixes ...... stretched rows, section gaps, column gaps, rh-reverse-mobile
   13b  Text styles ................ rh-eyebrow, rh-display
   13c  Section & image classes .... rh-pad, rh-rounded
   13d  Video header ............... rh-hero
   13e  Contact form ............... rh-form
   13f  Footer ..................... opening hours, footer text, footer logo
   13g  Service cards .............. rh-service, rh-service--feature
   13h  Page tweaks
   ========================================================================== */


/* --------------------------------------------------------------------------
   13a. WPBakery layout fixes
   -------------------------------------------------------------------------- */

/* "Stretch row and content": 30px in from the screen edges (20px on phones).
   Add rh-stretch-gutter to a "Stretch row" to give it the same margins. */
.site-main { container-type: inline-size; }

.vc_row[data-vc-full-width][data-vc-stretch-content="true"]:not(.vc_row-no-padding):not(.rh-edge-to-edge),
.vc_row[data-vc-full-width].rh-stretch-gutter {
	--rh-stretch-gutter: clamp(20px, 10px + 2.5vw, 30px);
	left: auto !important;
	width: auto !important;
	max-width: none !important;
	margin-left: calc((100% - 100cqw) / 2 + var(--rh-stretch-gutter)) !important;
	margin-right: calc((100% - 100cqw) / 2 + var(--rh-stretch-gutter)) !important;
}

/* Lets sticky things (Before & After cards, price list headings) work inside stretched rows */
body .vc_row[data-vc-full-width] { overflow: clip; }

/* Space between sections: 100px on desktop, 60px on phones.
   rh-no-gap removes it from a row; rh-gap adds it to a row without a background. */
.wpb-content-wrapper > .vc_row-has-fill:not(:first-child):not(.rh-no-gap),
.wpb-content-wrapper > .vc_row.rh-gap {
	margin-top: clamp(60px, 40px + 4vw, 100px);
}

/* Rows nested inside a stretched row keep to the normal 1380px width
   (rh-inner-full lets a nested row run the full width instead) */
.vc_row[data-vc-stretch-content="true"] .vc_row.vc_inner:not(.rh-inner-full) {
	max-width: none;
	margin-left: max(-15px, (100% - (var(--rh-wide, 1380px) + 30px)) / 2);
	margin-right: max(-15px, (100% - (var(--rh-wide, 1380px) + 30px)) / 2);
}

/* Nested rows that use a column gap don't need WPBakery's -15px side margins (the gap does
   the spacing), otherwise their content runs right to the edge on phones */
.vc_row .vc_row.vc_inner[class*="vc_column-gap-"][class*="px"]:not(.rh-inner-full) {
	margin-left: max(0px, (100% - var(--rh-wide, 1380px)) / 2);
	margin-right: max(0px, (100% - var(--rh-wide, 1380px)) / 2);
}

/* ...and inside a "Stretch row and content (no paddings)" row, e.g. the footer,
   they also keep a gutter on smaller screens */
.vc_row[data-vc-stretch-content="true"].vc_row-no-padding .vc_row.vc_inner:not(.rh-inner-full) {
	--rh-inner-gutter: clamp(20px, 10px + 2.5vw, 30px);
	margin-left: max(var(--rh-inner-gutter), (100% - var(--rh-wide, 1380px)) / 2);
	margin-right: max(var(--rh-inner-gutter), (100% - var(--rh-wide, 1380px)) / 2);
}

/* Column gaps on inner rows: makes WPBakery's own gap setting (1px–40px) work */
.vc_column-gap-1px  { --rh-col-gap: 1px; }
.vc_column-gap-2px  { --rh-col-gap: 2px; }
.vc_column-gap-3px  { --rh-col-gap: 3px; }
.vc_column-gap-4px  { --rh-col-gap: 4px; }
.vc_column-gap-5px  { --rh-col-gap: 5px; }
.vc_column-gap-10px { --rh-col-gap: 10px; }
.vc_column-gap-15px { --rh-col-gap: 15px; }
.vc_column-gap-20px { --rh-col-gap: 20px; }
.vc_column-gap-25px { --rh-col-gap: 25px; }
.vc_column-gap-30px { --rh-col-gap: 30px; }
.vc_column-gap-35px { --rh-col-gap: 35px; }
.vc_column-gap-40px { --rh-col-gap: 40px; }

/* Any row with one of the gap classes above (they all contain "vc_column-gap-" and end in "px").
 It becomes a 12-part grid. Column widths come from WPBakery's width classes, including the
 Responsive options (xs = phones, sm = 768px+, md = 992px+, lg = 1200px+, xl = 1400px+).
 A column with no width is full width on phones, and shares the row equally from 768px. */
.vc_row[class*="vc_column-gap-"][class*="px"] {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: var(--rh-col-gap);
}
.vc_row[class*="vc_column-gap-"][class*="px"]::before,
.vc_row[class*="vc_column-gap-"][class*="px"]::after { display: none; }
.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_column_container { float: none; width: auto; padding: 0; }
:where(.vc_row[class*="vc_column-gap-"][class*="px"]) > .vc_column_container { grid-column: span 12; } /* default: full width */
.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_column_container > .vc_column-inner { padding-left: 0; padding-right: 0; }

/* phones and up */
.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-xs-1 { grid-column: span 1; }
.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-xs-2 { grid-column: span 2; }
.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-xs-3 { grid-column: span 3; }
.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-xs-4 { grid-column: span 4; }
.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-xs-5 { grid-column: span 5; }
.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-xs-6 { grid-column: span 6; }
.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-xs-7 { grid-column: span 7; }
.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-xs-8 { grid-column: span 8; }
.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-xs-9 { grid-column: span 9; }
.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-xs-10 { grid-column: span 10; }
.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-xs-11 { grid-column: span 11; }
.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-xs-12 { grid-column: span 12; }
@media (min-width: 768px) {
	:where(.vc_row[class*="vc_column-gap-"][class*="px"]:has(> .vc_column_container:nth-child(2):last-child)) > .vc_column_container:not([class*="vc_col-"]) { grid-column: span 6; }
	:where(.vc_row[class*="vc_column-gap-"][class*="px"]:has(> .vc_column_container:nth-child(3):last-child)) > .vc_column_container:not([class*="vc_col-"]) { grid-column: span 4; }
	:where(.vc_row[class*="vc_column-gap-"][class*="px"]:has(> .vc_column_container:nth-child(4):last-child)) > .vc_column_container:not([class*="vc_col-"]) { grid-column: span 3; }
	:where(.vc_row[class*="vc_column-gap-"][class*="px"]:has(> .vc_column_container:nth-child(6):last-child)) > .vc_column_container:not([class*="vc_col-"]) { grid-column: span 2; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-sm-1 { grid-column: span 1; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-sm-2 { grid-column: span 2; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-sm-3 { grid-column: span 3; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-sm-4 { grid-column: span 4; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-sm-5 { grid-column: span 5; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-sm-6 { grid-column: span 6; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-sm-7 { grid-column: span 7; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-sm-8 { grid-column: span 8; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-sm-9 { grid-column: span 9; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-sm-10 { grid-column: span 10; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-sm-11 { grid-column: span 11; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-sm-12 { grid-column: span 12; }
}
@media (min-width: 992px) {
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-md-1 { grid-column: span 1; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-md-2 { grid-column: span 2; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-md-3 { grid-column: span 3; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-md-4 { grid-column: span 4; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-md-5 { grid-column: span 5; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-md-6 { grid-column: span 6; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-md-7 { grid-column: span 7; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-md-8 { grid-column: span 8; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-md-9 { grid-column: span 9; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-md-10 { grid-column: span 10; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-md-11 { grid-column: span 11; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-md-12 { grid-column: span 12; }
}
@media (min-width: 1200px) {
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-lg-1 { grid-column: span 1; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-lg-2 { grid-column: span 2; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-lg-3 { grid-column: span 3; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-lg-4 { grid-column: span 4; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-lg-5 { grid-column: span 5; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-lg-6 { grid-column: span 6; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-lg-7 { grid-column: span 7; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-lg-8 { grid-column: span 8; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-lg-9 { grid-column: span 9; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-lg-10 { grid-column: span 10; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-lg-11 { grid-column: span 11; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-lg-12 { grid-column: span 12; }
}
@media (min-width: 1400px) {
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-xl-1 { grid-column: span 1; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-xl-2 { grid-column: span 2; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-xl-3 { grid-column: span 3; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-xl-4 { grid-column: span 4; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-xl-5 { grid-column: span 5; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-xl-6 { grid-column: span 6; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-xl-7 { grid-column: span 7; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-xl-8 { grid-column: span 8; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-xl-9 { grid-column: span 9; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-xl-10 { grid-column: span 10; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-xl-11 { grid-column: span 11; }
	.vc_row[class*="vc_column-gap-"][class*="px"] > .vc_col-xl-12 { grid-column: span 12; }
}


/* rh-reverse-mobile: on phones, show a row's columns in reverse order (e.g. text
   above the image). Add it to the Extra class name of the row that holds the
   columns (for an inner row, the inner row itself). */
@media (max-width: 767px) {
	.vc_row.rh-reverse-mobile.rh-reverse-mobile { display: flex; flex-direction: column-reverse; gap: var(--rh-col-gap, 0px); }
	.vc_row.rh-reverse-mobile::before,
	.vc_row.rh-reverse-mobile::after { display: none; }
	.vc_row.rh-reverse-mobile > .vc_column_container { width: 100%; }
}


/* --------------------------------------------------------------------------
   13b. Text styles
   -------------------------------------------------------------------------- */

/* rh-eyebrow: small capitals label above a heading, e.g. "The Revive method".
   It can be a paragraph or a heading (e.g. the H1 in the header) and looks the same. */
.rh-eyebrow,
.rh-eyebrow p,
.rh-eyebrow :is(h1, h2, h3) {
	color: var(--rh-color-eucalyptus, #6b7a5e);
	font-family: var(--rh-font-body);
	font-size: clamp(0.8625rem, 0.83rem + 0.17vw, 1rem); /* about 14px phones, 16px desktop */
	font-weight: 400;
	letter-spacing: 0.08em;
	line-height: 1.5;
	text-transform: uppercase;
}
.rh-eyebrow p,
.rh-eyebrow :is(h1, h2, h3) { margin: 0; color: inherit; text-shadow: none; }
.rh-eyebrow.wpb_content_element { margin-bottom: 0.5rem; }

/* rh-display: makes a paragraph look like the main heading (keeps the H1 free for SEO) */
.rh-display p {
	margin: 0 0 0.35em;
	font-family: var(--rh-font-heading);
	font-size: var(--rh-step-5);
	font-weight: 400;
	line-height: 1.1;
	color: var(--rh-color-ink);
	text-wrap: balance;
	font-optical-sizing: auto;
}


/* --------------------------------------------------------------------------
   13c. Section & image classes
   -------------------------------------------------------------------------- */

/* rh-pad (row): 100px inner padding top and bottom on desktop, 60px on phones */
.vc_row.rh-pad {
	padding-top: clamp(60px, 40px + 4vw, 100px) !important;
	padding-bottom: clamp(60px, 40px + 4vw, 100px) !important;
}
.vc_row.rh-pad > .vc_column_container > .vc_column-inner { padding-top: 0 !important; } /* WPBakery adds 35px here */
.vc_row.rh-pad > .vc_column_container > .vc_column-inner > .wpb_wrapper > :last-child { margin-bottom: 0; }

/* rh-rounded (Single Image, column or row): 40px corners on desktop, 20px on phones */
:root { --rh-round: clamp(20px, 10px + 2.1vw, 40px); }

.rh-rounded img,
.rh-rounded .vc_single_image-wrapper,
.rh-rounded .vc_figure,
.vc_row.rh-rounded,
.rh-rounded > .vc_column-inner {
	border-radius: var(--rh-round);
}
.rh-rounded .vc_single_image-wrapper,
.rh-rounded .vc_figure,
.vc_row.rh-rounded,
.rh-rounded > .vc_column-inner {
	overflow: hidden; /* keeps captions, backgrounds and hover effects inside the curve */
}


/* --------------------------------------------------------------------------
   13d. Video header (rh-hero)

   Row Extra class name:  rh-hero  plus any of
     rh-hero--left     text on the left, tint darker on that side
     rh-hero--bottom   text towards the bottom instead of the middle
     rh-hero--plain    an even tint instead of the shaped one
     rh-hero--warm     a slow-drifting warm glow blended into the footage
     rh-hero--cinema   slow push-in, film grade and fine grain

   Inside the row: a Raw HTML element first (still images, video, grain),
   then your Text Blocks. A Text Block with the class rh-hero-word becomes
   the big see-through word (e.g. DESIRE).
   -------------------------------------------------------------------------- */

/* Settings */
.vc_row.rh-hero {
	--rh-hero-height: clamp(480px, 82svh, 880px);
	--rh-hero-tint: 1;                 /* overall darkness: 0.6 lighter … 1 full */
	--rh-hero-tint-colour: 44, 44, 42;    /* warm charcoal, not flat black */
	--rh-hero-focus: 50% 50%;             /* which part of the video stays in shot on phones */
	--rh-hero-title-size: clamp(2.75rem, 1.4rem + 4.6vw, 5.75rem); /* the big line: about 44px phones, 92px desktop */
	--rh-hero-title-width: 1100px;        /* how wide the big line can run */
	--rh-hero-text-width: 680px;          /* everything else */
	/* also: --rh-hero-warmth (0.8), --rh-hero-grain (0.09), --rh-hero-word-strength (0.28) */
}

/* The row */
.vc_row.rh-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	box-sizing: border-box;
	min-height: var(--rh-hero-height);
	padding-top: clamp(80px, 60px + 5vw, 140px);
	padding-bottom: clamp(80px, 60px + 5vw, 140px);
	color: var(--rh-color-cloud, #fbf8f2);
	text-align: center;
	background-color: rgb(var(--rh-hero-tint-colour));
}
.vc_row.rh-hero--left { text-align: left; }
.vc_row.rh-hero--bottom { align-items: flex-end; }

/* The column lets the video fill the whole row. The "body" versions keep this
   working when the row uses WPBakery's Content position or Equal height settings. */
.vc_row.rh-hero > .wpb_column { position: static; align-self: stretch; }
body .vc_row.rh-hero > .wpb_column > .vc_column-inner {
	position: static;
	z-index: auto;
	padding-top: 0;
	justify-content: center;
}
body .vc_row.rh-hero--bottom > .wpb_column > .vc_column-inner { justify-content: flex-end; }

/* The words: line up with the rest of the site, with a comfortable width */
.vc_row.rh-hero > .wpb_column > .vc_column-inner > .wpb_wrapper {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--rh-wide, 1380px);
	margin-inline: auto;
	padding-inline: clamp(4px, 4vw, 72px);
}
.rh-hero :where(.wpb_content_element, .vc_btn3-container):not(.wpb_raw_html, .rh-hero-word) {
	max-width: var(--rh-hero-text-width);
	margin-left: auto;
	margin-right: auto;
}
.rh-hero .rh-display { max-width: var(--rh-hero-title-width); }
.rh-hero--left :where(.wpb_content_element, .vc_btn3-container):not(.wpb_raw_html, .rh-hero-word) { margin-left: 0; }

.rh-hero :is(h1, h2, h3, h4, p, li, .rh-eyebrow, .rh-eyebrow p) { color: inherit; }
.rh-hero :is(h1, h2),
.rh-hero .rh-display p { text-wrap: balance; text-shadow: 0 1px 24px rgba(var(--rh-hero-tint-colour), 0.35); }
.rh-hero .rh-display p {
	color: inherit;
	font-size: var(--rh-hero-title-size);
	line-height: 1.02;
	letter-spacing: -0.012em;
}
.rh-hero .rh-eyebrow,
.rh-hero .rh-eyebrow p,
.rh-hero .rh-eyebrow :is(h1, h2, h3) { color: #d6dfcb; text-shadow: none; } /* a lighter sage so it reads on video */
.rh-hero .rh-eyebrow :is(p, h1, h2, h3) { letter-spacing: inherit; }

/* Layers, back to front: still image (-3), video (-2), tint, grain, big word, warm glow (-1) */
.rh-hero .wpb_raw_html:has(.rh-hero__video) { margin: 0 !important; }

.rh-hero__poster,
.rh-hero__poster img {
	position: absolute;
	inset: 0;
	z-index: -3;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	object-position: var(--rh-hero-focus);
	pointer-events: none;
}

.rh-hero__video {
	position: absolute;
	inset: 0;
	z-index: -2;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: var(--rh-hero-focus);
	pointer-events: none;
}

/* Tint: deeper where the words sit, lighter above, with a soft vignette */
.vc_row.rh-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	clear: none;
	pointer-events: none;
	opacity: min(1, var(--rh-hero-tint));
	background:
		radial-gradient(ellipse 70% 60% at 50% 50%, rgba(var(--rh-hero-tint-colour), 0.35) 0%, rgba(var(--rh-hero-tint-colour), 0) 100%),
		radial-gradient(ellipse 140% 110% at 50% 45%, rgba(var(--rh-hero-tint-colour), 0) 50%, rgba(var(--rh-hero-tint-colour), 0.45) 100%),
		linear-gradient(to bottom, rgba(var(--rh-hero-tint-colour), 0.3) 0%, rgba(var(--rh-hero-tint-colour), 0.5) 100%);
}
body .vc_row.rh-hero::before { display: block; } /* WPBakery hides it in flex rows */
.vc_row.rh-hero--left::before {
	background:
		linear-gradient(to right, rgba(var(--rh-hero-tint-colour), 0.95) 0%, rgba(var(--rh-hero-tint-colour), 0.6) 45%, rgba(var(--rh-hero-tint-colour), 0.1) 85%),
		linear-gradient(to bottom, rgba(var(--rh-hero-tint-colour), 0.2) 0%, rgba(var(--rh-hero-tint-colour), 0.4) 100%);
}
.vc_row.rh-hero--plain::before { background: rgb(var(--rh-hero-tint-colour)); opacity: calc(var(--rh-hero-tint) * 0.55); }

/* The row's other layer is only used by rh-hero--warm */
.vc_row.rh-hero::after { display: none; }

/* Big see-through word, e.g. DESIRE (Text Block with the class rh-hero-word) */
.rh-hero .rh-hero-word {
	position: absolute;
	top: clamp(14px, 2.5vw, 44px);
	left: 0;
	right: 0;
	z-index: -1;
	margin: 0 !important;
	pointer-events: none;
	text-align: center;
}
.rh-hero .rh-hero-word :is(p, h1, h2, div) {
	margin: 0;
	font-family: var(--rh-font-body, sans-serif);
	font-size: clamp(3rem, 1rem + 13vw, 17rem);
	font-weight: 700;
	line-height: 0.8;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
	color: rgba(251, 248, 242, var(--rh-hero-word-strength, 0.28));
	text-shadow: none;
	mix-blend-mode: soft-light;
}

/* Optional: rh-hero--warm, a soft glow of warm oak and amber drifting very slowly */
body .vc_row.rh-hero--warm::after {
	content: "";
	position: absolute;
	inset: -30%;
	z-index: -1;
	display: block;
	clear: none;
	pointer-events: none;
	mix-blend-mode: soft-light;
	opacity: var(--rh-hero-warmth, 0.8);   /* 0.5 subtler … 1 stronger */
	background:
		radial-gradient(closest-side at 30% 35%, rgba(226, 196, 150, 0.95), rgba(226, 196, 150, 0) 100%),
		radial-gradient(closest-side at 72% 62%, rgba(222, 158, 88, 0.95), rgba(222, 158, 88, 0) 100%),
		radial-gradient(closest-side at 55% 20%, rgba(242, 236, 223, 0.6), rgba(242, 236, 223, 0) 100%);
	animation: rh-hero-drift 32s ease-in-out infinite alternate;
	will-change: transform;
}

/* Optional: rh-hero--cinema, slow push-in, film grade and fine grain
   (the grain needs <span class="rh-hero__grain"></span> after the video) */
.rh-hero--cinema .rh-hero__video {
	filter: contrast(1.06) saturate(0.92) sepia(0.08);
	animation: rh-hero-push 30s ease-in-out infinite alternate;
	transform-origin: 50% 45%;
}
.rh-hero__grain {
	position: absolute;
	inset: -50%;
	z-index: -1;
	display: block;
	pointer-events: none;
	opacity: var(--rh-hero-grain, 0.09);
	mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 1.6 -0.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: rh-hero-grain 0.9s steps(6) infinite;
}
.rh-hero:not(.rh-hero--cinema) .rh-hero__grain { display: none; }

/* Movement: as the page opens, each line comes softly into focus, one after another */
@media (prefers-reduced-motion: no-preference) {
	.rh-hero {
		--rh-hero-ease: cubic-bezier(0.16, 1, 0.3, 1);
		--rh-hero-start: 0.25s;               /* pause before the first line */
	}
	/* eyebrow: fades in as its letters settle */
	.rh-hero .rh-eyebrow { animation: rh-hero-eyebrow-in 1.8s var(--rh-hero-ease) var(--rh-hero-start) both; }
	/* big line: rises out of a soft blur into sharp focus */
	.rh-hero .rh-display { animation: rh-hero-focus-in 2.2s var(--rh-hero-ease) calc(var(--rh-hero-start) + 0.25s) both; }
	/* paragraph, then button */
	.rh-hero .wpb_text_column:not(.rh-eyebrow, .rh-display, .rh-hero-word) { animation: rh-hero-in 1.8s var(--rh-hero-ease) calc(var(--rh-hero-start) + 0.7s) both; }
	.rh-hero :is(.vc_btn3-container, .wpb_button, .rh-hero-buttons) { animation: rh-hero-in 1.8s var(--rh-hero-ease) calc(var(--rh-hero-start) + 0.95s) both; }
	/* the big background word fades in as its letters close up */
	.rh-hero .rh-hero-word :is(p, h1, h2, div) { animation: rh-hero-word-in 3s var(--rh-hero-ease) both; }
}
@keyframes rh-hero-eyebrow-in {
	from { opacity: 0; letter-spacing: 0.3em; }
	to { opacity: 1; letter-spacing: 0.08em; }
}
@keyframes rh-hero-focus-in {
	from { opacity: 0; transform: translateY(28px) scale(0.985); filter: blur(14px); }
	60%  { filter: blur(0); }
	to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes rh-hero-in {
	from { opacity: 0; transform: translateY(18px); filter: blur(6px); }
	to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes rh-hero-word-in {
	from { opacity: 0; letter-spacing: 0.22em; }
	to { opacity: 1; letter-spacing: 0.06em; }
}
@keyframes rh-hero-drift {
	0%   { transform: translate3d(-7%, -4%, 0) rotate(0deg) scale(1); }
	50%  { transform: translate3d(4%, 3%, 0) rotate(6deg) scale(1.08); }
	100% { transform: translate3d(8%, -3%, 0) rotate(-4deg) scale(1.02); }
}
@keyframes rh-hero-push {
	from { transform: scale(1); }
	to { transform: scale(1.07); }
}
@keyframes rh-hero-grain {
	0%   { transform: translate3d(0, 0, 0); }
	20%  { transform: translate3d(-7%, 4%, 0); }
	40%  { transform: translate3d(5%, -6%, 0); }
	60%  { transform: translate3d(-3%, 8%, 0); }
	80%  { transform: translate3d(8%, 2%, 0); }
	100% { transform: translate3d(-5%, -4%, 0); }
}

/* People who've asked for less motion see the still image, with nothing moving */
@media (prefers-reduced-motion: reduce) {
	.rh-hero__video,
	.rh-hero__grain { display: none; }
	body .vc_row.rh-hero--warm::after { animation: none; }
}

/* Slideshow instead of a video (same row classes, same tint and effects).
   Put the slides in the Raw HTML element in place of the video.
   rh-hero--no-zoom on the row turns off the slow zoom. */
.vc_row.rh-hero {
	--rh-slide-time: 6s;    /* how long each picture shows */
	--rh-slide-fade: 1.8s;  /* how long the cross-fade takes */
	--rh-slide-zoom: 1.08;  /* how far each picture slowly zooms in (1 = none) */
}
.rh-hero__slides {
	position: absolute;
	inset: 0;
	z-index: -2;
	overflow: hidden;
	pointer-events: none;
}
.rh-hero__slide,
.rh-hero__slide img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	object-position: var(--rh-hero-focus, 50% 50%);
}
.rh-hero__slide { z-index: 0; opacity: 0; transition: opacity var(--rh-slide-fade) cubic-bezier(0.45, 0, 0.25, 1); }
.rh-hero__slide:first-child { opacity: 1; }                 /* shows straight away, before the script runs */
.rh-hero__slides.is-ready .rh-hero__slide:first-child:not(.is-active):not(.is-prev) { opacity: 0; }
.rh-hero__slide.is-prev { z-index: 1; opacity: 1; transition: none; }   /* the old picture stays put underneath… */
.rh-hero__slide.is-active { z-index: 2; opacity: 1; }                    /* …while the new one fades in on top */

/* The slow zoom */
.rh-hero__slide img { transform: scale(1); transform-origin: 50% 45%; transition: none; }
.rh-hero__slide.is-zoom img {
	transform: scale(var(--rh-slide-zoom));
	transition: transform calc(var(--rh-slide-time) + var(--rh-slide-fade) + 1s) cubic-bezier(0.33, 0, 0.67, 1);
}
.rh-hero--no-zoom .rh-hero__slide.is-zoom img { transform: none; }

.rh-hero .wpb_raw_html:has(.rh-hero__slides) { margin: 0 !important; }

@media (prefers-reduced-motion: reduce) {
	.rh-hero__slide.is-zoom img { transform: none; transition: none; }
}


/* --------------------------------------------------------------------------
   13e. Contact form (rh-form)

   Add rh-form to the row (or column) holding the Contact Form 7 form.
   Optional extras on the same row:
     rh-form--stacked   one column on every screen size
     rh-form--left      button on the left instead of centred
   -------------------------------------------------------------------------- */

/* Settings */
.rh-form .wpcf7 {
	--rh-form-field-bg: var(--rh-color-cloud, #fbf8f2);
	--rh-form-border: var(--rh-color-sage, #a9b79a);
	--rh-form-border-width: 2px;
	--rh-form-focus: var(--rh-color-eucalyptus, #6b7a5e);
	--rh-form-radius: 10px;
	--rh-form-gap: clamp(14px, 10px + 0.6vw, 20px);
	max-width: 1000px;
	margin-inline: auto;
}

/* Layout: name, email and phone on the left, message on the right, button centred underneath */
.rh-form .wpcf7-form {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--rh-form-gap);
	margin: 0;
}
.rh-form .wpcf7-form > p { margin: 0; }
.rh-form .wpcf7-form > .hidden-fields-container { display: none; }

@media (min-width: 768px) {
	.rh-form:not(.rh-form--stacked) .wpcf7-form {
		grid-template-columns: 1fr 1fr;
		column-gap: clamp(24px, 3vw, 40px);
	}
	.rh-form:not(.rh-form--stacked) .wpcf7-form > p { grid-column: 1; }
	.rh-form:not(.rh-form--stacked) .wpcf7-form > p:has(textarea) {
		grid-column: 2;
		grid-row: 1 / span 3;
		display: flex;
		flex-direction: column;
		min-height: 0;
	}
	.rh-form:not(.rh-form--stacked) .wpcf7-form > p:has(textarea) label,
	.rh-form:not(.rh-form--stacked) .wpcf7-form > p:has(textarea) .wpcf7-form-control-wrap {
		display: flex;
		flex-direction: column;
		flex: 1 1 auto;
		min-height: 0;
	}
	/* the message box fills the height of the three fields beside it */
	.rh-form:not(.rh-form--stacked) .wpcf7-form textarea { flex: 1 1 auto; height: 0; min-height: 0; resize: none; }
	.rh-form:not(.rh-form--stacked) .wpcf7-form > p:has(.wpcf7-submit),
	.rh-form:not(.rh-form--stacked) .wpcf7-form > .wpcf7-response-output { grid-column: 1 / -1; }
}

/* Labels (if you use them) */
.rh-form .wpcf7-form label {
	display: block;
	font-size: 0.875em;
	color: var(--rh-color-muted, #6e6a62);
}
.rh-form .wpcf7-form-control-wrap { display: block; }
.rh-form .wpcf7-form label > br { display: none; }

/* Fields */
.rh-form .wpcf7 input:is([type="text"], [type="email"], [type="tel"], [type="url"], [type="number"], [type="date"]),
.rh-form .wpcf7 select,
.rh-form .wpcf7 textarea {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 12px 16px;
	font-family: var(--rh-font-heading, Georgia, serif);
	font-size: 1rem;
	line-height: 1.4;
	color: var(--rh-color-ink, #2c2c2a);
	background: var(--rh-form-field-bg);
	border: var(--rh-form-border-width) solid var(--rh-form-border);
	border-radius: var(--rh-form-radius);
	box-shadow: inset 0 0 0 2px #fff;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	-webkit-appearance: none;
	appearance: none;
}
.rh-form .wpcf7 textarea { height: 160px; min-height: 120px; resize: vertical; }
.rh-form .wpcf7 ::placeholder {
	font-family: var(--rh-font-heading, Georgia, serif);
	color: #8d8a83;
	opacity: 1;
}
.rh-form .wpcf7 :is(input, select, textarea):hover { border-color: var(--rh-color-eucalyptus, #6b7a5e); }
.rh-form .wpcf7 :is(input, select, textarea):focus {
	outline: none;
	border-color: var(--rh-form-focus);
	box-shadow: inset 0 0 0 2px #fff, 0 0 0 3px rgba(107, 122, 94, 0.18);
}

/* Button */
.rh-form .wpcf7-form > p:has(.wpcf7-submit) {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 12px;
	margin-top: calc(var(--rh-form-gap) * 0.5);
}
.rh-form--left .wpcf7-form > p:has(.wpcf7-submit) { justify-content: flex-start; }
.rh-form .wpcf7 .wpcf7-submit {
	display: inline-block;
	margin: 0;
	padding: 14px 28px;
	font-family: var(--rh-font-body, sans-serif);
	font-size: 0.875rem;
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 1;
	color: var(--rh-color-cloud, #fbf8f2);
	background: var(--rh-color-deep, #5d6b51);
	border: 0;
	border-radius: 2px;
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.3s ease;
	-webkit-appearance: none;
	appearance: none;
}
.rh-form .wpcf7 .wpcf7-submit:hover { background: var(--rh-color-ink, #2c2c2a); }
.rh-form .wpcf7 .wpcf7-submit:focus-visible { outline: 2px solid var(--rh-color-deep, #5d6b51); outline-offset: 3px; }
.rh-form .wpcf7 .wpcf7-submit:disabled { opacity: 0.6; cursor: default; }
.rh-form .wpcf7-spinner { margin: 0; background-color: var(--rh-color-eucalyptus, #6b7a5e); }
.rh-form .wpcf7-form:not(.submitting) .wpcf7-spinner { display: none; }

/* Messages after sending */
.rh-form .wpcf7-not-valid-tip {
	margin-top: 6px;
	font-size: 0.8125rem;
	color: #a1453a;
}
.rh-form .wpcf7 .wpcf7-not-valid { border-color: #a1453a; }
.rh-form .wpcf7 form .wpcf7-response-output {
	margin: 0;
	padding: 12px 16px;
	font-size: 0.9375rem;
	text-align: center;
	border: var(--rh-form-border-width) solid var(--rh-form-border);
	border-radius: var(--rh-form-radius);
	background: var(--rh-form-field-bg);
}
.rh-form .wpcf7 form.sent .wpcf7-response-output { border-color: var(--rh-color-eucalyptus, #6b7a5e); }
.rh-form .wpcf7 form:is(.invalid, .unaccepted, .payment-required, .failed, .aborted, .spam) .wpcf7-response-output { border-color: #c79a6a; }
.rh-form .wpcf7 form.init .wpcf7-response-output,
.rh-form .wpcf7 form.resetting .wpcf7-response-output,
.rh-form .wpcf7 form.submitting .wpcf7-response-output { display: none; }


/* --------------------------------------------------------------------------
   13f. Footer
   -------------------------------------------------------------------------- */

/* Opening hours: days in one column, times lined up in the next */
.rh-hours {
	display: grid;
	grid-template-columns: max-content 1fr;
	column-gap: 2.5em;
	row-gap: 0.15em;
	margin: 0;
}
.rh-hours dt,
.rh-hours dd { margin: 0; }
.rh-hours dt { font-weight: inherit; }

/* Footer text and links */
.revive-universal-footer,
.revive-universal-footer a,
.revive-universal-footer-small,
.revive-universal-footer-small a { color: #ffffff; }
.revive-universal-footer-small { font-size: 0.85em; }

/* Footer logo */
.revive-hair-logo-footer img { width: 425px; }


/* --------------------------------------------------------------------------
   13g. Service cards (rh-service)
   Give a WPBakery COLUMN the Extra class name  rh-service  and put a Single
   Image, then a Text Block (and optionally a Button) in it. Add
   rh-service--feature  as well for the wide green "Advise me" card.
   -------------------------------------------------------------------------- */
.rh-service {
	--rh-service-img: 40;                        /* photo width, as a % of the card; the photo stays square, so this also sets the card height */
	--rh-service-bg: var(--rh-color-whitewood);
	--rh-service-text: var(--rh-color-text);
	--rh-service-heading: var(--rh-color-deep);  /* card titles: eucalyptus green (the darker shade, so it stays easy to read) */
	--rh-service-radius: 10px;                   /* card corners */
	--rh-service-photo-radius: 10px;             /* photo corners */
}
.rh-service > .vc_column-inner { display: flex; height: 100%; padding-top: 0; container-type: inline-size; }

/* space between rows of cards */
.vc_row:has(> .rh-service):not(:last-child) { margin-bottom: 60px; }
.rh-service > .vc_column-inner > .wpb_wrapper {
	--rh-service-pad: clamp(1rem, 2vw, 1.75rem);
	position: relative;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: center;
	min-height: calc(var(--rh-service-img) * 1cqi) !important;   /* at least as tall as the photo is wide: a square photo (!important beats WPBakery's equal-height rule) */
	padding: var(--rh-service-pad) var(--rh-service-pad) var(--rh-service-pad) calc(var(--rh-service-img) * 1% + var(--rh-service-pad));
	overflow: hidden;
	border-radius: var(--rh-service-radius);
	background: var(--rh-service-bg);
	color: var(--rh-service-text);
}

/* the photo fills the left of the card, top to bottom */
.rh-service > .vc_column-inner > .wpb_wrapper > .wpb_single_image {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: calc(var(--rh-service-img) * 1%);
	margin: 0 !important;
	overflow: hidden;
	border-radius: var(--rh-service-photo-radius);   /* all four corners, so the card colour shows behind the right-hand ones */
}
.rh-service .wpb_single_image .vc_figure,
.rh-service .wpb_single_image .vc_single_image-wrapper {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	border-radius: 0;
}
.rh-service .wpb_single_image img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	object-position: center;
	border-radius: 0;
}

/* the words sit to the right */
.rh-service > .vc_column-inner > .wpb_wrapper > :not(.wpb_single_image) { margin: 0 !important; }
.rh-service .wpb_text_column h3,
.rh-service .wpb_text_column h4 {
	margin: 0 0 0.35em;
	color: var(--rh-service-heading);
	font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem);
}
.rh-service .wpb_text_column p { margin: 0 0 0.6em; font-size: 0.95rem; line-height: 1.55; }
.rh-service .wpb_text_column p:last-child { margin-bottom: 0; }

/* ---------- the wide green card ---------- */
.rh-service--feature {
	--rh-service-img: 20;
	--rh-service-bg: var(--rh-color-eucalyptus);
	--rh-service-text: var(--rh-color-cloud);
	--rh-service-heading: var(--rh-color-cloud);
}
.rh-service--feature .wpb_text_column a { color: inherit; }
.rh-service--feature .vc_btn3-container { align-self: flex-end; margin-top: 0.9rem !important; }

/* phones and small tablets: cards stack, so rows get the same space as the cards inside them */
@media (max-width: 767px) {
	.vc_row:has(> .rh-service):not(:last-child) { margin-bottom: 35px; }
}

/* phones: the photo goes on top */
@media (max-width: 600px) {
	.rh-service > .vc_column-inner > .wpb_wrapper { min-height: 0 !important; padding: 0 0 1.25rem; }
	.rh-service > .vc_column-inner > .wpb_wrapper > .wpb_single_image { position: relative; width: 100%; aspect-ratio: 3 / 2; margin-bottom: 1.1rem !important; }
	.rh-service > .vc_column-inner > .wpb_wrapper > :not(.wpb_single_image) { padding: 0 1.25rem; }
	.rh-service--feature .vc_btn3-container { align-self: flex-start; }
}


/* --------------------------------------------------------------------------
   13h. Page tweaks
   -------------------------------------------------------------------------- */

/* Hide the page title WordPress adds above page content */
.entry-header { display: none; }


/* Turnstile on its own row below the submit button */
.rh-form .wpcf7-form > p:has(.wpcf7-submit) { order: 1; }
.rh-form .wpcf7-form > .wpcf7-turnstile {
  grid-column: 1 / -1;
  order: 2;
  justify-self: center;
}
.rh-form .wpcf7-form > .wpcf7-response-output { order: 3; }