/**
 * Review Us — front end styles.
 *
 * Typography is inherited from the theme on purpose. The only values to adjust
 * for a different brand are the custom properties in this first block.
 */

/*
 * Padding counts inside a width, throughout the plugin.
 *
 * Without this the full-width button under 480px came out wider than the
 * dialog holding it - width:100% plus 40px of padding and 2px of border - and
 * pushed out of the box. Scoped to the plugin so nothing else on the site is
 * affected.
 */
.review-us-page,
.review-us-page *,
.review-us-page *::before,
.review-us-page *::after,
.review-us-popup-overlay,
.review-us-popup-overlay *,
.review-us-popup-overlay *::before,
.review-us-popup-overlay *::after {
	box-sizing: border-box;
}

.review-us-page,
.review-us-popup-overlay {
	--review-us-black: #000000;
	--review-us-black-dark: #000000;
	--review-us-teal: #1a7e9a;
	--review-us-teal-dark: #1a7e9a;
	--review-us-text: #000000;
	--review-us-muted: #000000;
	--review-us-border: #d9dee5;
	--review-us-surface: #ffffff;
	--review-us-surface-alt: #f3f5f7;
	--review-us-error: #b3261e;
	--review-us-radius: 0;
	--review-us-radius-lg: 0;
	--review-us-shadow: 0 18px 45px rgba(8, 23, 41, 0.22);
	--review-us-z: 99000;
}

/* Screen reader helper, scoped so it never collides with the theme. */
.review-us-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* -------------------------------------------------------------------------
 * Review page
 * ---------------------------------------------------------------------- */

.review-us-page {
	max-width: 900px;
	margin: 0 auto;
	padding: 10px 0 40px;
	text-align: center;
	color: var(--review-us-text);
}

.review-us-page__heading {
    margin: 0 0 10px;
    color: var(--review-us-black);
    font-size: 60px;
    font-weight: 700;
}


.review-us-page__intro {
    margin: 0 auto 34px;
    max-width: 620px;
    color: #000;
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
}

.review-us-options {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 28px;
}

.review-us-option {
	flex: 1 1 260px;
	max-width: 320px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 38px 26px;
	background: var(--review-us-surface-alt);
	border: 2px solid transparent;
	border-radius:0;
	color: var(--review-us-black);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.review-us-option:hover,
.review-us-option:focus-visible {
	background: var(--review-us-surface);
	border-color: var(--review-us-teal);
	box-shadow: 0 12px 28px rgba(8, 23, 41, 0.14);
	transform: translateY(-4px);
}

.review-us-option:focus-visible {
	outline: 3px solid var(--review-us-black);
	outline-offset: 3px;
}

.review-us-option__icon svg {
	width: 68px;
	height: 68px;
	fill: var(--review-us-black);
	transition: fill 0.25s ease;
}

.review-us-option:hover .review-us-option__icon svg,
.review-us-option:focus-visible .review-us-option__icon svg {
	fill: var(--review-us-teal-dark);
}

.review-us-option__label {
	font-size: 1.15em;
	letter-spacing: 0.02em;
}

.review-us-option__hint {
	font-size: 26px;
	color: #000;
    font-weight: 500;
    line-height: 32px;
}

/* -------------------------------------------------------------------------
 * Popups
 * ---------------------------------------------------------------------- */

.review-us-popup-overlay {
	position: fixed;
	inset: 0;
	z-index: var(--review-us-z);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(8, 23, 41, 0.72);
	opacity: 0;
	transition: opacity 0.2s ease;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.review-us-popup-overlay[hidden] {
	display: none;
}

.review-us-popup-overlay.is-visible {
	opacity: 1;
}

.review-us-popup {
	position: relative;
	width: 100%;
	max-width: 620px;
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	background: var(--review-us-surface);
	border-radius: var(--review-us-radius-lg);
	box-shadow: var(--review-us-shadow);
	color: var(--review-us-text);
	transform: translateY(12px);
	transition: transform 0.2s ease;
}

/* Every popup is the same width; the modifier is kept so existing markup and
   any site CSS that targets it still resolve. */
.review-us-popup--narrow {
	max-width: 620px;
}

.review-us-popup-overlay.is-visible .review-us-popup {
	transform: translateY(0);
}

.review-us-popup__body {
	padding: 40px;
	text-align: center;
}

/*
 * The same figures as the page's own heading, so the dialog reads as part of
 * the page rather than a box dropped onto it.
 *
 * Forced, because a theme that sets h2 { font-size: ... !important } - as
 * this site's custom.css does - otherwise decides the size here too, and the
 * heading could neither be sized for the dialog nor stepped down on a phone.
 */
.review-us-popup__title {
	margin: 0 0 16px !important;
	color: var(--review-us-black) !important;
	/*
	 * Sized to keep "We're sorry to hear that." on one line at every width.
	 *
	 * The string measures 10.54em in Georgia, and the dialog gives it 252px at
	 * a 320px phone and 540px on a desktop. 5.6vw between a 17px floor and a
	 * 36px ceiling keeps it inside a quarter of that at every width, so a face
	 * up to 30% wider than the one measured here still holds one line - which
	 * matters, because nowrap spills rather than wraps if the sum is wrong.
	 * !important is needed here only to get past the theme's h1..h6 rule.
	 */
	font-size: clamp(17px, 5.6vw, 36px) !important;
	line-height: 1.12 !important;
	white-space: nowrap;
}

.review-us-popup__text {
	margin: 0 0 22px;
	color: #000;
}

.review-us-popup__notice {
	margin: 0;
	color: var(--review-us-error);
}

.review-us-popup__close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 42px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 50%;
	color: var(--review-us-black);
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.review-us-popup__close:hover,
.review-us-popup__close:focus-visible {
	background: var(--review-us-surface-alt);
}

.review-us-popup__close:focus-visible {
	outline: 3px solid var(--review-us-black);
	outline-offset: 2px;
}

.review-us-popup__close svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

/*
 * Numbered steps rather than three centred sentences.
 *
 * The body is centred, so the list inherited that and the three lines floated
 * with nothing to line them up against - which is what looked wrong. The list
 * is now a left-aligned block centred as a whole, each step numbered, so it
 * reads as an instruction to follow rather than loose text.
 */
.review-us-steps {
	display: inline-block;
	margin: 0 0 30px;
	padding: 0;
	list-style: none;
	text-align: left;
	counter-reset: review-us-step;
	color: #000;
}

.review-us-steps li {
	position: relative;
	counter-increment: review-us-step;
	padding-left: 44px;
	line-height: 1.55;
}

.review-us-steps li + li {
	margin-top: 14px;
}

.review-us-steps li::before {
	content: counter(review-us-step);
	position: absolute;
	left: 0;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--review-us-teal);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
}

/* Google logo button in popup 1. */
.review-us-google-button {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	width: 100%;
	max-width: 320px;
	padding: 26px 20px;
	background: var(--review-us-surface);
	border: 1px solid var(--review-us-border);
	border-radius: var(--review-us-radius);
	font: inherit;
	color: var(--review-us-black);
	cursor: pointer;
	transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.review-us-google-button:hover,
.review-us-google-button:focus-visible {
	border-color: var(--review-us-teal);
	box-shadow: 0 10px 24px rgba(8, 23, 41, 0.16);
	transform: translateY(-2px);
}

.review-us-google-button:focus-visible {
	outline: 3px solid var(--review-us-black);
	outline-offset: 2px;
}

.review-us-google-button__logo {
	display: block;
	width: 100%;
	max-width: 210px;
	height: auto;
}

.review-us-google-button__caption {
	font-weight: 600;
	letter-spacing: 0.02em;
}

/* Primary call to action, matched to the site's button shape. */
/*
 * Used on both a <button> and an <a>, so it cannot rely on a button's own
 * box. Left inline, the anchor version wrapped its border through the middle
 * of the label; and a theme that underlines every link underlined this one.
 */
.review-us-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    background: none;
    font-size: 22px;
    font-weight: 500;
    line-height: 22px;
    border-style: solid;
color: #fff !important;
    border-width: 1px 1px 1px 1px;
    border-color: #1a7e9a;
    border-radius: 0px;
    padding: 15px 50px 15px 50px;
    text-transform: uppercase;
	background: #1a7e9a;
}

.review-us-cta:hover,
.review-us-cta:focus-visible {
    color: #1a7e9a !important;
	background: none;
    text-decoration: none !important;
}

.review-us-cta:focus-visible {
   background-color: #1a7e9a;
    color: #fff;
    border-color: #1a7e9a;
}

.review-us-cta--ghost {
	background: transparent;
	color: var(--review-us-black);
}

.review-us-cta[aria-busy="true"] {
	opacity: 0.75;
	cursor: progress;
}

/* -------------------------------------------------------------------------
 * Feedback form
 * ---------------------------------------------------------------------- */

.review-us-feedback-form {
	text-align: left;
}

.review-us-feedback-form__row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.review-us-feedback-form__row > .review-us-feedback-field {
	flex: 1 1 200px;
}

.review-us-feedback-field {
	margin-bottom: 16px;
}

/* The disclaimer's label sits beside its checkbox and inherits the form's
   own type, so it is not forced to a block, a weight or a size here. */
.review-us-feedback-field label {
    margin-bottom: 6px;
    color: var(--review-us-black);
    line-height: 22px;
}

.review-us-feedback-field__required {
	color: var(--review-us-error);
}

.review-us-feedback-field__optional {
	font-weight: 400;
	color: var(--review-us-muted);
}

.review-us-feedback-field input,
.review-us-feedback-field select,
.review-us-feedback-field textarea {
	width: 100%;
	padding: 12px 14px;
	min-width: 0;
	font-size: 18px;
	background: var(--review-us-surface);
	border: 1px solid var(--review-us-border);
	border-radius: var(--review-us-radius);
	font: inherit;
	color: var(--review-us-text);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.review-us-feedback-field input:focus,
.review-us-feedback-field select:focus,
.review-us-feedback-field textarea:focus {
	border-color: var(--review-us-teal);
	box-shadow: 0 0 0 3px rgba(213, 175, 52, 0.22);
	outline: none;
}

/* One height for every single-line field; the checkbox keeps its own box. */
.review-us-feedback-field input:not([type="checkbox"]):not([type="radio"]),
.review-us-feedback-field select {
	height: 55px;
	padding: 0 16px;
}

.review-us-feedback-field textarea {
	min-height: 120px;
	resize: vertical;
}

.review-us-feedback-field.has-error input,
.review-us-feedback-field.has-error select,
.review-us-feedback-field.has-error textarea {
	border-color: var(--review-us-error);
}

.review-us-feedback-field__error {
	display: none;
	margin-top: 5px;
	font-size: 0.85em;
	color: var(--review-us-error);
}

.review-us-feedback-field.has-error .review-us-feedback-field__error {
	display: block;
}

.review-us-feedback-consent {
	margin-top: 4px;
}

.review-us-feedback-consent__label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	font-weight: 400;
	cursor: pointer;
}

.review-us-feedback-consent__label input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	flex: 0 0 auto;
}

.review-us-feedback-consent__text {
	font-size: 0.78em;
	font-style: italic;
	line-height: 1.5;
	color: var(--review-us-muted);
}

.review-us-feedback-consent.has-error .review-us-feedback-consent__text {
	color: var(--review-us-error);
}

.review-us-feedback-form__error {
	margin: 0 0 16px;
	padding: 12px 14px;
	background: #fdecea;
	border-left: 4px solid var(--review-us-error);
	border-radius: var(--review-us-radius);
	color: var(--review-us-error);
	font-size: 0.95em;
}

.review-us-feedback-form__disclaimer {
	margin: 16px 0 0;
	font-size: 0.8em;
	font-style: italic;
	color: var(--review-us-muted);
}

.review-us-feedback-submit {
	width: 100%;
	gap: 10px;
}

.review-us-feedback-spinner {
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, 0.45);
	border-top-color: #fff;
	border-radius: 50%;
	animation: review-us-spin 0.7s linear infinite;
}

.review-us-feedback-spinner[hidden] {
	display: none;
}

@keyframes review-us-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Honeypot: hidden from people, reachable for bots. */
.review-us-feedback-honeypot {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.review-us-feedback-success {
	text-align: center;
}

.review-us-feedback-success[hidden] {
	display: none;
}

/* Carries .review-us-popup__title as well, so its type matches the heading
   it replaces; only the colour differs. */
.review-us-feedback-success__title {
	margin: 0 0 16px !important;
	color: var(--review-us-teal) !important;
}

/*
 * Forced, like the heading above it: the theme's custom.css carries
 * p { font-size: 17px !important }, which decided this line until now.
 */
.review-us-feedback-success__text {
	margin: 0 0 22px;
	color: var(--review-us-muted);
	font-size: 18px !important;
	line-height: 24px !important;
}

/* -------------------------------------------------------------------------
 * Gravity Forms and Contact Form 7 inside the popup
 *
 * Gravity Forms brings its own theme, which drew the form nothing like the
 * plugin's own: a label over every field, "(Required)" beside it, Country and
 * Phone Number sublabels, and the consent notice boxed in its own scrolling
 * frame with the checkbox stranded underneath. Everything below puts it back
 * to the shape the built-in form has - placeholder-only fields, the consent
 * text beside its box, one full-width button - so swapping the form over does
 * not change what the client sees.
 * ---------------------------------------------------------------------- */

.review-us-feedback-form-wrap .gform_wrapper,
.review-us-feedback-form-wrap .wpcf7 {
	text-align: left;
	max-width: 100%;
}

.review-us-feedback-form-wrap input[type="submit"] {
	max-width: 100%;
}

/* GF's own spacing scale, where it reads it from custom properties. */
.review-us-feedback-form-wrap .gform_wrapper.gravity-theme,
.review-us-feedback-form-wrap .gform_wrapper {
	--gf-form-gap-y: 16px;
	--gf-color-primary: var(--review-us-teal);
	--gf-local-radius: 0;
	font-family: inherit;
	font-size: inherit;
}

/*
 * Labels are hidden, not removed: every field carries the same words as its
 * placeholder, so a screen reader still hears them while the dialog keeps the
 * placeholder-only look it was designed with.
 */
.review-us-feedback-form-wrap .gfield_label,
.review-us-feedback-form-wrap .gform-field-label,
.review-us-feedback-form-wrap .gfield_label_before_complex,
.review-us-feedback-form-wrap .ginput_complex label,
.review-us-feedback-form-wrap .ginput_container > span > label,
.review-us-feedback-form-wrap .gform_required_legend,
.review-us-feedback-form-wrap .gform_heading,
.review-us-feedback-form-wrap .gsection_description {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* The consent checkbox's own label is the one label that stays on screen. */
.review-us-feedback-form-wrap .gform-field-label--type-inline,
.review-us-feedback-form-wrap .ginput_container_consent label {
	position: static !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	overflow: visible !important;
	clip: auto !important;
	white-space: normal !important;
}

/* One gap between fields, whichever markup this version of GF emits. */
.review-us-feedback-form-wrap .gform_fields {
	display: grid !important;
	grid-template-columns: 1fr !important;
	row-gap: 16px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.review-us-feedback-form-wrap .gfield {
	margin: 0 !important;
	padding: 0 !important;
	max-width: 100% !important;
	list-style: none !important;
}

.review-us-feedback-form-wrap .gfield::before,
.review-us-feedback-form-wrap .gfield::after {
	content: none !important;
}

.review-us-feedback-form-wrap .ginput_container {
	margin: 0 !important;
}

/* The same field as the built-in form: full width, square, one hairline. */
.review-us-feedback-form-wrap .gform_wrapper input[type="text"],
.review-us-feedback-form-wrap .gform_wrapper input[type="email"],
.review-us-feedback-form-wrap .gform_wrapper input[type="tel"],
.review-us-feedback-form-wrap .gform_wrapper input[type="url"],
.review-us-feedback-form-wrap .gform_wrapper input[type="number"],
.review-us-feedback-form-wrap .gform_wrapper input[type="password"],
.review-us-feedback-form-wrap .gform_wrapper select,
.review-us-feedback-form-wrap .gform_wrapper textarea,
.review-us-feedback-form-wrap .wpcf7 input[type="text"],
.review-us-feedback-form-wrap .wpcf7 input[type="email"],
.review-us-feedback-form-wrap .wpcf7 input[type="tel"],
.review-us-feedback-form-wrap .wpcf7 textarea {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 16px !important;
	height: 55px !important;
	background: var(--review-us-surface) !important;
	border: 1px solid var(--review-us-border) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-family: inherit !important;
	font-size: 18px !important;
	line-height: 24px !important;
	color: var(--review-us-text) !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/*
 * The placeholder takes the field's own size, so the two never disagree.
 *
 * Forced, and each vendor spelling in a rule of its own. The theme sizes
 * ::placeholder itself with !important, which an unforced `inherit` lost to -
 * so the field went to 18px and the placeholder stayed behind, which is all
 * anyone sees on an empty form. Grouping the prefixed spellings would be
 * worse than useless: one name a browser does not know throws the whole rule
 * away, including the standard selector beside it.
 */
.review-us-feedback-form-wrap ::placeholder,
.review-us-feedback-field ::placeholder {
	font-size: 18px !important;
	line-height: normal !important;
	opacity: 1 !important;
}

.review-us-feedback-form-wrap ::-webkit-input-placeholder,
.review-us-feedback-field ::-webkit-input-placeholder {
	font-size: 18px !important;
	opacity: 1 !important;
}

.review-us-feedback-form-wrap ::-moz-placeholder,
.review-us-feedback-field ::-moz-placeholder {
	font-size: 18px !important;
	opacity: 1 !important;
}

.review-us-feedback-form-wrap :-ms-input-placeholder,
.review-us-feedback-field :-ms-input-placeholder {
	font-size: 18px !important;
	opacity: 1 !important;
}

.review-us-feedback-form-wrap .gform_wrapper textarea,
.review-us-feedback-form-wrap .wpcf7 textarea {
	/* Gravity's message field is set to ten rows; the dialog wants the five
	   the plugin's own form uses. Left resizable, so a long message still
	   has somewhere to go. */
	height: 132px !important;
	min-height: 120px !important;
	padding: 14px 16px !important;
	resize: vertical;
}

/* Gold on focus, the same accent the buttons and the numbered steps carry. */
.review-us-feedback-form-wrap .gform_wrapper input:focus,
.review-us-feedback-form-wrap .gform_wrapper select:focus,
.review-us-feedback-form-wrap .gform_wrapper textarea:focus,
.review-us-feedback-form-wrap .wpcf7 input:focus,
.review-us-feedback-form-wrap .wpcf7 textarea:focus {
	border-color: var(--review-us-teal) !important;
	box-shadow: 0 0 0 3px rgba(213, 175, 52, 0.22) !important;
	outline: none !important;
}

.review-us-feedback-form-wrap input[type="checkbox"],
.review-us-feedback-form-wrap input[type="radio"] {
	accent-color: var(--review-us-teal);
}

/*
 * The country picker and the number share one row, as they do on the firm's
 * own contact form; without this the select takes the full width rule above
 * and the number drops onto a second line.
 */
.review-us-feedback-form-wrap .ginput_container_phone,
.review-us-feedback-form-wrap .ginput_container_phone > .gform-grid-row,
.review-us-feedback-form-wrap .ginput_container_phone .iti {
	display: flex !important;
	width: 100% !important;
	max-width: 100% !important;
	align-items: stretch;
	gap: 0;
	margin: 0 !important;
	padding: 0 !important;
}

.review-us-feedback-form-wrap .ginput_container_phone > *,
.review-us-feedback-form-wrap .ginput_container_phone .gform-grid-col {
	margin: 0 !important;
	padding: 0 !important;
}

/* The country picker takes what it needs; the number takes the rest, so the
   field finishes flush with the ones above it whichever wrapper Gravity puts
   around it - two spans, a grid row, or intl-tel-input's own box. */
.review-us-feedback-form-wrap .ginput_container_phone > * {
	flex: 1 1 auto;
	min-width: 0;
	width: auto !important;
}

.review-us-feedback-form-wrap .ginput_container_phone > *:first-child {
	flex: 0 0 auto;
}

/*
 * Gravity's phone row can carry a third, empty cell after the number - the
 * grid it lays the field out on keeps the slot whether or not anything is in
 * it. Sizing "the last child" therefore grew that empty slot and left the
 * number short, which is what the gap on the right of the field was. The
 * cell holding an input takes the slack instead, and the empty one collapses.
 */
.review-us-feedback-form-wrap .ginput_container_phone > *:empty {
	display: none !important;
}

.review-us-feedback-form-wrap .ginput_container_phone > *:has(input) {
	flex: 1 1 auto !important;
}

.review-us-feedback-form-wrap .ginput_container_phone > *:not(:has(input)):not(:first-child) {
	flex: 0 0 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
}

.review-us-feedback-form-wrap .ginput_container_phone input[type="tel"],
.review-us-feedback-form-wrap .ginput_container_phone input[type="text"] {
	width: 100% !important;
	flex: 1 1 auto;
}

.review-us-feedback-form-wrap .ginput_container_phone select {
	width: auto !important;
	min-width: 96px;
	border-right-width: 0 !important;
}

/*
 * The country picker stands as tall as the number beside it, and wears the
 * same border.
 *
 * Gravity builds this field differently depending on version and settings, so
 * both the shape and the exact names are covered. On 2.9 the nesting is
 *
 *   .ginput_container_phone
 *     > .gform-phone
 *       > .gform-phone__input-wrapper          (a grid)
 *         > .ginput_country_selector_container
 *           > button.gform-phone__country-selector.gform-theme-button--tertiary
 *         > input[type=tel]
 *
 * which is two levels deeper than the rules above reach - so the row sizing
 * never got near the button, and it kept the theme button's own height and
 * its darker border.
 */
.review-us-feedback-form-wrap .ginput_container_phone {
	min-height: 55px;
	align-items: stretch !important;
}

/*
 * The two wrappers Gravity 2.9 puts between the field and its controls take
 * the full width; the cells inside them size themselves. Sharing one rule
 * pushed width:100% onto every cell, and two cells each asking for the whole
 * row ran the number past the edge of the dialog.
 */
.review-us-feedback-form-wrap .gform-phone,
.review-us-feedback-form-wrap .gform-phone__input-wrapper {
	width: 100% !important;
	max-width: 100% !important;
}

.review-us-feedback-form-wrap .ginput_container_phone > *,
.review-us-feedback-form-wrap .gform-phone,
.review-us-feedback-form-wrap .gform-phone__input-wrapper {
	align-self: stretch !important;
	display: flex !important;
	align-items: stretch;
	gap: 0;
	margin: 0 !important;
	padding: 0 !important;
}

/* The picker takes what it needs; the number takes the rest. */
.review-us-feedback-form-wrap .ginput_country_selector_container,
.review-us-feedback-form-wrap .gform-phone__input-wrapper > *:first-child {
	flex: 0 0 auto;
	width: auto !important;
	display: flex !important;
	align-items: stretch;
}

.review-us-feedback-form-wrap .gform-phone__input-wrapper > *:last-child {
	flex: 1 1 auto;
	min-width: 0;
	width: auto !important;
}

/*
 * Named exactly, not matched on "country" appearing anywhere in a class.
 *
 * The list this button opens is .gform-phone__country-selector-dropdown and
 * .gform-phone__country-list - both carry the word - so a wildcard pinned the
 * dropdown to the 55px meant for the button and left one clipped row showing.
 * Only the control that opens the list is sized here.
 */
.review-us-feedback-form-wrap .ginput_phone_country,
.review-us-feedback-form-wrap .ginput_phone_country select,
.review-us-feedback-form-wrap .ginput_country_selector_container,
.review-us-feedback-form-wrap .gform-phone__country-selector,
.review-us-feedback-form-wrap .gform-country-code-picker,
.review-us-feedback-form-wrap .gform-country-code-picker__toggle,
.review-us-feedback-form-wrap .iti__selected-flag,
.review-us-feedback-form-wrap .iti__flag-container {
	height: 55px !important;
	min-height: 55px !important;
	align-self: stretch !important;
	margin: 0 !important;
	box-sizing: border-box;
}

/*
 * Its border matched to the fields around it, and 18px of room inside.
 *
 * Left and right only: the height is fixed at 55px, so 18px top and bottom
 * would leave 17px for a flag and a dial code that need more than that. Side
 * padding is the part that shows.
 */
.review-us-feedback-form-wrap .ginput_phone_country select,
.review-us-feedback-form-wrap .gform-phone__country-selector,
.review-us-feedback-form-wrap .gform-country-code-picker__toggle,
.review-us-feedback-form-wrap .iti__selected-flag {
	padding: 0 18px !important;
	background: var(--review-us-surface) !important;
	border: 1px solid var(--review-us-border) !important;
	/* One divider between the two, drawn by the number field's own left edge. */
	border-right-width: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--review-us-text) !important;
	font-family: inherit !important;
	font-size: 18px !important;
	line-height: 24px !important;
}

.review-us-feedback-form-wrap .gform-phone__country-selector,
.review-us-feedback-form-wrap .gform-country-code-picker__toggle,
.review-us-feedback-form-wrap .iti__selected-flag {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	cursor: pointer;
}

/*
 * The list itself is left to Gravity - including whether it is on screen.
 *
 * Forcing `display: block` here to undo the earlier clipping also meant
 * Gravity could no longer shut the list: it closes it by hiding it, and
 * !important beat both a class and an inline style. So the list opened with
 * the page and stayed open after a country was picked. Nothing in this file
 * sets its display, height or max-height now; the only thing left is a stack
 * order, so it sits over the fields it covers rather than behind them.
 */
.review-us-feedback-form-wrap [id*="phone_dropdown"],
.review-us-feedback-form-wrap [class*="selector-dropdown"],
.review-us-feedback-form-wrap .iti__country-list {
	z-index: 20;
}

/*
 * The rows get nothing at all. Resetting their height here was no better than
 * pinning it: it overrode the 36px Gravity gives them and squashed the list.
 * With the wildcard gone, no rule in this file reaches them.
 */

/*
 * The flag sits in the middle of the row at whatever size Gravity gave it.
 *
 * Its height is left alone deliberately: the icon is an empty span with a
 * background image, so forcing `height: auto` on it collapses it to nothing
 * and the flag disappears.
 */
.review-us-feedback-form-wrap [class*="flag-icon"],
.review-us-feedback-form-wrap .iti__flag {
	align-self: center !important;
	flex: 0 0 auto;
}

.review-us-feedback-form-wrap .ginput_container_phone img {
	height: auto !important;
	max-height: 24px;
	min-height: 0 !important;
	align-self: center !important;
	flex: 0 0 auto;
}

/*
 * Consent: the checkbox to the left of its notice, no frame.
 *
 * GF boxes the notice in a scrolling frame of its own and leaves the checkbox
 * below it, which is the part of the Gravity layout that looked least like
 * the rest of the dialog. `order` puts the box first whichever way round this
 * form has its description set.
 */
.review-us-feedback-form-wrap .gfield--type-consent,
.review-us-feedback-form-wrap .gfield_consent,
.review-us-feedback-form-wrap .gfield--type-checkbox {
	display: flex !important;
	flex-wrap: wrap;
	align-items: flex-start;
	column-gap: 12px;
	row-gap: 6px;
	border: 0 !important;
	padding: 0 !important;
}

.review-us-feedback-form-wrap .ginput_container_consent,
.review-us-feedback-form-wrap .gfield--type-consent .gfield_checkbox {
	order: 1;
	flex: 0 0 auto;
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.review-us-feedback-form-wrap .ginput_container_consent input[type="checkbox"],
.review-us-feedback-form-wrap .gfield--type-consent input[type="checkbox"] {
	width: 18px !important;
	height: 18px !important;
	min-height: 0 !important;
	margin: 3px 0 0 !important;
	padding: 0 !important;
	flex: 0 0 auto;
	border: 1px solid var(--review-us-border) !important;
}

/*
 * `:not(.validation_message)` matters: Gravity gives its "This field is
 * required." the gfield_description class too, so without it the message
 * matched this rule, took a share of the row and squeezed the notice into a
 * narrow column beside it.
 */
.review-us-feedback-form-wrap .gfield_consent_description,
.review-us-feedback-form-wrap .gfield--type-consent .gfield_description:not(.validation_message):not(.gfield_validation_message),
.review-us-feedback-form-wrap .gfield_consent .gfield_description:not(.validation_message):not(.gfield_validation_message) {
	order: 2;
	/* Basis 0, not auto: the notice is long, so an auto basis measured wider
	   than the row and wrapped the whole thing under the checkbox. */
	flex: 1 1 0%;
	min-width: 0;
	max-height: none !important;
	height: auto !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	background: none !important;
	overflow: visible !important;
	font-size: 14px !important;
	line-height: 20px !important;
	color: #000 !important;
	text-align: left;
}

/* Its own full-width line, below the notice rather than beside it. */
.review-us-feedback-form-wrap .gfield--type-consent .validation_message,
.review-us-feedback-form-wrap .gfield--type-consent .gfield_validation_message,
.review-us-feedback-form-wrap .gfield_consent .validation_message,
.review-us-feedback-form-wrap .gfield_consent .gfield_validation_message {
	order: 3;
	flex: 1 0 100%;
	width: 100%;
	margin-top: 8px !important;
}

/*
 * The frame and its inset, wherever they are.
 *
 * Gravity draws the notice in a bordered, scrolling box, and which element
 * carries that box moves between GF versions and between a consent field and
 * a pasted HTML field - so this clears it from anything inside the consent
 * field rather than from one named class. Form controls are left out, or the
 * checkbox would lose its own outline.
 */
.review-us-feedback-form-wrap .gfield--type-consent *:not(input):not(select):not(textarea),
.review-us-feedback-form-wrap .gfield_consent *:not(input):not(select):not(textarea),
.review-us-feedback-form-wrap .gfield_consent_description *:not(input):not(select):not(textarea) {
	border: 0 !important;
	padding: 0 !important;
	background: none !important;
	max-height: none !important;
	overflow: visible !important;
	font-size: inherit !important;
	line-height: inherit !important;
	color: inherit !important;
}

/* One full-width button, the shape the site uses everywhere else. */
.review-us-feedback-form-wrap .gform_footer,
.review-us-feedback-form-wrap .wpcf7 .wpcf7-submit-wrap {
	display: block !important;
	margin: 22px 0 0 !important;
	padding: 0 !important;
}

.review-us-feedback-form-wrap .gform_footer input[type="submit"],
.review-us-feedback-form-wrap .gform_button,
.review-us-feedback-form-wrap .wpcf7 input[type="submit"] {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	background: var(--review-us-teal) !important;
	color: var(--review-us-surface) !important;
	font-family: inherit !important;
	font-size: 22px !important;
	line-height: 22px !important;
	font-weight: 500 !important;
	padding: 15px 30px !important;
	border: 1px solid var(--review-us-teal) !important;
	border-radius: 0 !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.review-us-feedback-form-wrap .gform_footer input[type="submit"]:hover,
.review-us-feedback-form-wrap .gform_button:hover,
.review-us-feedback-form-wrap .gform_footer input[type="submit"]:focus-visible,
.review-us-feedback-form-wrap .gform_button:focus-visible,
.review-us-feedback-form-wrap .wpcf7 input[type="submit"]:hover {
	background: none !important;
	color: var(--review-us-teal) !important; 
}

/*
 * The confirmation Gravity swaps in where the form was.
 *
 * The form is set left-aligned so its fields line up, and GF renders the
 * confirmation inside that same wrapper - so the thank-you inherited the
 * left edge while the rest of the dialog stayed centred.
 */
.review-us-feedback-form-wrap .gform_confirmation_wrapper,
.review-us-feedback-form-wrap .gform_confirmation_message,
.review-us-feedback-form-wrap .gform_confirmation_message p,
.review-us-feedback-form-wrap .wpcf7-response-output {
	text-align: center !important;
	margin: 0 auto !important;
	padding: 0 !important;
	border: 0 !important;
	max-width: 100%;
}

/*
 * ...and reads at the same size as the plugin's own thank-you, so whichever
 * form is in use the visitor is shown the same screen. The typeface is copied
 * onto it in JS: the plugin's version is an <h2>, so it picks up the theme's
 * heading font from an element selector no class here can reach.
 */
.review-us-feedback-form-wrap .gform_confirmation_message,
.review-us-feedback-form-wrap .gform_confirmation_message p,
.review-us-feedback-form-wrap .wpcf7-response-output.wpcf7-mail-sent-ok {
	color: var(--review-us-teal) !important;
	font-size: clamp(17px, 5.6vw, 36px) !important;
	line-height: 1.12 !important;
	font-weight: 700;
}

/*
 * A thank-you fills the dialog rather than leaving a strip.
 *
 * Once the form is taken away there is one line left in a box padded 40px,
 * so the dialog collapsed to a band floating in the middle of the overlay.
 * The class is set in JS; the :has() forms cover a confirmation that is on
 * the page before the script gets to it.
 */
.review-us-popup-overlay.is-thanks .review-us-popup__body,
.review-us-popup:has(.gform_confirmation_wrapper) .review-us-popup__body,
.review-us-popup:has(.gform_confirmation_message) .review-us-popup__body,
.review-us-popup:has(.review-us-feedback-success:not([hidden])) .review-us-popup__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	min-height: min(420px, 60vh);
}

/* GF's spinner, which otherwise sits on its own line under the button. */
.review-us-feedback-form-wrap .gform_ajax_spinner {
	display: inline-block;
	margin: 10px auto 0;
}

/*
 * Gravity Forms' own error reporting, made legible inside the dialog.
 *
 * GF marks a bad field with a red border and prints the reason in its own
 * markup, which this popup was not styling at all - so a rejected field
 * looked like a form that simply would not submit, with no reason given.
 */
.review-us-feedback-form-wrap .gform_validation_errors,
.review-us-feedback-form-wrap .validation_error {
	margin: 0 0 18px !important;
	padding: 14px 16px !important;
	border: 0 !important;
	border-left: 4px solid var(--review-us-error) !important;
	border-radius: 0 !important;
	background: #fdecea !important;
	box-shadow: none !important;
	color: var(--review-us-error);
	font-size: 15px;
	line-height: 22px;
	text-align: left;
}

.review-us-feedback-form-wrap .gform_validation_errors h2,
.review-us-feedback-form-wrap .gform_validation_errors > ol {
	margin: 0 !important;
	padding: 0 !important;
	color: var(--review-us-error) !important;
	font-size: 15px !important;
	line-height: 22px !important;
	font-family: inherit !important;
	list-style: none !important;
}

.review-us-feedback-form-wrap .validation_message,
.review-us-feedback-form-wrap .gfield_validation_message,
.review-us-feedback-form-wrap .gfield_description.validation_message {
	display: block;
	margin-top: 6px !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: var(--review-us-error) !important;
	font-size: 14px !important;
	line-height: 20px !important;
	font-weight: 400 !important;
	text-align: left;
}

/*
 * Spelled out by type, and through .gform_wrapper, because the plain
 * `.gfield_error input` form of this rule lost to the field rule above on
 * specificity - both forced - and a refused field kept its ordinary hairline
 * with only the message underneath to say anything was wrong.
 */
.review-us-feedback-form-wrap .gform_wrapper .gfield_error input[type="text"],
.review-us-feedback-form-wrap .gform_wrapper .gfield_error input[type="email"],
.review-us-feedback-form-wrap .gform_wrapper .gfield_error input[type="tel"],
.review-us-feedback-form-wrap .gform_wrapper .gfield_error input[type="url"],
.review-us-feedback-form-wrap .gform_wrapper .gfield_error input[type="number"],
.review-us-feedback-form-wrap .gform_wrapper .gfield_error select,
.review-us-feedback-form-wrap .gform_wrapper .gfield_error textarea,
.review-us-feedback-form-wrap .gfield_error input,
.review-us-feedback-form-wrap .gfield_error select,
.review-us-feedback-form-wrap .gfield_error textarea {
	border-color: var(--review-us-error) !important;
}

/* Body scroll lock while a popup is open. */
html.review-us-locked,
body.review-us-locked {
	overflow: hidden;
}

/* -------------------------------------------------------------------------
 * Responsive
 * ---------------------------------------------------------------------- */
@media (max-width: 991px) {
	.review-us-page__heading{
		font-size: 46px;
	}
	.review-us-page__intro {
    margin: 0 auto 25px;
    font-size: 20px;
    line-height: 24px;
}
.review-us-option__hint {
    font-size: 22px;
    line-height: 26px;
}
}
@media (max-width: 782px) {
	.review-us-options {
		gap: 18px;
	}

	.review-us-option {
		flex: 1 1 100%;
		max-width: 100%;
		padding: 28px 20px;
	}

	.review-us-option__icon svg {
		width: 54px;
		height: 54px;
	}

	.review-us-popup-overlay {
		padding: 12px;
		align-items: flex-start;
	}

	.review-us-popup {
		max-height: calc(100vh - 24px);
	}

	.review-us-popup__body {
		padding: 34px 22px;
	}

	/* The whole dialog comes down a step on a phone, not just its heading. */
	.review-us-popup__title {
		margin: 0 0 12px !important;
		line-height: 1.16 !important;
	}

	.review-us-popup__text,
	.review-us-steps {
		font-size: 15px;
		line-height: 24px;
	}

	/* One step down on a phone, and forced for the same reason. */
	.review-us-feedback-success__text {
		font-size: 16px !important;
		line-height: 24px !important;
	}

	.review-us-popup__notice {
		font-size: 14px;
	}

	.review-us-cta {
		font-size: 17px;
		padding: 13px 24px;
		max-width: 100%;
	}

	.review-us-steps li {
		padding-left: 38px;
	}

	.review-us-feedback-form__row {
		gap: 0;
	}

	.review-us-feedback-form__row > .review-us-feedback-field {
		flex: 1 1 100%;
	}

	/* Gravity's fields come down the same step as the plugin's own. */
	.review-us-feedback-form-wrap .gform_wrapper input[type="text"],
	.review-us-feedback-form-wrap .gform_wrapper input[type="email"],
	.review-us-feedback-form-wrap .gform_wrapper input[type="tel"],
	.review-us-feedback-form-wrap .gform_wrapper input[type="url"],
	.review-us-feedback-form-wrap .gform_wrapper select,
	.review-us-feedback-form-wrap .gform_wrapper textarea {
		padding: 0 14px !important;
		font-size: 16px !important;
		line-height: 22px !important;
	}

	.review-us-feedback-form-wrap .gform_wrapper textarea {
		padding: 12px 14px !important;
	}

	.review-us-feedback-field input:not([type="checkbox"]):not([type="radio"]),
	.review-us-feedback-field select {
		padding: 0 14px;
		font-size: 16px;
	}

	.review-us-feedback-form-wrap .gfield_consent_description,
	.review-us-feedback-form-wrap .gfield--type-consent .gfield_description:not(.validation_message):not(.gfield_validation_message),
	.review-us-feedback-form-wrap .gfield_consent .gfield_description:not(.validation_message):not(.gfield_validation_message) {
		font-size: 13px !important;
		line-height: 19px !important;
	}

	.review-us-feedback-form-wrap .gform_footer input[type="submit"],
	.review-us-feedback-form-wrap .gform_button,
	.review-us-feedback-form-wrap .wpcf7 input[type="submit"] {
		font-size: 17px !important;
		padding: 13px 20px !important;
	}

	.review-us-feedback-form-wrap .ginput_container_phone select {
		min-width: 84px;
	}
}

@media (max-width: 480px) {
	.review-us-cta {
		width: 100%;
		padding: 14px 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.review-us-option,
	.review-us-popup,
	.review-us-popup-overlay,
	.review-us-google-button,
	.review-us-cta {
		transition: none;
	}

	.review-us-option:hover,
	.review-us-google-button:hover {
		transform: none;
	}

	.review-us-feedback-spinner {
		animation-duration: 2s;
	}
}

.review-us-feedback-form-wrap .gform_wrapper input.gform-phone__input,
.review-us-feedback-form-wrap .gform_wrapper .ginput_container_phone input,
.review-us-feedback-form-wrap .gform_wrapper textarea,
.review-us-feedback-form-wrap .gform_wrapper textarea.textarea{
	color: #000 !important;
}
