/*
 * SRP homepage sections.
 *
 * Loaded after main.css, and deliberately additive: the inherited starter stylesheet is left
 * intact so the pages that still use its generic layouts keep working, and everything here is
 * scoped to .srp-* classes or to a .hs-section--srp-* wrapper.
 *
 * Measurements come from the approved concept's inline styles at its 1280px artboard width.
 * The concept has no responsive behaviour at all, so every multi-column grid here collapses
 * at breakpoints that were chosen for this build rather than copied.
 */

/* ================================================================ primitives */

/*
 * The section wrapper (inc/sections.php) applies the theme background and a padding scale of
 * small / medium / large. The hero and the trust strip carry their own vertical rhythm, so
 * they need a fourth option with none at all.
 */
.hs-section--height-flush {
	padding-block: 0;
}

/* Anchor targets have to clear the sticky header, not hide behind it. */
.hs-section {
	scroll-margin-top: calc(var(--srp-header-h) + 0.5rem);
}

/* ---- eyebrow / heading / body, as printed by custom_section_heading() ---- */

.srp-intro .hs-eyebrow {
	margin: 0 0 0.875rem;
	font-family: var(--srp-font-body);
	font-weight: var(--srp-weight-bold);
	font-size: var(--srp-text-caption);
	letter-spacing: var(--srp-tracking-eyebrow);
	text-transform: uppercase;
	color: var(--section-accent);
}

.srp-intro .hs-section__heading {
	margin: 0 0 1rem;
	font-family: var(--srp-font-display);
	font-weight: var(--srp-weight-semibold);
	font-size: var(--srp-text-h2);
	line-height: 1.08;
	color: var(--section-fg);
	text-wrap: balance;
}

.srp-intro .hs-section__body {
	font-size: var(--srp-text-body-md);
	line-height: 1.6;
	color: var(--section-body);
}

.srp-intro .hs-section__body > :last-child {
	margin-bottom: 0;
}

.srp-intro--center {
	max-width: 41.25rem; /* 660px */
	margin-inline: auto;
	margin-bottom: 3.25rem;
	text-align: center;
}

/* ---- buttons ---- */

.srp-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.875rem;
}

.srp-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 1rem 1.875rem;
	border: 1px solid transparent;
	border-radius: var(--srp-radius-md);
	font-family: var(--srp-font-body);
	font-weight: var(--srp-weight-bold);
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background var(--srp-duration-fast) var(--srp-ease),
		color var(--srp-duration-fast) var(--srp-ease),
		border-color var(--srp-duration-fast) var(--srp-ease),
		transform var(--srp-duration-fast) var(--srp-ease);
}

.srp-button--primary {
	background: var(--srp-accent);
	color: var(--srp-white);
	box-shadow: var(--srp-shadow-accent);
}

.srp-button--primary:hover,
.srp-button--primary:focus-visible {
	background: var(--srp-accent-hover);
	color: var(--srp-white);
}

/* Translucent white — only ever used on a dark section. */
.srp-button--ghost {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.22);
	color: var(--srp-white);
	padding-inline: 1.75rem;
}

.srp-button--ghost:hover,
.srp-button--ghost:focus-visible {
	background: rgba(255, 255, 255, 0.15);
	color: var(--srp-white);
}

.srp-button--link {
	padding: 0;
	background: none;
	color: var(--section-accent, var(--srp-accent));
	box-shadow: none;
	white-space: nowrap;
}

.srp-button--link:hover,
.srp-button--link:focus-visible {
	color: var(--srp-accent-hover);
}

/* The design system's one press state: a restrained nudge, no bounce. */
.srp-button:active {
	transform: scale(0.97);
}

.srp-inline-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4375rem;
	font-weight: var(--srp-weight-bold);
	font-size: 0.9375rem;
	color: var(--srp-accent);
	text-decoration: none;
}

.srp-inline-link:hover {
	color: var(--srp-accent-hover);
}

/* ---- shared motifs ---- */

/* 52px rounded square in light blue holding a blue stroke icon: the page's signature. */
.srp-icon-badge {
	display: grid;
	place-items: center;
	width: 3.25rem;
	height: 3.25rem;
	margin-bottom: 1.25rem;
	border-radius: var(--srp-radius-lg);
	background: var(--srp-accent-tint);
	color: var(--srp-accent);
}

.srp-stars {
	display: inline-flex;
	gap: 2px;
	color: var(--srp-accent);
	line-height: 0;
}

.srp-split {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 3.5rem;
	align-items: center;
}

.srp-split--even {
	grid-template-columns: 1fr 1fr;
}

.srp-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 2.75rem;
}

.srp-section-head .srp-intro {
	max-width: 38.75rem;
}

.srp-section-head .hs-section__heading {
	margin-bottom: 0;
}

/* ================================================================ header */

.srp-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.9);
	/* Functional, not decorative: the page scrolls photography under this bar. */
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--srp-border);
}

.srp-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-block: 0.875rem;
}

.srp-header__logo a,
.srp-header__logo .custom-logo-link {
	display: flex;
	align-items: center;
	text-decoration: none;
	font-family: var(--srp-font-display);
	font-weight: var(--srp-weight-semibold);
	font-size: var(--srp-text-h4);
	color: var(--srp-text-heading);
}

.srp-header__logo img {
	display: block;
	height: 3.375rem; /* 54px */
	width: auto;
}

.srp-header__drawer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 2rem;
	flex: 1 1 auto;
}

.srp-nav__list {
	display: flex;
	align-items: center;
	gap: 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.srp-nav__list a {
	font-size: 0.9375rem;
	font-weight: var(--srp-weight-semibold);
	color: var(--srp-ink-800);
	text-decoration: none;
}

.srp-nav__list a:hover,
.srp-nav__list .current-menu-item > a {
	color: var(--srp-accent);
}

.srp-header__actions {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.srp-header__phone {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: var(--srp-weight-bold);
	font-size: 0.9375rem;
	color: var(--srp-text-heading);
	text-decoration: none;
	white-space: nowrap;
}

.srp-header__phone:hover {
	color: var(--srp-accent);
}

.srp-header__phone-icon {
	display: grid;
	place-items: center;
	width: 2.125rem;
	height: 2.125rem;
	border-radius: 50%;
	background: var(--srp-accent-tint);
	color: var(--srp-accent);
}

.srp-header__cta {
	padding: 0.75rem 1.375rem;
	font-size: 0.9375rem;
	border-radius: var(--srp-radius-sm);
	box-shadow: var(--srp-shadow-accent-sm);
}

/* ---- mobile menu ---- */

.srp-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid var(--srp-border-strong);
	border-radius: var(--srp-radius-sm);
	background: var(--srp-white);
	cursor: pointer;
	color: var(--srp-ink-800);
}

.srp-nav-toggle__bars,
.srp-nav-toggle__bars::before,
.srp-nav-toggle__bars::after {
	display: block;
	width: 1.125rem;
	height: 2px;
	border-radius: 1px;
	background: currentColor;
}

.srp-nav-toggle__bars {
	position: relative;
}

.srp-nav-toggle__bars::before,
.srp-nav-toggle__bars::after {
	content: '';
	position: absolute;
	left: 0;
}

.srp-nav-toggle__bars::before {
	top: -0.375rem;
}

.srp-nav-toggle__bars::after {
	top: 0.375rem;
}

@media (max-width: 61.25rem) {
	.srp-nav-toggle {
		display: inline-flex;
		order: 1;
	}

	.srp-header__inner {
		flex-wrap: wrap;
	}

	/*
	 * Collapsed by default, not by an inline style: srp.js only toggles the attribute, so a
	 * JS failure leaves the menu closed and the toggle visible rather than the menu stuck
	 * open across the page.
	 */
	.srp-header__drawer {
		order: 2;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 1.25rem;
		width: 100%;
		padding-bottom: 1.25rem;
	}

	.srp-header__drawer[data-open='true'] {
		display: flex;
	}

	.srp-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.srp-nav__list a {
		display: block;
		padding: 0.75rem 0;
		border-bottom: 1px solid var(--srp-border);
	}

	.srp-header__actions {
		flex-wrap: wrap;
	}

	.srp-header__cta {
		flex: 1 1 auto;
	}
}

/* ================================================================ hero */

/*
 * The photograph fills the right column all the way to the container's edge, so the container
 * gives up its own gutter and the copy column pays it back as padding. Above 1240px the image
 * stops with the container rather than running to the viewport edge, as in the concept.
 */
.hs-section--srp-hero .hs-container {
	padding-inline: 0;
}

.srp-hero {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	align-items: stretch;
	min-height: 40rem; /* 640px */
}

.srp-hero__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 4.75rem 3.5rem 4.75rem var(--srp-gutter);
	color: var(--srp-white);
}

.srp-hero__badge {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: 0.5625rem;
	margin: 0 0 1.625rem;
	padding: 0.4375rem 0.875rem;
	border: 1px solid rgba(63, 161, 234, 0.4);
	border-radius: var(--srp-radius-pill);
	background: rgba(63, 161, 234, 0.16);
	color: var(--srp-accent-300);
	font-weight: var(--srp-weight-bold);
	font-size: 0.78125rem; /* 12.5px */
	letter-spacing: var(--srp-tracking-badge);
	text-transform: uppercase;
}

.srp-hero__badge-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--srp-accent);
	box-shadow: 0 0 0 4px rgba(63, 161, 234, 0.25);
}

.srp-hero__title {
	margin: 0 0 1.375rem;
	font-family: var(--srp-font-display);
	font-weight: var(--srp-weight-semibold);
	font-size: var(--srp-text-h1);
	line-height: var(--srp-leading-display);
	letter-spacing: -0.01em;
	color: var(--srp-white);
	text-wrap: balance;
}

.srp-hero__body {
	margin: 0 0 2.125rem;
	max-width: 30.625rem;
	font-size: var(--srp-text-body-lg);
	line-height: 1.6;
	color: var(--srp-ondark-200);
}

.srp-hero__buttons {
	margin-bottom: 2.375rem;
}

.srp-hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 1.625rem 2.125rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.srp-hero__trust li {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	font-size: 0.90625rem;
	font-weight: var(--srp-weight-semibold);
	color: var(--srp-ondark-100);
}

.srp-hero__trust .srp-icon {
	flex: none;
	color: var(--srp-accent);
}

.srp-hero__media {
	position: relative;
	min-height: 40rem;
	isolation: isolate;
}

.srp-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Left-to-right fade into the charcoal copy column, so the headline never sits on photo. */
.srp-hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		var(--srp-ink-800) 0%,
		rgba(35, 38, 43, 0.35) 22%,
		rgba(35, 38, 43, 0) 55%
	);
}

.srp-hero__rating {
	position: absolute;
	left: 1.625rem;
	bottom: 1.625rem;
	display: flex;
	align-items: center;
	gap: 0.875rem;
	padding: 1rem 1.25rem;
	border-radius: var(--srp-radius-lg);
	background: rgba(255, 255, 255, 0.95);
	box-shadow: var(--srp-shadow-image-md);
}

.srp-hero__rating-value {
	margin: 0;
	font-weight: var(--srp-weight-black);
	font-size: 0.9375rem;
	color: var(--srp-text-heading);
}

.srp-hero__rating-note {
	margin: 0;
	font-size: 0.78125rem;
	font-weight: var(--srp-weight-semibold);
	color: var(--srp-gray-600);
}

/* ================================================================ trust bar */

.hs-section--srp-trust-bar {
	padding-block: 1rem;
}

.srp-trust-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.srp-trust-bar__item {
	display: flex;
	align-items: center;
	gap: 0.625rem;
}

/* Hair rules between items, drawn rather than marked up so the count can change. */
.srp-trust-bar__item + .srp-trust-bar__item::before {
	content: '';
	flex: none;
	width: 1px;
	height: 1.5rem;
	margin-right: 0.875rem;
	background: var(--srp-ink-500);
}

.srp-trust-bar__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border: 1px solid rgba(63, 161, 234, 0.3);
	border-radius: var(--srp-radius-sm);
	background: rgba(63, 161, 234, 0.14);
	color: var(--srp-accent-300);
}

.srp-trust-bar__text {
	font-size: 0.90625rem;
	font-weight: var(--srp-weight-semibold);
	color: var(--srp-ondark-200);
}

/* ================================================================ feature cards */

/*
 * "Why us" and "Services" read as one continuous white block in the concept, with the seam
 * between them tighter than a normal section gap.
 */
.hs-section--srp-feature-cards {
	padding-block: var(--srp-section-y) 2.5rem;
}

.srp-card-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.375rem;
}

.srp-card {
	padding: 1.875rem 1.625rem;
	border: 1px solid var(--section-border);
	border-radius: var(--srp-radius-xl);
	background: var(--section-card-bg);
	transition: border-color var(--srp-duration-fast) var(--srp-ease);
}

.srp-card:hover {
	border-color: #cfe4f7;
}

.srp-card__title {
	margin: 0 0 0.5625rem;
	font-family: var(--srp-font-display);
	font-weight: var(--srp-weight-semibold);
	font-size: 1.4375rem; /* 23px */
	line-height: 1.15;
	color: var(--section-fg);
}

.srp-card__text {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--section-body);
}

/* ================================================================ services */

.hs-section--srp-services {
	padding-block: var(--srp-section-y-sm) var(--srp-section-y);
}

.srp-services {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.625rem;
}

.srp-service {
	overflow: hidden;
	border: 1px solid var(--srp-border);
	border-radius: var(--srp-radius-2xl);
	background: var(--srp-white);
	box-shadow: var(--srp-shadow-card);
	transition: box-shadow var(--srp-duration-base) var(--srp-ease);
}

.srp-service:hover {
	box-shadow: var(--srp-shadow-card-hover);
}

.srp-service__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.srp-service__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.srp-service__body {
	padding: 1.625rem 1.625rem 1.875rem;
}

.srp-service__title {
	margin: 0 0 0.625rem;
	font-family: var(--srp-font-display);
	font-weight: var(--srp-weight-semibold);
	font-size: var(--srp-text-h3);
	line-height: 1.12;
	color: var(--srp-text-heading);
}

.srp-service__text {
	margin: 0 0 1rem;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--srp-text-body);
}

/* ================================================================ process */

.srp-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.srp-step {
	padding: 1.875rem 1.625rem;
	border: 1px solid var(--section-border);
	border-radius: var(--srp-radius-xl);
	background: var(--section-card-bg);
}

/* The only place the display serif is used at weight 700. */
.srp-step__num {
	margin: 0 0 0.875rem;
	font-family: var(--srp-font-display);
	font-weight: var(--srp-weight-bold);
	font-size: var(--srp-text-num);
	line-height: 1;
	color: var(--srp-accent);
}

.srp-step__title {
	margin: 0 0 0.5625rem;
	font-family: var(--srp-font-display);
	font-weight: var(--srp-weight-semibold);
	font-size: var(--srp-text-h4);
	line-height: 1.15;
	color: var(--section-fg);
}

.srp-step__text {
	margin: 0;
	font-size: 0.90625rem;
	line-height: 1.55;
	color: var(--section-body);
}

/* ================================================================ before / after */

.srp-checklist {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin: 1.75rem 0 2rem;
	padding: 0;
	list-style: none;
}

.srp-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 0.96875rem;
	font-weight: var(--srp-weight-semibold);
	color: var(--srp-ink-800);
}

.srp-checklist .srp-icon {
	flex: none;
	margin-top: 1px;
	color: var(--srp-accent);
}

.srp-reveal {
	--srp-reveal: 50%;

	position: relative;
	aspect-ratio: 16 / 11;
	overflow: hidden;
	border-radius: var(--srp-radius-2xl);
	box-shadow: var(--srp-shadow-image-lg);
	user-select: none;
	touch-action: pan-y; /* let the page still scroll vertically over the slider */
}

.srp-reveal__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

/*
 * The "before" photograph is clipped by width, and is sized to the SLIDER, not to the clip -
 * inset + width:100% on the image inside a narrowing box would squash it. Keeping the image
 * at the slider's full width and letting the wrapper hide the overflow means both
 * photographs stay aligned to the same crop as the handle moves.
 */
.srp-reveal__clip {
	position: absolute;
	inset: 0;
	width: var(--srp-reveal);
	overflow: hidden;
	pointer-events: none;
}

.srp-reveal__clip .srp-reveal__img--before {
	width: auto;
	height: 100%;
	min-width: 0;
	max-width: none;
	aspect-ratio: 16 / 11;
}

.srp-reveal__tag {
	position: absolute;
	top: 0.875rem;
	padding: 0.375rem 0.75rem;
	border-radius: var(--srp-radius-pill);
	color: var(--srp-white);
	font-size: var(--srp-text-tiny);
	font-weight: var(--srp-weight-bold);
	letter-spacing: var(--srp-tracking-badge);
	text-transform: uppercase;
	pointer-events: none;
}

.srp-reveal__tag--before {
	left: 0.875rem;
	background: rgba(17, 20, 24, 0.72);
}

.srp-reveal__tag--after {
	right: 0.875rem;
	background: rgba(63, 161, 234, 0.92);
}

.srp-reveal__divider {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--srp-reveal);
	width: 3px;
	transform: translateX(-1.5px);
	background: var(--srp-white);
	box-shadow: 0 0 0 1px rgba(17, 20, 24, 0.06);
	pointer-events: none;
}

.srp-reveal__knob {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: var(--srp-white);
	color: var(--srp-accent);
	box-shadow: 0 4px 14px rgba(17, 20, 24, 0.28);
}

/*
 * The range input IS the control, stretched invisibly over the whole image: pointer drag,
 * touch drag and arrow keys all come for free, and the visible handle above is decoration
 * that follows it.
 */
.srp-reveal__range {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	appearance: none;
	-webkit-appearance: none;
	background: none;
	cursor: ew-resize;
}

.srp-reveal__range::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 2.75rem;
	height: 100%;
	background: none;
	cursor: ew-resize;
}

.srp-reveal__range::-moz-range-thumb {
	width: 2.75rem;
	height: 100vh;
	border: none;
	background: none;
	cursor: ew-resize;
}

.srp-reveal__range:focus-visible {
	outline: 3px solid var(--srp-accent);
	outline-offset: 3px;
}

/* ================================================================ reviews */

.srp-rating-summary {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	margin: 0;
	font-size: 0.9375rem;
	font-weight: var(--srp-weight-bold);
	color: var(--srp-ink-800);
}

/*
 * The reviews track. The slider itself is generic (see the .srp-slider block below);
 * a section only says how many cards a page holds and how far apart they sit.
 */
.srp-reviews {
	--srp-slider-per: 3;
	--srp-slider-gap: 1.5rem;
}

.srp-review {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin: 0;
	padding: 1.875rem 1.75rem;
	border: 1px solid var(--section-border);
	border-radius: var(--srp-radius-xl);
	background: var(--srp-gray-050);
}

.srp-review__quote {
	margin: 0;
}

.srp-review__quote p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.6;
	font-weight: var(--srp-weight-medium);
	color: var(--srp-ink-800);
}

.srp-review__by {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: auto;
}

.srp-review__initials {
	flex: none;
	display: grid;
	place-items: center;
	width: 2.625rem;
	height: 2.625rem;
	border-radius: 50%;
	background: var(--srp-accent);
	color: var(--srp-white);
	font-weight: var(--srp-weight-black);
	font-size: 0.9375rem;
}

.srp-review__name {
	display: block;
	font-style: normal;
	font-weight: var(--srp-weight-bold);
	font-size: 0.90625rem;
	color: var(--srp-text-heading);
}

.srp-review__city {
	display: block;
	font-size: var(--srp-text-caption);
	font-weight: var(--srp-weight-semibold);
	color: var(--srp-gray-600);
}

/* ================================================================ slider */

/*
 * A slider here is a scroll container, not a transform: the viewport scrolls, CSS snaps it to
 * slide boundaries, and the arrows only call scrollTo. That is what makes it work before any
 * JavaScript runs - it is a swipeable, tabbable, arrow-key-scrollable list already - and why
 * the controls are printed hidden and revealed only once there is more than one page to move
 * between (see inc/srp-slider.php and initSliders() in assets/js/srp.js).
 *
 * A section sets --srp-slider-per (cards per page) and --srp-slider-gap. Everything else lives
 * here, so a second slider anywhere on the site is two custom properties.
 */
.srp-slider {
	--srp-slider-per: 3;
	--srp-slider-gap: 1.5rem;
}

.srp-slider__viewport {
	overflow-x: auto;
	overflow-y: hidden;
	/*
	 * proximity, not mandatory: mandatory snapping in Chrome refuses programmatic scrolls
	 * outright and yanks the viewport back to the first slide, so the arrows do nothing.
	 * proximity keeps the same swipe feel and lets scrollTo() land where it was sent.
	 */
	scroll-snap-type: x proximity;
	scroll-behavior: smooth;
	/* Padding, then a matching negative margin: room for the card shadow and the focus
	   ring, which an overflow container would otherwise clip. */
	padding: 0.25rem;
	margin: -0.25rem;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.srp-slider__viewport::-webkit-scrollbar {
	display: none;
}

.srp-slider__viewport:focus-visible {
	outline: 2px solid var(--section-accent, var(--srp-accent));
	outline-offset: 2px;
	border-radius: var(--srp-radius-md);
}

/*
 * grid-auto-columns rather than flex-basis, so each card is exactly one nth of the viewport
 * minus its share of the gaps. That is what makes a page of cards land flush with both edges
 * instead of drifting a few pixels per page.
 */
.srp-slider__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc(
		(100% - (var(--srp-slider-per) - 1) * var(--srp-slider-gap)) / var(--srp-slider-per)
	);
	gap: var(--srp-slider-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.srp-slider__slide {
	display: flex;
	scroll-snap-align: start;
}

/* Cards of different heights in one page should still line up top and bottom. */
.srp-slider__slide > * {
	width: 100%;
}

.srp-slider__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-top: 2rem;
}

.srp-slider__arrow {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid var(--section-border, var(--srp-border-strong));
	border-radius: 50%;
	background: transparent;
	color: var(--section-fg, var(--srp-text-heading));
	cursor: pointer;
	transition:
		background var(--srp-duration-fast) var(--srp-ease),
		border-color var(--srp-duration-fast) var(--srp-ease),
		color var(--srp-duration-fast) var(--srp-ease),
		opacity var(--srp-duration-fast) var(--srp-ease);
}

.srp-slider__arrow--prev .srp-icon {
	transform: rotate(180deg);
}

.srp-slider__arrow:hover:not(:disabled),
.srp-slider__arrow:focus-visible {
	border-color: var(--srp-accent);
	background: var(--srp-accent);
	color: var(--srp-white);
}

/* Kept in place rather than hidden: the row must not reflow at either end of the run. */
.srp-slider__arrow:disabled {
	opacity: 0.3;
	cursor: default;
}

.srp-slider__dots {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.srp-slider__dot {
	display: block;
	width: 0.5rem;
	height: 0.5rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--section-border, var(--srp-border-strong));
	cursor: pointer;
	transition:
		background var(--srp-duration-fast) var(--srp-ease),
		width var(--srp-duration-fast) var(--srp-ease);
}

/* The current page stretches into a pill - readable without relying on colour alone. */
.srp-slider__dot[aria-current='true'] {
	width: 1.375rem;
	border-radius: var(--srp-radius-pill);
	background: var(--srp-accent);
}

.srp-slider__dot:focus-visible {
	outline: 2px solid var(--srp-accent);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.srp-slider__viewport {
		scroll-behavior: auto;
	}
}

/* ---- the reviews cards themselves ---- */

.srp-review__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.srp-review__when {
	font-size: var(--srp-text-tiny);
	font-weight: var(--srp-weight-semibold);
	color: var(--srp-gray-500);
	white-space: nowrap;
}

.srp-reviews__all {
	margin: 1.75rem 0 0;
	text-align: center;
}

/* ================================================================ service area */

.hs-section--srp-service-area {
	padding-block: 5rem;
}

.srp-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.srp-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.5625rem 1rem;
	border: 1px solid var(--srp-ink-500);
	border-radius: var(--srp-radius-pill);
	background: var(--srp-ink-400);
	color: var(--srp-gray-200);
	font-size: 0.875rem;
	font-weight: var(--srp-weight-semibold);
}


/*
 * A city that has a location page of its own becomes a link, and says so before you hover it:
 * the accent tint and the arrow are what separate "you can go here" from the ten cities that
 * are only names. Only the arrow moves on hover, so the wrap of the chip list never shifts.
 */
.srp-chip--link {
	border-color: rgba(63, 161, 234, 0.45);
	background: rgba(63, 161, 234, 0.14);
	color: var(--srp-accent-300);
	text-decoration: none;
	transition:
		background var(--srp-duration-fast) var(--srp-ease),
		border-color var(--srp-duration-fast) var(--srp-ease),
		color var(--srp-duration-fast) var(--srp-ease);
}

.srp-chip--link .srp-icon {
	flex: none;
	opacity: 0.75;
	transition:
		transform var(--srp-duration-fast) var(--srp-ease),
		opacity var(--srp-duration-fast) var(--srp-ease);
}

.srp-chip--link:hover,
.srp-chip--link:focus-visible {
	border-color: var(--srp-accent);
	background: var(--srp-accent);
	color: var(--srp-white);
}

.srp-chip--link:hover .srp-icon,
.srp-chip--link:focus-visible .srp-icon {
	opacity: 1;
	transform: translateX(2px);
}

.srp-figure {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--srp-radius-2xl);
	box-shadow: var(--srp-shadow-image-xl);
}

.srp-figure__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.srp-figure__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(17, 20, 24, 0) 55%, rgba(17, 20, 24, 0.75));
}

.srp-figure__badge {
	position: absolute;
	left: 1.375rem;
	bottom: 1.375rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.srp-figure__badge-icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 2.875rem;
	height: 2.875rem;
	border-radius: var(--srp-radius-md);
	background: var(--srp-accent);
	color: var(--srp-white);
}

.srp-figure__badge-title {
	display: block;
	font-weight: var(--srp-weight-black);
	font-size: 1rem;
	color: var(--srp-white);
}

.srp-figure__badge-note {
	display: block;
	font-size: 0.84375rem;
	font-weight: var(--srp-weight-semibold);
	color: var(--srp-ondark-200);
}

/* ================================================================ FAQ */

.hs-section--srp-faq .hs-container {
	max-width: var(--srp-container-narrow);
}

.hs-section--srp-faq .srp-intro--center {
	margin-bottom: 3rem;
}

.srp-faq {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.srp-faq__item {
	overflow: hidden;
	border: 1px solid var(--srp-border);
	border-radius: var(--srp-radius-lg);
	background: var(--srp-white);
}

.srp-faq__heading {
	margin: 0;
	font: inherit;
}

.srp-faq__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	width: 100%;
	padding: 1.375rem 1.5rem;
	border: none;
	background: none;
	text-align: left;
	cursor: pointer;
	font-family: inherit;
}

.srp-faq__question {
	font-size: 1.125rem;
	font-weight: var(--srp-weight-bold);
	color: var(--srp-text-heading);
}

.srp-faq__marker {
	flex: none;
	display: grid;
	place-items: center;
	width: 1.875rem;
	height: 1.875rem;
	border-radius: 50%;
	background: var(--srp-accent-tint);
	color: var(--srp-accent);
	font-size: 1.25rem;
	font-weight: var(--srp-weight-semibold);
	line-height: 1;
	transition: transform var(--srp-duration-fast) var(--srp-ease),
		background var(--srp-duration-fast) var(--srp-ease),
		color var(--srp-duration-fast) var(--srp-ease);
}

/* The + becomes an x by rotating, exactly as in the concept. */
.srp-faq__trigger[aria-expanded='true'] .srp-faq__marker {
	transform: rotate(45deg);
	background: var(--srp-accent);
	color: var(--srp-white);
}

/*
 * grid-template-rows animates to the answer's real height, so a long answer is never clipped
 * the way a fixed max-height would clip it. Panels are only collapsible once srp.js has
 * added [data-collapsible]; before that they render open.
 */
.srp-faq__panel[data-collapsible] {
	display: grid;
	grid-template-rows: 1fr;
	transition: grid-template-rows var(--srp-duration-base) var(--srp-ease);
}

.srp-faq__panel[data-collapsible][hidden] {
	display: grid;
	grid-template-rows: 0fr;
}

.srp-faq__panel[data-collapsible] > .srp-faq__answer {
	overflow: hidden;
}

.srp-faq__answer {
	padding: 0 1.5rem 1.5rem;
	font-size: 0.96875rem;
	line-height: 1.65;
	color: var(--srp-text-body);
}

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

.srp-faq__answer > :last-child {
	margin-bottom: 0;
}

/* ================================================================ consultation CTA */

.hs-section--srp-cta-form {
	overflow: hidden;
	padding-block: 5.25rem;
}

/* The only non-photographic background flourish on the page. */
.srp-cta__glow {
	position: absolute;
	top: -7.5rem;
	right: -5rem;
	width: 26.25rem;
	height: 26.25rem;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(63, 161, 234, 0.22), transparent 70%);
	pointer-events: none;
}

.srp-cta {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 0.95fr;
	gap: 3.5rem;
	align-items: center;
}

.hs-section--srp-cta-form .hs-section__heading {
	font-size: var(--srp-text-h2-lg);
	line-height: 1.06;
	margin-bottom: 1.125rem;
}

.hs-section--srp-cta-form .hs-section__body {
	max-width: 30rem;
	font-size: 1.09375rem;
	color: var(--srp-ondark-200);
}

.srp-cta__call {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	margin-top: 1.875rem;
}

.srp-cta__call-icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 2.875rem;
	height: 2.875rem;
	border: 1px solid rgba(63, 161, 234, 0.35);
	border-radius: var(--srp-radius-md);
	background: rgba(63, 161, 234, 0.16);
	color: var(--srp-accent-300);
	transition: background var(--srp-duration-fast) var(--srp-ease),
		color var(--srp-duration-fast) var(--srp-ease);
}

.srp-cta__call-icon:hover,
.srp-cta__call-icon:focus-visible {
	background: var(--srp-accent);
	color: var(--srp-white);
}

.srp-cta__call-label {
	margin: 0;
	font-size: var(--srp-text-caption);
	font-weight: var(--srp-weight-semibold);
	color: var(--srp-gray-400);
}

.srp-cta__call-number {
	font-size: 1.375rem;
	font-weight: var(--srp-weight-black);
	color: var(--srp-white);
	text-decoration: none;
}

.srp-cta__call-number:hover {
	color: var(--srp-accent-300);
}

.srp-cta__panel {
	padding: 2.125rem;
	border-radius: var(--srp-radius-2xl);
	background: var(--srp-white);
	box-shadow: var(--srp-shadow-panel);
}

.srp-cta__panel-title {
	margin: 0 0 0.375rem;
	font-family: var(--srp-font-display);
	font-weight: var(--srp-weight-semibold);
	font-size: var(--srp-text-h3);
	line-height: 1.15;
	color: var(--srp-text-heading);
}

.srp-cta__panel-note {
	margin: 0 0 1.375rem;
	font-size: 0.90625rem;
	font-weight: var(--srp-weight-medium);
	color: var(--srp-gray-600);
}

.srp-cta__form-missing {
	margin: 0;
	padding: 1rem;
	border: 1px dashed var(--srp-border-strong);
	border-radius: var(--srp-radius-sm);
	color: var(--srp-gray-600);
	font-size: 0.90625rem;
}

/* ================================================================ Gravity Forms */

/*
 * Gravity Forms' Orbital theme is configured through its own custom properties rather than
 * overridden selector by selector. Setting the properties survives a Gravity update; a pile of
 * !important rules against .gform_wrapper would not.
 *
 * The handful of plain rules after the properties cover the pieces Orbital does not expose:
 * the two-column name row and the submit button's full width.
 */
/* .srp-cta__panel is here only to win the specificity tie with Gravity own token block. */
.srp-cta__panel .srp-cta__form .gform_wrapper {
	--gf-color-primary: var(--srp-accent);
	--gf-color-primary-rgb: 63, 161, 234;
	--gf-color-primary-contrast: var(--srp-white);
	--gf-color-primary-darker: var(--srp-accent-hover);
	--gf-color-primary-lighter: var(--srp-accent-300);

	--gf-local-color: var(--srp-text-heading);
	--gf-ctrl-label-color-primary: var(--srp-ink-800) !important;
	--gf-ctrl-label-color-secondary: var(--srp-gray-400) !important;
	--gf-ctrl-desc-color: var(--srp-gray-600) !important;

	--gf-ctrl-border-color: var(--srp-border-strong) !important;
	--gf-ctrl-border-color-hover: var(--srp-accent-300) !important;
	--gf-ctrl-border-color-focus: var(--srp-accent) !important;
	--gf-ctrl-border-width: 1.5px !important;
	--gf-ctrl-radius: var(--srp-radius-sm) !important;
	--gf-ctrl-bg-color: var(--srp-surface-input) !important;
	--gf-ctrl-color: var(--srp-text-heading) !important;

	--gf-ctrl-btn-bg-color-primary: var(--srp-accent) !important;
	--gf-ctrl-btn-bg-color-hover-primary: var(--srp-accent-hover) !important;
	--gf-ctrl-btn-color-primary: var(--srp-white) !important;
	--gf-ctrl-btn-border-color-primary: var(--srp-accent) !important;
	--gf-ctrl-btn-radius: var(--srp-radius-md) !important;
	--gf-ctrl-btn-font-size: 1.03125rem !important;

	--gf-form-gap-y: 0.875rem;

	font-family: var(--srp-font-body);
}

.srp-cta__form .gform_wrapper .gform_fields {
	row-gap: 0.875rem;
}

.srp-cta__form .gform_wrapper .gfield_label {
	margin-bottom: 0.375rem;
	font-size: 0.78125rem;
	font-weight: var(--srp-weight-bold);
	color: var(--srp-ink-800);
}

.srp-cta__form .gform_wrapper input[type='text'],
.srp-cta__form .gform_wrapper input[type='email'],
.srp-cta__form .gform_wrapper input[type='tel'],
.srp-cta__form .gform_wrapper textarea {
	padding: 0.75rem 0.875rem;
	border: 1.5px solid var(--srp-border-strong);
	border-radius: var(--srp-radius-sm);
	background: var(--srp-surface-input);
	color: var(--srp-text-heading);
	font-family: var(--srp-font-body);
	font-size: 0.9375rem;
}

.srp-cta__form .gform_wrapper input::placeholder,
.srp-cta__form .gform_wrapper textarea::placeholder {
	color: var(--srp-text-placeholder);
}

.srp-cta__form .gform_wrapper input:focus,
.srp-cta__form .gform_wrapper textarea:focus {
	border-color: var(--srp-accent);
	outline: none;
	box-shadow: 0 0 0 3px rgba(63, 161, 234, 0.18);
}

/* First and last name sit side by side, as in the concept. */
.srp-cta__form .gform_wrapper .ginput_complex.ginput_container_name {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.875rem;
}

.srp-cta__form .gform_wrapper .ginput_complex.ginput_container_name > span {
	padding: 0;
	min-height: 0;
}

.srp-cta__form .gform_wrapper .gform_footer {
	margin: 1.25rem 0 0;
	padding: 0;
}

.srp-cta__form .gform_wrapper .gform_footer input[type='submit'],
.srp-cta__form .gform_wrapper .gform_footer button {
	width: 100%;
	padding: 1rem;
	border: none;
	border-radius: var(--srp-radius-md);
	background: var(--srp-accent);
	color: var(--srp-white);
	font-family: var(--srp-font-body);
	font-weight: var(--srp-weight-black);
	font-size: 1.03125rem;
	cursor: pointer;
	box-shadow: 0 10px 26px rgba(63, 161, 234, 0.32);
	transition: background var(--srp-duration-fast) var(--srp-ease);
}

.srp-cta__form .gform_wrapper .gform_footer input[type='submit']:hover,
.srp-cta__form .gform_wrapper .gform_footer button:hover {
	background: var(--srp-accent-hover);
}

/* The privacy reassurance under the button, added as an HTML field on the form. */
.srp-cta__form .srp-form-privacy {
	margin: 0.875rem 0 0;
	text-align: center;
	font-size: var(--srp-text-tiny);
	font-weight: var(--srp-weight-medium);
	color: var(--srp-gray-400);
}

/* Gravity's own confirmation, styled to match the concept's thank-you panel. */
.srp-cta__form .gform_confirmation_message {
	padding: 1.625rem 0.375rem;
	text-align: center;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--srp-text-body);
}

/* ================================================================ footer */

.srp-footer {
	background: var(--srp-ink-900);
	color: var(--srp-ondark-200);
	padding-block: 3.75rem 1.875rem;
}

.srp-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 2.5rem;
	padding-bottom: 2.75rem;
	border-bottom: 1px solid var(--srp-ink-500);
}

/* The lockup is dark artwork, so it needs a white plate on near-black. */
.srp-footer__logo {
	display: inline-block;
	margin-bottom: 1.125rem;
	padding: 0.625rem 0.875rem;
	border-radius: var(--srp-radius-md);
	background: var(--srp-white);
}

.srp-footer__logo img {
	display: block;
	height: 3rem;
	width: auto;
}

.srp-footer__wordmark {
	margin: 0 0 1.125rem;
	font-family: var(--srp-font-display);
	font-size: var(--srp-text-h4);
	color: var(--srp-white);
}

.srp-footer__blurb {
	margin: 0 0 1.125rem;
	max-width: 18.75rem;
	font-size: 0.90625rem;
	line-height: 1.6;
}

.srp-footer__phone {
	font-size: 1.25rem;
	font-weight: var(--srp-weight-black);
	color: var(--srp-white);
	text-decoration: none;
}

.srp-footer__phone:hover {
	color: var(--srp-accent-300);
}

.srp-footer__col-title {
	margin: 0 0 1rem;
	font-weight: var(--srp-weight-bold);
	font-size: 0.9375rem;
	color: var(--srp-white);
}

.srp-footer__links {
	display: flex;
	flex-direction: column;
	gap: 0.6875rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.srp-footer__links a {
	font-size: 0.90625rem;
	color: var(--srp-ondark-200);
	text-decoration: none;
}

.srp-footer__links a:hover {
	color: var(--srp-white);
}

.srp-footer__links--plain {
	font-size: 0.90625rem;
}

.srp-footer__cta {
	font-weight: var(--srp-weight-bold);
	color: var(--srp-accent) !important;
}

.srp-footer__cta:hover {
	color: var(--srp-accent-300) !important;
}

.srp-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.875rem;
	padding-top: 1.5rem;
	font-size: var(--srp-text-caption);
	color: var(--srp-gray-500);
}

.srp-footer__legal {
	margin: 0;
}

.srp-footer__disclaimers {
	display: grid;
	gap: 0.375rem;
	margin-top: 1rem;
	font-size: var(--srp-text-caption);
	line-height: 1.5;
	color: var(--srp-gray-500);
}

.srp-footer__disclaimer {
	margin: 0;
	max-width: 72ch;
}

.srp-footer__legal-links {
	display: flex;
	gap: 1.375rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.srp-footer__legal-links a {
	color: var(--srp-gray-500);
	text-decoration: none;
}

.srp-footer__legal-links a:hover {
	color: var(--srp-white);
}

/* ================================================================ responsive */

/* Four-up grids go two-up before the copy columns break. */
@media (max-width: 68.75rem) {
	.srp-card-grid,
	.srp-steps {
		grid-template-columns: repeat(2, 1fr);
	}

	.srp-services {
		grid-template-columns: repeat(2, 1fr);
	}

	.srp-reviews {
		--srp-slider-per: 2;
	}

	.srp-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 2.25rem;
	}
}

@media (max-width: 61.25rem) {
	.srp-hero {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.srp-hero__content {
		padding: 3.5rem var(--srp-gutter);
		order: 2;
	}

	.srp-hero__media {
		order: 1;
		min-height: 0;
		aspect-ratio: 16 / 10;
	}

	/* The horizontal fade only makes sense beside the copy; over it, fade upward instead. */
	.srp-hero__scrim {
		background: linear-gradient(180deg, rgba(35, 38, 43, 0) 45%, var(--srp-ink-800) 100%);
	}

	.srp-split,
	.srp-split--even,
	.srp-cta {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.srp-trust-bar {
		justify-content: flex-start;
		gap: 1rem 1.5rem;
	}

	/* Dividers stop making sense once the row wraps onto several lines. */
	.srp-trust-bar__item + .srp-trust-bar__item::before {
		display: none;
	}

	.srp-trust-bar__item {
		flex: 1 1 16rem;
	}
}

@media (max-width: 40rem) {
	.srp-card-grid,
	.srp-steps,
	.srp-services {
		grid-template-columns: 1fr;
	}

	.srp-reviews {
		--srp-slider-per: 1;
	}

	.srp-footer__grid {
		grid-template-columns: 1fr;
	}

	.srp-section-head {
		align-items: flex-start;
	}

	.srp-hero__trust {
		gap: 0.875rem;
	}

	.srp-hero__trust li {
		flex: 1 1 100%;
	}

	.srp-cta__panel {
		padding: 1.5rem;
	}

	.srp-buttons .srp-button:not(.srp-button--link) {
		flex: 1 1 100%;
	}

	.srp-faq__trigger {
		padding: 1.125rem 1.125rem;
	}

	.srp-faq__question {
		font-size: 1.0625rem;
	}

	.srp-faq__answer {
		padding: 0 1.125rem 1.125rem;
	}
}

/* The reveal slider is a drag interaction; give it a hint that it is interactive on touch. */
@media (hover: none) {
	.srp-reveal__knob {
		animation: srp-nudge 2.4s var(--srp-ease) 1s 2;
	}
}

@keyframes srp-nudge {
	0%, 100% { transform: translate(-50%, -50%); }
	40% { transform: translate(calc(-50% - 6px), -50%); }
	70% { transform: translate(calc(-50% + 6px), -50%); }
}

@media (prefers-reduced-motion: reduce) {
	.srp-reveal__knob {
		animation: none;
	}
}

/* ================================================================ mobile call button */

/*
 * Floating tap-to-call, from inc/integrations.php. Restyled from the starter's maroon disc:
 * accent blue, and shown only below the breakpoint where the sticky header stops displaying
 * the number.
 */
.srp-call-button {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 90;
	display: none;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	background: var(--srp-accent);
	color: var(--srp-white);
	box-shadow: var(--srp-shadow-accent);
	text-decoration: none;
}

.srp-call-button:hover,
.srp-call-button:focus-visible {
	background: var(--srp-accent-hover);
	color: var(--srp-white);
}

@media (max-width: 61.25rem) {
	.srp-call-button {
		display: flex;
	}
}

/* ================================================================ collapse + form fixes */

/*
 * A closed FAQ row has to have no height at all.
 *
 * grid-template-rows:0fr collapses the answer's CONTENT, but padding is not part of what
 * that track measures, so the answer's 24px bottom padding left every closed row 24px tall.
 * Moving that space onto the last child puts it inside the overflow:hidden box, where the
 * collapse can clip it.
 *
 * Scoped to [data-collapsible] - which srp.js only adds once it is actually driving the
 * accordion - so the no-JavaScript case, where every answer is permanently open, keeps its
 * normal padding.
 */
.srp-faq__panel[data-collapsible] > .srp-faq__answer {
	padding-block: 0;
}

.srp-faq__panel[data-collapsible] > .srp-faq__answer > :last-child {
	margin-bottom: 1.5rem;
}

@media (max-width: 40rem) {
	.srp-faq__panel[data-collapsible] > .srp-faq__answer > :last-child {
		margin-bottom: 1.125rem;
	}
}

/*
 * Full-width submit button, as in the concept.
 *
 * width:100% alone does not do it: Gravity renders the footer as a flex row and the button
 * as a flex item with flex:0 1 auto, which sizes it to its label. Setting the flex grow
 * factor is the fix that actually applies to a flex item - no !important needed against
 * Gravity's own theme framework.
 */
/*
 * Gravity Forms control sizing.
 *
 * The concept's fields are 46px tall and its submit button 55px; Orbital ships 38px for
 * both. Rather than out-specify Gravity's stylesheet - which is enqueued after this one, so
 * beating it means an !important or a specificity race that the next Gravity release can
 * undo - these set the size tokens Orbital itself reads. That is the upgrade-safe way to
 * reskin it, and it is the same mechanism as the colour tokens set further up.
 *
 * Note the names: sizing comes from --gf-ctrl-size / --gf-ctrl-btn-size, which set the
 * control's height directly. The -padding-y properties are 0 in Orbital and are not the
 * lever they look like.
 */
/* .srp-cta__panel is here only to win the specificity tie with Gravity own token block. */
.srp-cta__panel .srp-cta__form .gform_wrapper {
	--gf-ctrl-size: 2.875rem !important;
	--gf-ctrl-font-size: 0.9375rem !important;
	--gf-ctrl-padding-x: 0.875rem !important;
	--gf-ctrl-btn-size: 3.4375rem !important;
	--gf-ctrl-btn-font-size: 1.03125rem !important;
	--gf-ctrl-btn-font-weight: 800 !important;
	--gf-ctrl-btn-padding-x: 1rem !important;
}

/*
 * Full-width submit button. This one is not a token: Gravity lays the footer out as a flex
 * row with the button at flex:0 1 auto, so the grow factor is what actually widens it.
 */
.srp-cta__form .gform_wrapper .gform_footer .gform_button {
	flex: 1 1 auto;
	width: 100%;
	justify-content: center;
}
