/* =========================================================================
   Contact us: template-contact-us.php (/contact-us/).
   Scoped to .cu, mobile first, one min-width query at 900.
   The softer, general contact page (12 Oct 2026). The house recipe from
   css/warranty-page.css with a light hero. The colours alternate: a Green
   Grey hero, then a white form band whose form card and details panel are
   Green Grey. The form's own styling is product.css's .pd-enquiry,
   untouched.
   ========================================================================= */

.cu {
	--cu-navy: #181d46;  /* Billi Blue */
	--cu-tint: #f1f5f5;  /* Green Grey */
	--cu-text: #000;
	--cu-muted: #5f5f66; /* #75757b is under 4.5:1 on Green Grey */
	--cu-gutter: 20px;

	font-family: var(--font-din);
	color: var(--cu-text);
	line-height: 1.5;
	background: var(--cu-tint);
}

@media (min-width: 900px) {
	.cu { --cu-gutter: 40px; }
}

.cu *,
.cu *::before,
.cu *::after { box-sizing: border-box; }

/* Matches .pd-container, so the hero lines up with the form band. */
.cu-container {
	width: 100%;
	max-width: 1436px;
	margin: 0 auto;
	padding-left: var(--cu-gutter);
	padding-right: var(--cu-gutter);
}

.cu :is(h2, h3, h4) {
	margin-top: 0;
	text-transform: none;
	letter-spacing: normal;
}


/* ---- Buttons --------------------------------------------------------------
   16px on a 1.5 line with 12px padding: 48px tall, as on every rebuilt page.
   desktop.css has a global a:hover { opacity: .7 }: every button opts out. */

.cu .cu-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 28px;
	border: 0;
	border-radius: 2px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.cu .cu-btn:hover,
.cu .cu-btn:focus-visible { opacity: 1; }

.cu .cu-btn svg {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
}

.cu .cu-btn--navy { background: var(--cu-navy); color: #fff; }

.cu .cu-btn--navy:hover,
.cu .cu-btn--navy:focus-visible {
	background: #fff;
	color: var(--cu-navy);
	box-shadow: inset 0 0 0 1px var(--cu-navy);
}

.cu .cu-btn--outline {
	background: transparent;
	color: var(--cu-navy);
	box-shadow: inset 0 0 0 1px var(--cu-navy);
}

.cu .cu-btn--outline:hover,
.cu .cu-btn--outline:focus-visible { background: var(--cu-navy); color: #fff; }

/* framework.css removes focus outlines sitewide, and product.css's light
   blue ring is under 3:1 on white and Green Grey. Loads after both. */
.cu :is(a, button, input, select, textarea):focus-visible {
	outline: 2px solid var(--cu-navy);
	outline-offset: 3px;
}


/* ---- Hero ------------------------------------------------------------------
   Light where every other hero is navy: Billi asked for a softer page.
   The title is an <h1>: typography.css gives it DM Serif Display at 400.
   Never set its font-weight or font-family. */

.cu-hero__inner {
	padding-top: 48px;
	padding-bottom: 48px;
}

.cu .cu-hero__title {
	margin: 0;
	color: var(--cu-navy);
	font-size: 34px;
	line-height: 1.12;
}

.cu-hero__intro {
	margin: 16px 0 0;
	max-width: 60ch;
	font-size: 17px;
	line-height: 1.5;
}

.cu-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.cu-hero__note {
	margin: 20px 0 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--cu-muted);
}

.cu .cu-hero__note a {
	color: var(--cu-navy);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cu .cu-hero__note a:hover {
	opacity: 1;
	text-decoration-thickness: 2px;
}

@media (min-width: 900px) {
	.cu-hero__inner { padding-top: 72px; padding-bottom: 72px; }
	.cu .cu-hero__title { font-size: 52px; }
	.cu-hero__intro { font-size: 18px; }
}


/* ---- Form band ---------------------------------------------------------------
   Layout and the Gravity Forms styling come from product.css (.pd-enquiry).
   The colours alternate (Tom, 12 Oct 2026): a white band under the Green Grey
   hero, with the form card and details panel in Green Grey instead of
   product.css's white-on-grey. The white inputs stand out on the tinted card. */

.cu .cu-enquiry { background: #fff; }

.cu .cu-enquiry .pd-enquiry__form { background: var(--cu-tint); }

.cu h2.pd-section-heading { margin-top: 0; }


/* ---- Contact details panel ----------------------------------------------------- */

.cu-details {
	margin-top: 28px;
	padding: 24px;
	border-radius: 4px;
	background: var(--cu-tint);
}

.cu .cu-details__heading {
	margin: 0 0 18px;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--cu-navy);
}

.cu .cu-details__list {
	display: grid;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cu .cu-detail {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0;
	padding: 0;
}

.cu .cu-detail::before { content: none; }

.cu-detail__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	color: var(--cu-navy);
}

/* The icons come from three helpers (contact, FAQs, sector), each with its
   own class, so the well sizes the svg itself. */
.cu .cu-detail__icon svg {
	display: block;
	width: 20px;
	height: 20px;
}

.cu-detail__body {
	min-width: 0;
	padding-top: 1px;
}

.cu .cu-detail__title {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--cu-navy);
}

.cu-detail__text {
	margin-top: 2px;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.cu .cu-detail__text a,
.cu .cu-detail__link {
	color: var(--cu-navy);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cu .cu-detail__link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 6px;
	font-size: 15px;
}

.cu .cu-detail__link svg {
	width: 14px;
	height: 14px;
}

.cu .cu-detail__text a:hover,
.cu .cu-detail__link:hover {
	opacity: 1;
	text-decoration-thickness: 2px;
}
