/*
Theme Name:   Water Innovations
Theme URI:    https://waterinnovations.co.za
Description:  Bespoke block theme for Water Innovations — the durable site
              template. Structure lives in templates/ and parts/; the entire visual
              layer is expressed as design tokens in theme.json so it can be restyled
              by the graphic designers without touching structure.
Author:       GreyOnion
Author URI:   https://greyonion.com
Version:      0.5.11
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  waterinnovations
Tags:         block-theme, e-commerce, custom
*/

/* ==========================================================================
   Design tokens live in theme.json — NEVER hardcode a colour, font size or
   spacing value here. Add tokens to theme.json and reference them as
   var(--wp--preset--<category>--<slug>).

   This file is for structural / component CSS only (layout glue, component
   scaffolding, third-party block overrides). Designers restyle the site by
   editing theme.json, not by editing this file.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Base structure
   -------------------------------------------------------------------------- */

/* Sticky header support: keep the header above stacked content. */
.wp-site-blocks > header.wp-block-group,
.wp-site-blocks > .wp-block-template-part:first-child {
	position: relative;
	z-index: 20;
}

/* Media should never overflow its container. */
img,
svg,
video,
iframe {
	max-width: 100%;
	height: auto;
}

/* Focus visibility — accessibility floor, independent of brand colours. */
:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   2. Component scaffolding
   -------------------------------------------------------------------------- */

/* Cards: surfaces raised off the page. Used by patterns and product tiles. */
.wi-card,
.wp-block-woocommerce-product-template > li,
.wp-block-woocommerce-product-collection .wc-block-components-product-template {
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--subtle);
	border-radius: var(--wp--custom--radius--md);
	box-shadow: var(--wp--preset--shadow--wi-sm);
	overflow: hidden;
	transition: box-shadow var(--wp--custom--transition--base);
}

.wi-card:hover {
	box-shadow: var(--wp--preset--shadow--wi-md);
}

/* Section rhythm: full-width sections get generous vertical breathing room. */
.wp-block-group.alignfull {
	box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   3. WooCommerce structural overrides
   (layout only — colours and type come from theme.json)
   -------------------------------------------------------------------------- */

/* Product grid tiles align to the top so titles line up across a row. */
.wp-block-woocommerce-product-template {
	align-items: stretch;
}

.wp-block-woocommerce-product-template .wp-block-post-title,
.wp-block-woocommerce-related-products .wp-block-post-title {
	margin-block: var(--wp--preset--spacing--30) 0;
}

.wp-block-woocommerce-product-template .wp-block-woocommerce-product-price {
	margin-block: var(--wp--preset--spacing--20);
}

/* Product gallery and summary sit side by side on larger screens. */
.wp-block-woocommerce-single-product {
	display: grid;
	gap: var(--wp--preset--spacing--50);
}

@media (min-width: 782px) {
	.wp-block-woocommerce-single-product {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}
}

/* Cart / checkout: keep the order summary readable on narrow screens. */
.wc-block-cart,
.wc-block-checkout {
	--wp--custom--radius--md: 8px;
}

.wc-block-cart-item__image img {
	border-radius: var(--wp--custom--radius--sm);
}

/* Product filter widgets should wrap rather than squash. */
.wp-block-woocommerce-product-filter {
	flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   4. Accessibility & motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Screen-reader-only utility, matching WordPress core's convention. */
.wi-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/*
 * In-page anchor targets.
 *
 * The header is sticky, so jumping to /#faq or /#how-it-works would otherwise
 * park the section heading underneath it. scroll-margin-top offsets the jump by
 * roughly the header's height. Used by the hero and CTA links, which point at
 * these sections instead of at the not-yet-built /how-it-works/ and /faq/ pages.
 */
[id="faq"],
[id="how-it-works"] {
	scroll-margin-top: var(--wp--preset--spacing--70, 6rem);
}

/* --------------------------------------------------------------------------
   5. Header brand wordmark
   --------------------------------------------------------------------------
   Promotes the site title ("Water Innovations") in the HEADER only — the
   footer keeps its smaller, light-on-dark treatment. Scoped by the
   `wi-header-title` class applied in parts/header.html, and doubled up with
   `.wp-block-site-title` (rather than relying on load order) so it reliably
   beats the structural `large` size set for core/site-title in theme.json.

   Both values are theme.json tokens: the size comes from the type scale and the
   colour from settings.color.palette → `brand-green`, so a designer can retune
   either by editing theme.json without touching this file.
   -------------------------------------------------------------------------- */

.wp-block-site-title.wi-header-title {
	font-size: var(--wp--preset--font-size--x-large);
}

/* The wordmark is a link to home; keep it brand-green through hover/focus
   instead of inheriting the global link-hover colour. */
.wp-block-site-title.wi-header-title a,
.wp-block-site-title.wi-header-title a:hover,
.wp-block-site-title.wi-header-title a:focus {
	color: var(--wp--preset--color--brand-green);
}



/* ==========================================================================
 * Product page — container size picker
 *
 * Container size is not a WooCommerce product attribute (every attached
 * attribute is mandatory on every variation, which broke Bath and Pool), so the
 * theme renders its own control here. See inc/ladder.php and
 * scripts/seed-ladder.php for the full reasoning.
 * ========================================================================== */
.wi-container-picker {
	margin: 0 0 1rem;
}

.wi-container-picker[hidden] {
	display: none;
}

.wi-container-picker__label {
	margin-bottom: 0.15rem;
	font-size: var(--wp--preset--font-size--small);
}

.wi-container-picker__hint {
	margin: 0 0 0.6rem;
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--wp--preset--color--muted);
}

/* System page prev/next pager. */
.wi-system-pager {
	font-size: var(--wp--preset--font-size--small);
}

.wi-system-pager a {
	text-decoration: none;
	font-weight: 600;
}

.wi-system-pager a:hover {
	text-decoration: underline;
}


/* ==========================================================================
 * Suitability form (wi-enquiries plugin)
 *
 * Styled towards Jonathan's mockups: a bordered card, numbered rows, and a green
 * RHS panel. Kept in the theme so the plugin stays presentation-agnostic.
 * ========================================================================== */
.wi-enquiry {
	border: 1px solid var(--wp--preset--color--subtle);
	border-radius: var(--wp--custom--radius--lg);
	padding: clamp(1.1rem, 3vw, 2.2rem);
	background: var(--wp--preset--color--base);
}

.wi-enquiry__title {
	margin: 0 0 0.35rem;
	font-size: var(--wp--preset--font-size--x-large);
	line-height: 1.15;
}

.wi-enquiry__title--sub {
	margin-top: 2rem;
	font-size: var(--wp--preset--font-size--large);
}

.wi-enquiry__sub {
	margin: 0 0 1.4rem;
	color: var(--wp--preset--color--muted);
}

.wi-enquiry__questions {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wi-enquiry__q {
	display: flex;
	gap: 0.9rem;
	align-items: flex-start;
	padding: 0.9rem 0;
	border-top: 1px solid var(--wp--preset--color--subtle);
}

.wi-enquiry__q:first-child {
	border-top: 0;
}

.wi-enquiry__num {
	flex: 0 0 1.9rem;
	height: 1.9rem;
	display: grid;
	place-items: center;
	border-radius: 999px;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
}

.wi-enquiry__body {
	flex: 1 1 auto;
	min-width: 0;
}

.wi-enquiry__label {
	display: block;
	font-weight: 600;
}

.wi-enquiry__req {
	color: var(--wp--preset--color--error);
}

.wi-enquiry__hint,
.wi-enquiry__small {
	margin: 0.3rem 0 0.5rem;
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--wp--preset--color--muted);
}

.wi-enquiry__radio {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-right: 1.2rem;
	padding: 0.35rem 0.9rem;
	border: 1px solid var(--wp--preset--color--muted);
	border-radius: 999px;
	cursor: pointer;
}

.wi-enquiry select,
.wi-enquiry input[type="text"],
.wi-enquiry input[type="email"],
.wi-enquiry input[type="tel"],
.wi-enquiry textarea {
	width: 100%;
	max-width: 32rem;
	padding: 0.5rem 0.65rem;
	border: 1px solid var(--wp--preset--color--muted);
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--base);
}

.wi-enquiry__grid {
	display: grid;
	gap: 0.8rem 1.2rem;
	grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.wi-enquiry__grid p {
	margin: 0;
}

.wi-enquiry__check {
	margin: 0.9rem 0 0;
	font-size: var(--wp--preset--font-size--small);
}

.wi-enquiry__submit {
	margin: 1.4rem 0 0.6rem;
}

/* Honeypot: off-screen but not display:none, so bots still fill it. */
.wi-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Verdict card, shown after submission. */
.wi-verdict {
	border: 1px solid var(--wp--preset--color--subtle);
	border-left: 6px solid var(--wp--preset--color--primary);
	border-radius: var(--wp--custom--radius--lg);
	padding: clamp(1.1rem, 3vw, 2rem);
	background: var(--wp--preset--color--base);
}

.wi-verdict--suitable {
	border-left-color: var(--wp--preset--color--secondary);
}

.wi-verdict--unsuitable,
.wi-verdict--error {
	border-left-color: var(--wp--preset--color--warning);
}

.wi-verdict__eyebrow {
	margin: 0;
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.wi-verdict__label {
	margin: 0.3rem 0 0.6rem;
	font-size: var(--wp--preset--font-size--x-large);
}

.wi-verdict__ref {
	margin-top: 1rem;
	padding: 0.6rem 0.9rem;
	background: var(--wp--preset--color--subtle);
	border-radius: var(--wp--custom--radius--md);
	display: inline-block;
}


.wi-container-picker__option {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0 1rem 0.4rem 0;
	font-size: var(--wp--preset--font-size--small);
	cursor: pointer;
}


/* ==========================================================================
 * OPTION PAGES — match to Jonathan's mockups
 * (docs/Jonathan/bath option.jpeg, container option.jpeg)
 *
 * Colours read from the mockups rather than invented:
 *   navy text #12295e   blue #1b6fb5   bright blue #1789d6
 *   green rule #2fa84f  pale blue #eaf4fc  pale green #eef8e6
 * ========================================================================== */

:root {
	--wi-navy: #12295e;
	--wi-blue: #1b6fb5;
	--wi-blue-bright: #1789d6;
	--wi-green: #2fa84f;
	--wi-pale-blue: #eaf4fc;
	--wi-pale-green: #eef8e6;
}

/* ---------- Header ---------- */
.wi-header {
	background: #eaf2f9;
	border-bottom: 1px solid #d8e6f2;
	position: relative;
	z-index: 100;
}

/* One row: brand | nav | actions, and the nav stops wrapping. */
.wi-header > .wp-block-group > .wp-block-group {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.wi-header .wp-block-navigation {
	flex: 1 1 auto;
}

.wi-header .wp-block-navigation__container {
	flex-wrap: nowrap !important;
	gap: 1.35rem;
}

.wi-brand__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
}

.wi-brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.wi-brand__name {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 900;
	font-size: 1.02rem;
	letter-spacing: 0.02em;
	color: var(--wi-navy);
}

.wi-brand__sub {
	margin-top: 0.22rem;
	font-size: 0.56rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	color: var(--wi-blue);
}

.wi-nav .wp-block-navigation-item__content {
	color: var(--wi-navy);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
}

.wi-nav .wp-block-navigation-item__content:hover,
.wi-nav .current-menu-item > .wp-block-navigation-item__content {
	color: var(--wi-blue-bright);
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-thickness: 2px;
}

.wi-nav .wp-block-navigation__submenu-container {
	background: #fff;
	border: 1px solid #d8e6f2;
	border-radius: 10px;
	padding: 0.4rem;
	box-shadow: 0 10px 30px rgba(18, 41, 94, 0.12);
}

.wi-header__actions {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
}

/* Header "Get a Quote" pill. Uses the site's blue CTA pair (#1789d6 → #0d6cc4
 * — the same gradient as the enquiry submit button), so the header action and
 * the form button read as one family. History: brand green (#2fa84f → #15803d),
 * briefly violet on 2026-11-06, pink (#ec4899 → #be185d) on 2026-11-07, then
 * blue on 2026-11-07 at Jonathan's request. The two shades are theme.json
 * custom tokens (--wp--custom--color--quote / --quote-deep), so this stays a
 * token reference and a designer can retune the pill in theme.json without
 * touching this file. */
.wi-header__quote {
	background: linear-gradient(135deg, var(--wp--custom--color--quote), var(--wp--custom--color--quote-deep));
	color: #fff !important;
	font-weight: 700;
	font-size: 0.92rem;
	padding: 0.62rem 1.15rem;
	border-radius: 999px;
	text-decoration: none;
	white-space: nowrap;
}

.wi-header__quote:hover {
	filter: brightness(1.06);
}

.wi-header__wa {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: #25d366;
	color: #fff;
	text-decoration: none;
}

/* ---------- Hero band ---------- */
.wi-hero2 {
	position: relative;
	overflow: hidden;
	background: #fff;
	min-height: 400px;
	display: flex;
	align-items: center;
	/* Full-bleed even though the document is constrained. */
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.wi-hero2__photo {
	position: absolute;
	inset: 0;
	background-size: cover;
	/* Keep the bath and toilet in frame on wide screens. */
	background-position: center 55%;
}

/*
 * Wash. The mockup puts the photograph on the right two-thirds and white behind
 * the copy. The gradient stops were too soft before, so the third feature sat
 * over the photo and became unreadable.
 */
.wi-hero2__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		#fff 0%,
		rgba(255, 255, 255, 0.98) 34%,
		rgba(255, 255, 255, 0.72) 46%,
		rgba(255, 255, 255, 0) 62%
	);
}

.wi-hero2__inner {
	position: relative;
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: clamp(1.8rem, 4vw, 3.2rem) clamp(1rem, 4vw, 2rem);
}

.wi-hero2__copy {
	max-width: 33rem;
}

.wi-hero2__pill {
	display: inline-block;
	background: var(--wi-blue-bright);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	padding: 0.34rem 0.85rem;
	border-radius: 999px;
}

.wi-hero2__title {
	margin: 0.55rem 0 0;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 900;
	font-size: clamp(2.4rem, 5.2vw, 3.7rem);
	line-height: 0.98;
	letter-spacing: -0.02em;
	color: var(--wi-navy);
}

.wi-hero2__sub {
	margin: 0.7rem 0 0;
	font-size: clamp(1rem, 1.45vw, 1.22rem);
	font-weight: 600;
	line-height: 1.32;
	color: var(--wi-navy);
	max-width: 23rem;
}

.wi-hero2__rule {
	display: block;
	width: 108px;
	height: 5px;
	margin: 1.1rem 0 1.5rem;
	background: var(--wi-green);
	border-radius: 3px;
}

.wi-hero2__features {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.6rem;
	max-width: 31rem;
}

.wi-hero2__features li {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.5rem;
	padding: 0 0.7rem;
	border-left: 1px solid #c2d4e4;
	font-size: 0.84rem;
	font-weight: 600;
	line-height: 1.22;
	color: var(--wi-navy);
}

.wi-hero2__features li:first-child {
	border-left: 0;
	padding-left: 0;
}

.wi-hero2__ico {
	color: var(--wi-blue);
}

.wi-hero2__ico svg {
	width: 40px;
	height: 40px;
	display: block;
	stroke-width: 1.7;
}

@media (max-width: 860px) {
	.wi-hero2__photo::after {
		background: linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.97) 0%,
			rgba(255, 255, 255, 0.94) 55%,
			rgba(255, 255, 255, 0.55) 100%
		);
	}

	.wi-hero2__features {
		max-width: none;
	}
}


/* ---------- Main band: form + sidebar ---------- */
.wi-opt {
	background: #f7fafd;
	padding: clamp(1.4rem, 3vw, 2.4rem) 0 clamp(1.6rem, 3vw, 2.6rem);
	/* Break out of the post-content constraint so the band spans the page. */
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.wi-opt__inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 clamp(1rem, 4vw, 2rem);
	display: grid;
	gap: clamp(1rem, 2.5vw, 2rem);
	/* Mockup measures roughly 60/40 with a generous gutter. */
	grid-template-columns: minmax(0, 1.58fr) minmax(0, 1fr);
	align-items: start;
}

@media (max-width: 1040px) {
	.wi-opt__inner {
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	}
}

@media (max-width: 860px) {
	.wi-opt__inner {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* The suitability card */
.wi-opt__form .wi-enquiry {
	background: #fff;
	border: 1px solid #dbe7f2;
	border-radius: 14px;
	padding: clamp(1.1rem, 2.4vw, 1.9rem);
	box-shadow: 0 2px 10px rgba(18, 41, 94, 0.05);
}

.wi-opt__form .wi-enquiry__title {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.35rem, 2.4vw, 1.8rem);
	font-weight: 900;
	color: var(--wi-navy);
	letter-spacing: -0.01em;
}

.wi-opt__form .wi-enquiry__sub {
	color: #3d5680;
	font-size: 0.95rem;
}

/* Numbered rows become the mockup's soft-blue tiles: number BESIDE the text. */
.wi-opt__form .wi-enquiry__q {
	background: var(--wi-pale-blue);
	border: 0;
	border-radius: 10px;
	padding: 0.8rem 1rem;
	margin-bottom: 0.6rem;
	gap: 0.85rem;
	align-items: flex-start;
}

.wi-opt__form .wi-enquiry__q:first-child {
	border-top: 0;
}

/*
 * The number sits in its own narrow column at the TOP-LEFT of the row, aligned
 * with the first line of the question — as drawn. Previously it was centred
 * against a tall row and appeared to float beside the second line.
 */
.wi-opt__form .wi-enquiry__num {
	background: transparent;
	color: var(--wi-blue-bright);
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.35;
	width: 1.1rem;
	height: auto;
	flex: 0 0 1.1rem;
	display: block;
	text-align: right;
	margin-top: 0.05rem;
}

.wi-opt__form .wi-enquiry__label {
	color: var(--wi-navy);
	font-size: 0.93rem;
	line-height: 1.3;
}

.wi-opt__form .wi-enquiry__hint {
	color: #4a6187;
	font-size: 0.78rem;
}

/*
 * Yes/No pill radios.
 *
 * The mockup puts the question and its optional hint in one left-hand text column
 * and the two pills flush right, vertically centred. Explicit grid rows are used
 * (label=row 1, hint=row 2, pills span 1/3) because letting the pills occupy only
 * row 1 pushed the label down whenever a hint added a second row.
 */
.wi-opt__form .wi-enquiry__q--yesno .wi-enquiry__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: center;
	column-gap: 0.6rem;
}

.wi-opt__form .wi-enquiry__q--yesno .wi-enquiry__label {
	grid-column: 1;
	grid-row: 1;
	margin: 0;
}

.wi-opt__form .wi-enquiry__q--yesno .wi-enquiry__hint {
	grid-column: 1;
	grid-row: 2;
	margin: 0.25rem 0 0;
}

/* Both pills share the right-hand columns and span the text rows. */
.wi-opt__form .wi-enquiry__q--yesno .wi-enquiry__radio {
	grid-row: 1 / span 2;
	margin: 0;
	justify-self: end;
	align-self: center;
}

@media (max-width: 620px) {
	.wi-opt__form .wi-enquiry__q--yesno .wi-enquiry__body {
		grid-template-columns: auto auto;
		row-gap: 0.4rem;
	}

	.wi-opt__form .wi-enquiry__q--yesno .wi-enquiry__label,
	.wi-opt__form .wi-enquiry__q--yesno .wi-enquiry__hint {
		grid-column: 1 / -1;
		grid-row: auto;
	}

	.wi-opt__form .wi-enquiry__q--yesno .wi-enquiry__radio {
		grid-row: auto;
		justify-self: start;
	}
}

.wi-opt__form .wi-enquiry__radio {
	background: #fff;
	border: 1px solid #c3d5e6;
	border-radius: 999px;
	padding: 0.34rem 1rem;
	font-size: 0.86rem;
	color: var(--wi-navy);
	margin: 0;
}

.wi-opt__form .wi-enquiry__radio:has(input:checked) {
	border-color: var(--wi-blue-bright);
	box-shadow: 0 0 0 2px rgba(23, 137, 214, 0.18);
}

.wi-opt__form select {
	background: #fff;
	border: 1px solid #c3d5e6;
	border-radius: 8px;
	font-size: 0.86rem;
	color: var(--wi-navy);
	padding: 0.45rem 0.6rem;
	max-width: 13rem;
}

.wi-opt__form .wi-enquiry__q--photos input[type="file"] {
	font-size: 0.82rem;
	max-width: 100%;
}

.wi-opt__form .wi-enquiry__submit {
	margin-top: 1.1rem;
}

.wi-opt__form .wi-enquiry__submit button {
	width: 100%;
	background: linear-gradient(135deg, var(--wi-blue-bright), #0d6cc4);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 0.95rem 1.4rem;
	font-size: 1.05rem;
	font-weight: 800;
	cursor: pointer;
}

.wi-opt__form .wi-enquiry__submit button:hover {
	filter: brightness(1.06);
}


/* ---------- Sidebar: How It Works ---------- */
.wi-side {
	display: grid;
	gap: 1.1rem;
}

.wi-how {
	background: var(--wi-pale-blue);
	border-radius: 14px;
	padding: clamp(1rem, 2vw, 1.5rem);
}

.wi-how__title {
	margin: 0 0 0.9rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.5rem;
	font-weight: 900;
	color: var(--wi-navy);
}

.wi-how__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Step rows: number | icon | text, icons clearly visible as in the mockup. */
.wi-how__step {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
}

.wi-how__num {
	flex: 0 0 1.95rem;
	height: 1.95rem;
	display: grid;
	place-items: center;
	border-radius: 999px;
	background: var(--wi-blue-bright);
	color: #fff;
	font-weight: 800;
	font-size: 0.9rem;
}

.wi-how__ico {
	color: var(--wi-blue-bright);
	flex: 0 0 auto;
	margin-top: 0.1rem;
}

.wi-how__ico svg {
	width: 42px;
	height: 42px;
	display: block;
	stroke-width: 1.9;
}

.wi-how__body {
	display: block;
	font-size: 0.86rem;
	line-height: 1.38;
	color: #3d5680;
}

.wi-how__body strong {
	display: block;
	color: var(--wi-navy);
	font-size: 0.95rem;
	margin-bottom: 0.18rem;
}

.wi-how__arrow {
	list-style: none;
	padding: 0.3rem 0 0.3rem 0.6rem;
	color: var(--wi-blue-bright);
}

/* ---------- Sidebar: What Happens Next ---------- */
.wi-next {
	display: flex;
	gap: 0.8rem;
	align-items: flex-start;
	background: var(--wi-pale-green);
	border: 1px solid #d4ebc4;
	border-radius: 14px;
	padding: clamp(1rem, 2vw, 1.4rem);
}

.wi-next__ico {
	color: var(--wi-green);
	flex: 0 0 auto;
}

.wi-next__ico svg {
	width: 38px;
	height: 38px;
	display: block;
}

.wi-next__title {
	margin: 0 0 0.3rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.28rem;
	font-weight: 900;
	color: var(--wi-navy);
}

.wi-next__text {
	margin: 0;
	font-size: 0.86rem;
	line-height: 1.4;
	color: #3d5680;
}

/* ---------- Bottom feature strip ---------- */
.wi-feat {
	background: #eef4f9;
	padding: clamp(1.1rem, 2.4vw, 1.7rem) clamp(1rem, 4vw, 2rem);
	/* Span the page like the band above it. */
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.wi-feat__list {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 1240px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.8rem;
}

@media (max-width: 900px) {
	.wi-feat__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.wi-feat__list {
		grid-template-columns: minmax(0, 1fr);
	}
}

.wi-feat__item {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	padding-right: 0.6rem;
	border-right: 1px solid #d3e2ee;
	font-size: 0.82rem;
	line-height: 1.3;
	color: #3d5680;
}

.wi-feat__item:last-child {
	border-right: 0;
}

.wi-feat__ico {
	color: var(--wi-blue);
	flex: 0 0 auto;
}

.wi-feat__ico svg {
	width: 34px;
	height: 34px;
	display: block;
}

.wi-feat__item strong {
	display: block;
	color: var(--wi-navy);
	font-size: 0.9rem;
	margin-bottom: 0.12rem;
}

