/*
Theme Name: V5 LOANS
Theme URI:  https://v5funding.co.uk/
Author:     V5 LOANS
Author URI: https://v5funding.co.uk/
Template:   bwp-loan-company
Version:    1.0
License:    GNU General Public License v2 or later
*/

/* ============================
   V5 PRIMARY NAV (classic menu)
   ============================ */
.v5-nav-toggle {
	display: none;
	background: transparent;
	border: none;
	color: var(--wp--preset--color--ink);
	cursor: pointer;
	padding: 8px;
	margin: 0;
	align-items: center;
	justify-content: center;
}
.v5-nav-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.v5-nav-list .menu-item > a {
	display: inline-block;
	padding: 0.55em 0.95em;
	border-radius: 999px;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	transition: color .15s ease, background .15s ease;
}
.v5-nav-list .menu-item > a:hover,
.v5-nav-list .menu-item > a:focus {
	background: var(--wp--preset--color--mist);
	color: var(--wp--preset--color--pine);
}
.v5-nav-list .current-menu-item > a {
	background: var(--wp--preset--color--pine);
	color: var(--wp--preset--color--paper);
}

/* backdrop-filter makes .bwp-header the containing block for its fixed-
   position descendants, which would trap the mobile panel inside the
   78px header box instead of the viewport. Only blur while it's closed. */
.bwp-header:has(.v5-nav-panel.is-open) {
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

@media (max-width: 1080px) {
	.v5-nav-toggle {
		display: flex;
	}
	.v5-nav-panel {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		height: 50vh;
		max-height: 50vh;
		overflow: auto;
		background-color: #060B18;
		box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
		z-index: 100000;
		padding: clamp(1rem, 4vw, 2rem);
		padding-top: calc(2rem + 24px);
	}
	.v5-nav-panel.is-open {
		display: block;
	}
	.v5-nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
	}
	.v5-nav-list .menu-item > a {
		display: block;
		width: 100%;
		padding: 14px 4px;
		border-radius: 0;
		font-size: 1.1rem;
		font-weight: 600;
		color: #FFFFFF;
		border-bottom: 1px solid var(--wp--preset--color--line);
	}
	.v5-nav-list .menu-item > a:hover,
	.v5-nav-list .menu-item > a:focus {
		background: var(--wp--preset--color--v-5-navy-deep);
		color: #FFFFFF;
	}
	.v5-nav-list .current-menu-item > a,
	.v5-nav-list .current-menu-item > a:hover,
	.v5-nav-list .current-menu-item > a:focus {
		background: var(--wp--preset--color--pine);
		color: #FFFFFF;
	}
}

/* ============================
   V5 HERO
   ============================ */
.v5-hero {
	background: var(--wp--preset--gradient--v-5-navy-glow);
	position: relative;
	overflow: hidden;
}
.v5-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(60% 60% at 80% 20%, rgba(56, 198, 255, .18) 0%, transparent 70%);
	pointer-events: none;
	z-index: 0;
}
.v5-hero-car {
	position: absolute;
	inset: 0 0 0 52%;
	width: auto;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 0;
	-webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.55) 16%, #000 34%);
	mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.55) 16%, #000 34%);
}
.v5-hero-badge {
	position: absolute;
	top: 6%;
	right: 9%;
	width: 128px;
	height: 128px;
	z-index: 2;
	filter: drop-shadow(0 10px 24px rgba(0,0,0,.5));
}
.v5-hero-row {
	position: relative;
	z-index: 1;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	display: flex;
	align-items: center;
	gap: 0;
	padding-bottom: 56px;
	padding-right: 24px;
}
.v5-hero-logo-col {
	flex: 0 0 auto;
	padding-right: 100px;
}
.v5-hero-logo {
	display: block;
	width: 190px;
	height: 190px;
	max-width: 34vw;
	max-height: 34vw;
	object-fit: contain;
}
.v5-hero-content {
	flex: 1 1 auto;
	min-width: 0;
	max-width: 620px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 20px;
}
.v5-eyebrow {
	font-family: var(--wp--preset--font-family--ibm-plex-mono);
	color: var(--wp--preset--color--v-5-cyan);
	text-transform: uppercase;
	letter-spacing: .18em;
	font-size: .8rem;
	margin: 0;
}
.v5-hero-title {
	font-family: var(--wp--preset--font-family--public-sans);
	font-style: italic;
	font-weight: 800;
	color: #FFFFFF;
	line-height: 1.06;
	letter-spacing: -0.01em;
	font-size: clamp(2.6rem, 5.6vw, 4.4rem);
	text-shadow: 0 0 30px rgba(56, 198, 255, .35);
	margin: 0;
}
.v5-hero-subtitle {
	font-family: var(--wp--preset--font-family--public-sans);
	font-style: italic;
	font-weight: 700;
	color: #FFFFFF;
	line-height: 1.25;
	font-size: clamp(1.15rem, 2.4vw, 1.6rem);
	margin: 0;
}
.v5-hero-amount {
	color: var(--wp--preset--color--v-5-cyan);
}
.v5-hero-lead {
	color: var(--wp--preset--color--v-5-ice);
	font-size: 1.05rem;
	max-width: 46ch;
	margin: 0 auto;
}
.is-style-v5-cta .wp-block-button__link {
	background: linear-gradient(115deg, #1E9E3F 0%, var(--wp--preset--color--v-5-green) 100%);
	color: #FFFFFF;
	font-weight: 700;
	font-style: italic;
	text-transform: uppercase;
	letter-spacing: .02em;
	border-radius: 8px;
	padding: 16px 34px;
	box-shadow: 0 8px 26px rgba(0, 230, 118, .35);
	transition: transform .18s ease, box-shadow .18s ease;
}
.is-style-v5-cta .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(0, 230, 118, .5);
	color: #FFFFFF;
}
.is-style-v5-ghost .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--v-5-navy);
	border: 1.5px solid var(--wp--preset--color--v-5-navy);
	font-weight: 700;
	border-radius: 999px;
	padding: 14px 28px;
	transition: background .18s ease, color .18s ease;
}
.is-style-v5-ghost .wp-block-button__link:hover {
	background: var(--wp--preset--color--v-5-navy);
	color: #FFFFFF;
}

/* Flyer-style full-width Apply Today bar */
.v5-apply-bar {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: stretch;
	background: #05070F;
	margin: 0 0 0 -24px;
}
.v5-apply-bar-cta {
	display: flex;
	align-items: center;
	background: linear-gradient(115deg, #16843A 0%, var(--wp--preset--color--v-5-green) 100%);
	color: #FFFFFF;
	font-family: var(--wp--preset--font-family--public-sans);
	font-style: italic;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .01em;
	font-size: clamp(1.1rem, 2.2vw, 1.6rem);
	text-decoration: none;
	padding: 20px 56px 20px 32px;
	clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
	margin-right: -14px;
}
.v5-apply-bar-chevrons {
	display: flex;
	align-items: center;
	gap: 2px;
	padding: 0 10px;
}
.v5-apply-bar-chevrons svg {
	width: 16px;
	height: 28px;
	fill: var(--wp--preset--color--v-5-green);
}
.v5-apply-bar-web {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
	padding: 0 28px;
	color: #FFFFFF;
	font-weight: 700;
	font-size: clamp(.95rem, 1.6vw, 1.25rem);
	white-space: nowrap;
}
.v5-apply-bar-web svg {
	width: 24px;
	height: 24px;
	color: var(--wp--preset--color--v-5-blue);
	flex: none;
}
@media (max-width: 720px) {
	.v5-hero-car {
		inset: auto 0 0 0;
		position: absolute;
		width: 100%;
		height: 60%;
		-webkit-mask-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,.55) 20%, #000 45%);
		mask-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,.55) 20%, #000 45%);
		filter: brightness(.5);
	}
	.v5-hero {
		padding-top: 32px !important;
	}
	.v5-hero-row {
		flex-direction: column;
		align-items: center;
	}
	.v5-hero-logo-col,
	.v5-hero-badge {
		display: none;
	}
	.v5-apply-bar {
		flex-wrap: wrap;
	}
	.v5-apply-bar-cta {
		clip-path: none;
		width: 100%;
		justify-content: center;
		padding: 18px 24px;
		margin-right: 0;
	}
	.v5-apply-bar-chevrons {
		display: none;
	}
	.v5-apply-bar-web {
		width: 100%;
		justify-content: center;
		margin-left: 0;
		padding: 14px;
	}
}

/* ============================
   V5 FEATURES
   ============================ */
.v5-features {
	padding: 56px 24px;
}
/* Home page only — this is the one place a hero is immediately followed by
   the features band, so no page-scoping needed. */
.v5-hero + .v5-features {
	margin-top: 50px;
}
.v5-features-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 28px;
	max-width: 1180px;
	margin: 0 auto;
}
.v5-feature {
	text-align: center;
	color: var(--wp--preset--color--v-5-ice);
}
.v5-feature-icon-text {
	font-family: var(--wp--preset--font-family--public-sans);
	font-weight: 800;
	font-size: 1.4rem;
	line-height: 1;
}
.v5-feature-icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	margin: 0 auto 14px;
	border-radius: 50%;
	border: 1.5px solid rgba(56, 198, 255, .4);
	background: rgba(28, 109, 255, .12);
	color: var(--wp--preset--color--v-5-cyan);
}
.v5-feature-check {
	position: absolute;
	bottom: -3px;
	right: -3px;
	width: 22px;
	height: 22px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--wp--preset--color--v-5-green);
	border: 2px solid var(--wp--preset--color--v-5-navy-deep);
}
.v5-feature-title {
	font-family: var(--wp--preset--font-family--public-sans);
	font-style: italic;
	font-weight: 700;
	color: #FFFFFF;
	margin: 0 0 4px;
	font-size: .98rem;
}
.v5-feature-text {
	font-size: .85rem;
	margin: 0;
	color: var(--wp--preset--color--v-5-ice);
}
@media (max-width: 900px) {
	.v5-features-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ============================
   V5 REPRESENTATIVE LOAN TABLE
   ============================ */
.v5-loan-section,
.v5-loan-teaser {
	padding: 76px 24px;
}
.v5-loan-teaser .v5-loan-sub {
	max-width: 62ch;
	margin-left: auto;
	margin-right: auto;
}
.v5-loan-heading {
	font-family: var(--wp--preset--font-family--public-sans);
	font-style: italic;
	font-weight: 800;
	color: var(--wp--preset--color--v-5-navy);
	margin: 0 0 8px;
}
.v5-loan-sub {
	color: var(--wp--preset--color--muted);
	margin: 0 0 32px;
}
.v5-loan-tables {
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.v5-loan-tier-title {
	font-weight: 700;
	color: var(--wp--preset--color--v-5-navy);
	margin: 0 0 10px;
}
.v5-loan-tier-title span {
	color: var(--wp--preset--color--v-5-blue);
	font-weight: 600;
}
.v5-loan-table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 12px;
	overflow: hidden;
}
.v5-loan-table th,
.v5-loan-table td {
	padding: 14px 16px;
	text-align: left;
	border-bottom: 1px solid var(--wp--preset--color--line);
	font-size: .9rem;
}
.v5-loan-table thead th {
	background: var(--wp--preset--color--v-5-navy);
	color: #FFFFFF;
	font-weight: 600;
	font-size: .78rem;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.v5-loan-table tbody td {
	color: var(--wp--preset--color--v-5-navy);
	font-weight: 700;
	border-bottom: none;
}
@media (max-width: 720px) {
	.v5-loan-table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}
}

/* ============================
   V5 WARNING & CTA
   ============================ */
.v5-warning-section {
	padding: 0 24px 76px;
}
.v5-warning-box {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	background: #FDECEC;
	border: 1.5px solid var(--wp--preset--color--v-5-red);
	border-radius: 10px;
	padding: 20px 22px;
	margin: 0 0 18px;
}
.v5-warning-icon {
	flex: none;
	font-size: 1.3rem;
	line-height: 1;
	color: var(--wp--preset--color--v-5-red);
}
.v5-warning-box p {
	margin: 0;
	color: var(--wp--preset--color--v-5-red);
	font-size: .92rem;
}
.v5-warning-box a {
	color: var(--wp--preset--color--v-5-red);
	text-decoration: none;
}
.v5-warning-box a:hover {
	text-decoration: underline;
}
.v5-warning-note {
	color: var(--wp--preset--color--muted);
	font-size: .85rem;
	margin: 0;
}
.v5-cta-band {
	text-align: center;
}
.v5-cta-heading {
	font-family: var(--wp--preset--font-family--public-sans);
	font-style: italic;
	font-weight: 800;
	color: #FFFFFF;
	margin: 0 0 20px;
}
.v5-cta-sub {
	color: var(--wp--preset--color--v-5-ice);
	margin-top: 18px;
	font-size: .95rem;
}

/* ============================
   V5 HOW IT WORKS STEPS
   ============================ */
.v5-steps-section {
	padding: 76px 24px;
}
.v5-steps-heading {
	font-family: var(--wp--preset--font-family--public-sans);
	font-style: italic;
	font-weight: 800;
	color: var(--wp--preset--color--v-5-navy);
	margin: 0 0 8px;
}
.v5-steps-sub {
	color: var(--wp--preset--color--muted);
	margin: 0 0 48px;
}
.v5-steps-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
	max-width: 1180px;
	margin: 0 auto;
	position: relative;
}
.v5-steps-grid::before {
	content: "";
	position: absolute;
	top: 34px;
	left: 12.5%;
	right: 12.5%;
	height: 2px;
	background: repeating-linear-gradient(to right, var(--wp--preset--color--line) 0 8px, transparent 8px 14px);
	z-index: 0;
}
.v5-step {
	position: relative;
	z-index: 1;
	text-align: center;
}
.v5-step-number {
	display: block;
	width: 30px;
	height: 30px;
	line-height: 30px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: var(--wp--preset--color--v-5-navy);
	color: #FFFFFF;
	font-family: var(--wp--preset--font-family--ibm-plex-mono);
	font-size: .8rem;
	font-weight: 600;
}
.v5-step-icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 16px;
	border-radius: 50%;
	border: 1.5px solid var(--wp--preset--color--line);
	background: var(--wp--preset--color--mist);
	color: var(--wp--preset--color--v-5-blue);
}
.v5-step-title {
	font-family: var(--wp--preset--font-family--public-sans);
	font-style: italic;
	font-weight: 700;
	color: var(--wp--preset--color--v-5-navy);
	margin: 0 0 6px;
	font-size: 1.02rem;
}
.v5-step-text {
	font-size: .88rem;
	color: var(--wp--preset--color--muted);
	margin: 0;
}
@media (max-width: 900px) {
	.v5-steps-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 40px;
	}
	.v5-steps-grid::before {
		display: none;
	}
}
@media (max-width: 480px) {
	.v5-steps-grid {
		grid-template-columns: 1fr;
	}
}

/* Standard content pages (Privacy, Terms, How It Works, Loan Example, and any
   future page using the default "Page" template): this theme's `alignfull`
   only breaks a block out by its own padding, not to the true viewport width,
   once the block is nested inside post content rather than a top-level
   template. These full-width marketing sections need genuine full-bleed, so
   give them it directly here — applies automatically to every such page,
   no per-page CSS needed going forward. */
.bwp-article .v5-steps-section,
.bwp-article .v5-features,
.bwp-article .v5-warning-section,
.bwp-article .v5-cta-band,
.bwp-article .v5-loan-section,
.bwp-article .v5-loan-teaser,
.bwp-article .v5-faq-section {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* How It Works specifically still uses the narrower 75vw treatment you asked for there
   (the closing CTA band is excluded — that one goes full width). */
body.page-id-19 .v5-steps-section {
	width: 75vw;
	max-width: 75vw;
	margin-left: calc(50% - 37.5vw);
	margin-right: calc(50% - 37.5vw);
}

/* ============================
   V5 HOW IT WORKS HERO
   ============================ */
.v5-hiw-hero {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	height: 260px;
	background-color: #FFFFFF;
	background-image: url('assets/images/wordmark-v5-funding-white.jpg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}
@media (max-width: 640px) {
	.v5-hiw-hero {
		height: 180px;
	}
}


/* Close the gap between the closing CTA band and the footer immediately below it.
   On the Home page they're direct siblings, so this alone is enough. */
.v5-cta-band + footer {
	margin-top: 0 !important;
}
/* On standard content pages (How It Works, Loan Example, etc.) the CTA band
   sits inside <main>, which still has its own bottom padding after it —
   pull the band down to cancel that padding so it touches the footer. */
.bwp-article .v5-cta-band:last-child {
	margin-bottom: -76px;
}
/* WordPress also adds a top margin to every top-level template block,
   including the footer template-part — remove it so the footer never has a
   forced gap above it, regardless of what precedes it. */
footer.wp-block-template-part {
	margin-top: 0 !important;
}

/* ============================
   V5 FAQ
   ============================ */
.v5-faq-section {
	padding: 76px 24px;
}
.v5-faq-heading {
	font-family: var(--wp--preset--font-family--public-sans);
	font-style: italic;
	font-weight: 800;
	color: var(--wp--preset--color--v-5-navy);
	margin: 0 0 32px;
}
.v5-faq-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 780px;
	margin: 0 auto;
}
.v5-faq-item {
	background: var(--wp--preset--color--v-5-navy-deep);
	border: 1px solid rgba(56, 198, 255, .3);
	border-radius: 12px;
	padding: 18px 22px;
}
.v5-faq-item summary {
	font-weight: 700;
	color: #FFFFFF;
	cursor: pointer;
	list-style: none;
}
.v5-faq-item summary::-webkit-details-marker {
	display: none;
}
.v5-faq-item summary::after {
	content: "+";
	float: right;
	font-weight: 400;
	color: var(--wp--preset--color--v-5-cyan);
}
.v5-faq-item[open] summary::after {
	content: "\2212";
}
.v5-faq-item p {
	color: var(--wp--preset--color--v-5-ice);
	margin: 12px 0 0;
	font-size: .95rem;
}

/* ============================
   V5 ELIGIBILITY / MECHANICS (How It Works page)
   ============================ */
.v5-info-row {
	display: flex;
	flex-wrap: wrap;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}
.v5-info-col {
	flex: 1 1 320px;
	padding: 56px 40px;
}
.v5-info-col-light {
	background: var(--wp--preset--color--paper);
}
.v5-info-col-mist {
	background: var(--wp--preset--color--paper);
}
.v5-info-heading {
	font-family: var(--wp--preset--font-family--public-sans);
	font-style: italic;
	font-weight: 800;
	color: var(--wp--preset--color--v-5-navy);
	text-align: center;
	margin: 0 0 20px;
}
.v5-info-col > p {
	max-width: 46ch;
	margin: 0 auto 18px;
	text-align: center;
	color: var(--wp--preset--color--muted);
}
.v5-info-col ul,
.v5-info-col ol {
	max-width: 46ch;
	margin: 0 auto;
	padding-left: 1.4em;
	color: var(--wp--preset--color--muted);
}
.v5-info-col li {
	margin-bottom: 10px;
}
@media (max-width: 720px) {
	.v5-info-row {
		flex-direction: column;
	}
}

/* ============================
   V5 WIZARD (homepage quick links)
   ============================ */
.v5-wizard-section {
	padding: 76px 24px;
}
.v5-wizard-heading {
	font-family: var(--wp--preset--font-family--public-sans);
	font-style: italic;
	font-weight: 800;
	color: var(--wp--preset--color--v-5-navy);
	margin: 0 0 40px;
}
.v5-wizard-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	max-width: 1180px;
	margin: 0 auto;
}
.v5-wizard-card {
	position: relative;
	display: block;
	background: var(--wp--preset--color--v-5-navy);
	border: 1.5px solid rgba(56, 198, 255, .3);
	border-radius: 16px;
	padding: 28px 26px 50px;
	text-decoration: none;
	color: inherit;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.v5-wizard-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 34px rgba(28, 109, 255, .3);
	border-color: var(--wp--preset--color--v-5-cyan);
	color: inherit;
}
.v5-wizard-number {
	position: absolute;
	top: 20px;
	right: 24px;
	font-family: var(--wp--preset--font-family--ibm-plex-mono);
	font-size: .8rem;
	color: var(--wp--preset--color--v-5-cyan);
}
.v5-wizard-icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: linear-gradient(115deg, var(--wp--preset--color--v-5-blue) 0%, var(--wp--preset--color--v-5-cyan) 100%);
	color: #FFFFFF;
}
.v5-wizard-title {
	font-family: var(--wp--preset--font-family--public-sans);
	font-style: italic;
	font-weight: 700;
	color: #FFFFFF;
	margin: 0 0 6px;
	font-size: 1.05rem;
}
.v5-wizard-text {
	font-size: .9rem;
	color: var(--wp--preset--color--v-5-ice);
	margin: 0;
}
.v5-wizard-arrow {
	position: absolute;
	bottom: 22px;
	left: 26px;
	color: var(--wp--preset--color--v-5-blue);
	font-weight: 700;
	transition: transform .18s ease;
}
.v5-wizard-card:hover .v5-wizard-arrow {
	transform: translateX(6px);
}
@media (max-width: 900px) {
	.v5-wizard-grid {
		grid-template-columns: 1fr;
	}
}

/* ============================
   V5 CONTACT CARDS
   ============================ */
.v5-contact-section {
	padding: 76px 24px;
}
.v5-contact-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	max-width: 1000px;
	margin: 0 auto;
}
.v5-contact-card {
	display: block;
	text-align: center;
	background: var(--wp--preset--color--v-5-navy);
	border-radius: 16px;
	padding: 36px 24px;
	text-decoration: none;
	color: inherit;
	transition: transform .18s ease, box-shadow .18s ease;
}
a.v5-contact-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--wp--preset--shadow--medium);
	color: inherit;
}
.v5-contact-icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: linear-gradient(115deg, var(--wp--preset--color--v-5-blue) 0%, var(--wp--preset--color--v-5-cyan) 100%);
	color: #FFFFFF;
}
.v5-contact-title {
	font-family: var(--wp--preset--font-family--public-sans);
	font-style: italic;
	font-weight: 700;
	color: #FFFFFF;
	margin: 0 0 6px;
}
.v5-contact-text {
	font-size: .92rem;
	color: var(--wp--preset--color--v-5-ice);
	margin: 0;
}
@media (max-width: 720px) {
	.v5-contact-grid {
		grid-template-columns: 1fr;
	}
}

/* ============================
   V5 CALLBACK FORM
   ============================ */
.v5-callback-section {
	padding: 76px 24px;
}
.v5-callback-heading {
	font-family: var(--wp--preset--font-family--public-sans);
	font-style: italic;
	font-weight: 800;
	color: var(--wp--preset--color--v-5-navy);
	margin: 0 0 8px;
}
.v5-callback-sub {
	color: var(--wp--preset--color--muted);
	margin: 0 0 32px;
}
.v5-callback-notice {
	max-width: 560px;
	margin: 0 auto 24px;
	padding: 14px 18px;
	border-radius: 10px;
	font-size: .92rem;
}
.v5-callback-notice-success {
	background: #E5F9EE;
	border: 1px solid var(--wp--preset--color--v-5-green);
	color: #0B6B3A;
}
.v5-callback-notice-error {
	background: #FDECEC;
	border: 1px solid var(--wp--preset--color--v-5-red);
	color: var(--wp--preset--color--v-5-red);
}
.v5-callback-form {
	max-width: calc(560px + 20vw);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 18px;
	background: var(--wp--preset--color--paper);
	border-radius: 16px;
	padding: 36px 32px;
	box-shadow: var(--wp--preset--shadow--medium);
}
.v5-callback-hp {
	position: absolute;
	left: -9999px;
}
.v5-callback-row {
	display: flex;
	flex-direction: column;
	gap: 6px;
	text-align: left;
}
.v5-callback-row label {
	font-size: .85rem;
	font-weight: 600;
	color: var(--wp--preset--color--v-5-navy);
}
.v5-callback-row input,
.v5-callback-row select,
.v5-callback-row textarea {
	font: inherit;
	padding: 12px 14px;
	border: 1.5px solid var(--wp--preset--color--line);
	border-radius: 8px;
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--v-5-navy);
}
.v5-callback-row input:focus,
.v5-callback-row select:focus,
.v5-callback-row textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--v-5-blue);
}
.v5-callback-submit {
	align-self: center;
	margin-top: 6px;
	background: linear-gradient(115deg, var(--wp--preset--color--v-5-blue) 0%, var(--wp--preset--color--v-5-cyan) 100%);
	color: #FFFFFF;
	font-weight: 700;
	font-style: italic;
	text-transform: uppercase;
	letter-spacing: .02em;
	border: none;
	border-radius: 999px;
	padding: 14px 36px;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease;
}
.v5-callback-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(28, 109, 255, .35);
}
@media (max-width: 600px) {
	.v5-callback-section {
		padding-left: 5px;
		padding-right: 5px;
	}
	.v5-callback-form {
		max-width: 100%;
		padding: 24px 0;
		border-radius: 0;
		box-shadow: none;
		background: transparent;
	}
	.v5-callback-notice {
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
}

/* ============================
   V5 APPLICATION FORM (wizard)
   ============================ */
.v5-app-section {
	padding: 76px 24px;
}
.v5-app-heading {
	font-family: var(--wp--preset--font-family--public-sans);
	font-style: italic;
	font-weight: 800;
	color: var(--wp--preset--color--v-5-navy);
	margin: 0 0 8px;
}
.v5-app-sub {
	color: var(--wp--preset--color--muted);
	max-width: 52ch;
	margin: 0 auto 40px;
}
.v5-app-progress {
	display: flex;
	justify-content: center;
	gap: 8px;
	max-width: 480px;
	margin: 0 auto 32px;
}
.v5-app-progress-step {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	opacity: .4;
}
.v5-app-progress-step.is-active {
	opacity: 1;
}
.v5-app-progress-step span {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--wp--preset--color--v-5-navy);
	color: #FFFFFF;
	font-family: var(--wp--preset--font-family--ibm-plex-mono);
	font-size: .8rem;
	font-weight: 600;
}
.v5-app-progress-step em {
	font-style: normal;
	font-size: .78rem;
	color: var(--wp--preset--color--muted);
}
.v5-app-form {
	max-width: calc(620px + 20vw);
	margin: 0 auto;
	background: var(--wp--preset--color--paper);
	border: 1.5px solid var(--wp--preset--color--line);
	border-radius: 16px;
	padding: 36px 32px;
	box-shadow: var(--wp--preset--shadow--medium);
}
.v5-app-step {
	display: none;
	border: none;
	margin: 0;
	padding: 0;
}
.v5-app-step.is-active {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.v5-app-step legend {
	font-family: var(--wp--preset--font-family--public-sans);
	font-style: italic;
	font-weight: 700;
	font-size: 1.15rem;
	color: var(--wp--preset--color--v-5-navy);
	padding: 0;
	margin-bottom: 6px;
}
.v5-app-consent-text {
	font-size: .9rem;
	color: var(--wp--preset--color--muted);
	background: var(--wp--preset--color--mist);
	border-radius: 8px;
	padding: 14px 16px;
	margin: 0;
}
.v5-app-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: .9rem;
	color: var(--wp--preset--color--v-5-navy);
	cursor: pointer;
}
.v5-app-checkbox input {
	margin-top: 3px;
	flex: none;
}
.v5-app-checkbox a {
	color: var(--wp--preset--color--v-5-blue);
	text-decoration: underline;
}
.v5-app-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 28px;
}
.v5-app-back,
.v5-app-next {
	font: inherit;
	font-weight: 700;
	border-radius: 999px;
	padding: 13px 28px;
	cursor: pointer;
	border: 1.5px solid var(--wp--preset--color--v-5-navy);
	background: transparent;
	color: var(--wp--preset--color--v-5-navy);
	transition: background .18s ease, color .18s ease;
}
.v5-app-back:hover,
.v5-app-next:hover {
	background: var(--wp--preset--color--v-5-navy);
	color: #FFFFFF;
}
.v5-app-next {
	margin-left: auto;
	background: linear-gradient(115deg, var(--wp--preset--color--v-5-blue) 0%, var(--wp--preset--color--v-5-cyan) 100%);
	border-color: transparent;
	color: #FFFFFF;
}
.v5-app-next:hover {
	background: linear-gradient(115deg, var(--wp--preset--color--v-5-blue) 0%, var(--wp--preset--color--v-5-cyan) 100%);
	color: #FFFFFF;
	opacity: .9;
}
.v5-app-submit {
	margin-left: auto;
}
@media (max-width: 600px) {
	.v5-app-progress-step em {
		display: none;
	}
	.v5-app-section {
		padding-left: 5px;
		padding-right: 5px;
	}
	.v5-app-form {
		max-width: 100%;
		padding: 24px 0;
		border-radius: 0;
		border: none;
		box-shadow: none;
		background: transparent;
	}
}