/*
	Website Development campaign landing page (website-development.php).
	Buttons and the banner slots live in css/campaign-banners.css, which
	this page also loads.

	Same tokens/card recipe/accent-tick h2 as css/home-v2.css so the campaign
	reads as part of YPages, not a bolted-on microsite. :root is redeclared
	rather than @import-ed, following the existing v2 stylesheets.

	Website previews (.wd-mock) are drawn in CSS: crisp at any size, zero
	image requests, and never mistakable for a real client screenshot.
*/

:root {
	--primary: #1E2A3A;
	--primary-light: #2C3E52;
	--primary-dark: #16202E;
	--accent: #F5A623;
	--accent-dark: #D68C0F;
	--surface: #FFFFFF;
	--surface-alt: #F6F8FA;
	--border: #E5E9EF;
	--text: #1A2230;
	--text-muted: #5B6472;
	--success: #1E8E5A;
	--radius: 12px;
	--shadow: 0 1px 3px rgba(16,24,40,.06);
	--shadow-hover: 0 4px 12px rgba(16,24,40,.10);
	--shadow-lg: 0 18px 40px rgba(16,24,40,.18);
	--font: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ================= Page frame ================= */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wd-page { font-family: var(--font); color: var(--text); font-size: 16px; line-height: 1.6; }
.wd-page h1, .wd-page h2, .wd-page h3 { font-family: var(--font); font-weight: 700; color: var(--text); }
.wd-page h2 { font-size: 30px; line-height: 1.25; margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.wd-page h2::before { content: ""; width: 5px; height: 26px; background: var(--accent); border-radius: 3px; flex-shrink: 0; }
.wd-page h3 { font-size: 17px; margin: 0 0 6px; }
.wd-page section { padding: 64px 0; scroll-margin-top: 16px; }
.wd-page .wd-alt { background: var(--surface-alt); }
.wd-page a:not(.wd-btn) { color: var(--primary); }
.wd-page a:focus-visible, .wd-page summary:focus-visible, .wd-page input:focus-visible, .wd-page textarea:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 2px; }
.wd-section-head { margin-bottom: 32px; max-width: 760px; }
.wd-section-head.wd-center { margin-left: auto; margin-right: auto; text-align: center; }
.wd-section-head.wd-center h2 { justify-content: center; }
.wd-section-intro { color: var(--text-muted); font-size: 17px; margin: 0; }
.wd-page .hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Bootstrap 3's .container clearfix ::before/::after would become stray grid/flex items. */
.wd-hero-grid::before, .wd-hero-grid::after,
.wd-final-grid::before, .wd-final-grid::after,
.wd-trust-strip .container::before, .wd-trust-strip .container::after { display: none; }

.wd-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	transition: box-shadow 150ms ease, transform 150ms ease;
}
.wd-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }

.wd-preview-bar { background: #FFF4D6; color: #5C4400; border-bottom: 1px solid #F0D58C; padding: 10px 16px; font-size: 14px; text-align: center; }
.wd-preview-bar code { background: rgba(0,0,0,.06); color: inherit; padding: 1px 5px; border-radius: 4px; }

/* ================= 1. Hero ================= */
.wd-hero {
	position: relative;
	background: radial-gradient(1200px 500px at 85% 20%, rgba(245,166,35,.16), transparent 60%), linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	color: #fff;
	overflow: hidden;
}
.wd-page section.wd-hero { padding: 64px 0 72px; }
.wd-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.wd-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.wd-eyebrow-badge { background: var(--accent); color: #1A1300; border-radius: 6px; padding: 3px 8px; letter-spacing: .02em; }
.wd-hero h1 { color: #fff; font-size: 42px; line-height: 1.15; margin: 0 0 16px; letter-spacing: -.01em; }
.wd-hero h1 span { color: var(--accent); display: block; }
.wd-hero-sub { font-size: 18px; color: rgba(255,255,255,.86); margin: 0 0 26px; max-width: 560px; }

.wd-offer-card {
	display: flex;
	align-items: center;
	gap: 24px;
	background: rgba(255,255,255,.07);
	border: 1px solid rgba(255,255,255,.16);
	border-radius: var(--radius);
	padding: 16px 20px;
	margin-bottom: 26px;
	max-width: 560px;
}
.wd-offer-price { display: flex; flex-direction: column; flex-shrink: 0; padding-right: 24px; border-right: 1px solid rgba(255,255,255,.18); }
.wd-offer-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.75); }
.wd-price { font-size: 46px; font-weight: 800; line-height: 1.05; color: #fff; }
.wd-offer-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: 14px; font-weight: 600; }
.wd-offer-features .fa { color: var(--accent); margin-right: 6px; }

.wd-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.wd-hero-note { margin: 0; font-size: 14px; color: rgba(255,255,255,.75); }
.wd-hero-note .fa { color: var(--accent); margin-right: 4px; }
.wd-hero-note strong { color: #fff; }

/* Device mockups */
.wd-hero-visual { position: relative; padding: 0 24px 36px 0; }
.wd-device-desktop { background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg); overflow: hidden; }
.wd-device-phone {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 27%;
	min-width: 104px;
	background: #fff;
	border: 6px solid #0E1621;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: var(--shadow-lg);
}
.wd-browser-bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: #EEF1F5; border-bottom: 1px solid var(--border); }
.wd-browser-bar span { width: 8px; height: 8px; border-radius: 50%; background: #D3D9E1; }
.wd-browser-bar span:first-child { background: #F26B5B; }
.wd-browser-bar span:nth-child(2) { background: #F5C04A; }
.wd-browser-bar span:nth-child(3) { background: #5CC27A; }
.wd-browser-bar em { margin-left: 10px; flex: 1; background: #fff; border-radius: 4px; font-style: normal; font-size: 10px; color: var(--text-muted); padding: 1px 8px; }

/* ---- CSS-drawn sample website ---- */
.wd-mock { --m: #2563EB; --m-dark: #1D4ED8; --m-soft: #E8EFFD; background: #fff; font-family: var(--font); }
.wd-theme-blue   { --m: #2563EB; --m-dark: #1E3A8A; --m-soft: #E8EFFD; }
.wd-theme-orange { --m: #EA7A1A; --m-dark: #7C3A0A; --m-soft: #FDF0E3; }
.wd-theme-red    { --m: #C2412D; --m-dark: #5A1A12; --m-soft: #FBEAE6; }
.wd-theme-teal   { --m: #0F9488; --m-dark: #0B4D47; --m-soft: #E2F5F3; }
.wd-theme-navy   { --m: #334E7A; --m-dark: #172338; --m-soft: #E8EDF5; }
.wd-theme-purple { --m: #8B4FC9; --m-dark: #3E1F63; --m-soft: #F1EAFA; }
.wd-mock-nav { display: flex; align-items: center; gap: 6%; padding: 7px 8%; }
.wd-mock-nav b { width: 22%; height: 8px; border-radius: 4px; background: var(--m-dark); margin-right: auto; }
.wd-mock-nav i { width: 9%; height: 5px; border-radius: 3px; background: #CBD3DD; }
.wd-mock-nav i:last-child:not(.wd-burger) { background: var(--m); width: 12%; height: 9px; }
.wd-mock-nav .wd-burger { width: 14px; height: 10px; background: linear-gradient(var(--m-dark) 0 2px, transparent 2px 4px, var(--m-dark) 4px 6px, transparent 6px 8px, var(--m-dark) 8px 10px); border-radius: 0; }
.wd-mock-hero {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	padding: 9% 8%;
	background: linear-gradient(120deg, var(--m-dark), var(--m));
	color: #fff;
}
.wd-mock-hero strong { font-size: 15px; line-height: 1.2; font-weight: 800; max-width: 70%; }
.wd-mock-hero small { font-size: 10px; opacity: .85; }
.wd-mock-hero u { text-decoration: none; font-size: 9px; font-weight: 700; background: #fff; color: var(--m-dark); padding: 4px 10px; border-radius: 4px; margin-top: 4px; }
.wd-mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6%; padding: 7% 8% 5%; }
.wd-mock-cards span { height: 34px; border-radius: 6px; background: var(--m-soft); border-top: 3px solid var(--m); }
.wd-mock-cards-stack { grid-template-columns: 1fr; gap: 8px; }
.wd-mock-lines { padding: 0 8% 8%; }
.wd-mock-lines i { display: block; height: 5px; border-radius: 3px; background: #E3E8EE; margin-top: 6px; }
.wd-mock-lines i:nth-child(2) { width: 85%; }
.wd-mock-lines i:nth-child(3) { width: 60%; }
.wd-device-phone .wd-mock-hero { padding: 16px 10px; }
.wd-device-phone .wd-mock-hero strong { font-size: 11px; max-width: 100%; }
.wd-device-phone .wd-mock-nav { padding: 7px 10px; }
.wd-device-phone .wd-mock-nav b { width: 45%; }
.wd-device-phone .wd-mock-cards { padding: 10px; }
.wd-device-phone .wd-mock-cards span { height: 26px; }

/* Trust strip */
.wd-trust-strip { background: var(--primary-dark); color: rgba(255,255,255,.82); font-size: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.wd-trust-strip .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; padding-top: 14px; padding-bottom: 14px; }
.wd-trust-strip .fa { color: var(--accent); margin-right: 6px; }

/* ================= 2. Why ================= */
.wd-why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wd-why-grid .wd-card { padding: 24px 22px; }
.wd-why-grid .fa { font-size: 22px; color: var(--accent-dark); background: #FEF4E2; width: 46px; height: 46px; line-height: 46px; text-align: center; border-radius: 10px; margin-bottom: 14px; }
.wd-why-grid p { margin: 0; color: var(--text-muted); font-size: 15px; }
.wd-card-accent { background: var(--primary); border-color: var(--primary); }
.wd-page .wd-card-accent h3 { color: #fff; }
.wd-why-grid .wd-card-accent p { color: rgba(255,255,255,.82); }
.wd-why-grid .wd-card-accent .fa { background: rgba(245,166,35,.16); color: var(--accent); }

/* ================= 3. Included ================= */
.wd-included-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.wd-included-card { position: relative; grid-column: span 2; padding: 26px 22px; }
.wd-included-card:nth-child(4) { grid-column: 2 / span 2; }
.wd-included-lead { border: 2px solid var(--accent); }
.wd-included-icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 12px; background: var(--primary); color: var(--accent); font-size: 22px; margin-bottom: 14px; }
.wd-included-card p { margin: 0; color: var(--text-muted); font-size: 15px; }
.wd-pages-badge { position: absolute; top: 18px; right: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: #1A1300; font-size: 24px; font-weight: 800; line-height: 1; }
.wd-pages-badge small { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }

/* ================= 4. Previews ================= */
.wd-preview-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.wd-preview-frame { border-radius: 10px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-hover); background: #fff; transition: transform 200ms ease, box-shadow 200ms ease; }
.wd-preview-item:hover .wd-preview-frame { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.wd-preview-frame .wd-mock-hero strong { font-size: 12px; max-width: 100%; }
.wd-preview-frame .wd-mock-cards span { height: 24px; }
.wd-preview-caption { margin: 12px 0 0; text-align: center; font-weight: 700; font-size: 15px; }
.wd-disclaimer { margin: 22px 0 0; text-align: center; font-size: 13px; color: var(--text-muted); }

/* ================= 5. Process ================= */
.wd-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.wd-steps::before { content: ""; position: absolute; top: 22px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 14px); }
.wd-steps li { position: relative; text-align: center; padding: 0 6px; }
.wd-step-num { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 14px; box-shadow: 0 0 0 6px var(--surface-alt); }
.wd-steps li:last-child .wd-step-num { background: var(--accent); color: #1A1300; }
.wd-steps p { margin: 0; color: var(--text-muted); font-size: 14px; }

/* ================= 6. Pricing ================= */
.wd-pricing-card {
	max-width: 520px;
	margin: 0 auto;
	text-align: center;
	background: var(--surface);
	border: 2px solid var(--accent);
	border-radius: 16px;
	box-shadow: var(--shadow-lg);
	padding: 36px 36px 28px;
}
.wd-pricing-tag { display: inline-block; margin: 0 0 14px; padding: 4px 12px; border-radius: 999px; background: #FEF4E2; color: #8A5A06; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.wd-page .wd-pricing-card h3 { font-size: 21px; margin: 0; }
.wd-pricing-price { font-size: 64px; font-weight: 800; line-height: 1.1; margin: 8px 0 20px; color: var(--primary); }
.wd-pricing-list { list-style: none; margin: 0 auto 26px; padding: 0; text-align: left; display: inline-block; }
.wd-pricing-list li { padding: 7px 0; font-weight: 600; border-bottom: 1px dashed var(--border); }
.wd-pricing-list li:last-child { border-bottom: 0; }
.wd-pricing-list .fa { color: var(--success); margin-right: 10px; }
.wd-pricing-note { margin: 16px 0 0; font-size: 13px; color: var(--text-muted); }

/* ================= 7. FAQ ================= */
.wd-faq-wrap { max-width: 820px; }
.wd-faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 10px; }
.wd-faq-item summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 20px; font-weight: 700; position: relative; }
.wd-faq-item summary::-webkit-details-marker { display: none; }
.wd-faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--accent-dark); }
.wd-faq-item[open] summary::after { content: "\2212"; }
.wd-faq-item p { margin: 0; padding: 0 20px 18px; color: var(--text-muted); }

/* ================= 8. Final CTA + form ================= */
.wd-page section.wd-final { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; scroll-margin-top: 0; }
.wd-final-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.wd-page .wd-final h2 { color: #fff; font-size: 34px; }
.wd-final-sub { font-size: 18px; color: rgba(255,255,255,.86); margin: 0 0 26px; }
.wd-final-summary { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 20px; }
.wd-final-price { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.16); font-weight: 600; }
.wd-final-price strong { font-size: 34px; color: var(--accent); line-height: 1; }
.wd-final-summary ul { list-style: none; margin: 0; padding: 0; }
.wd-final-summary li { padding: 4px 0; }
.wd-final-summary .fa { color: var(--accent); margin-right: 8px; }
.wd-final-reassure { font-size: 13px; color: rgba(255,255,255,.7); margin: 0; }
.wd-final .wd-final-reassure a { color: #fff; text-decoration: underline; }

.wd-form-card { background: var(--surface); color: var(--text); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 30px; }
.wd-page .wd-form-card h3 { font-size: 22px; margin: 0 0 4px; }
.wd-form-intro { color: var(--text-muted); font-size: 14px; margin: 0 0 20px; }
.wd-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.wd-field { margin-bottom: 16px; }
.wd-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.wd-req { color: #C0392B; }
.wd-optional { font-weight: 400; color: var(--text-muted); font-size: 13px; }
.wd-field input, .wd-field textarea {
	display: block;
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	font-family: var(--font);
	font-size: 16px; /* 16px stops iOS zooming on focus */
	color: var(--text);
	background: #fff;
	border: 1px solid #CBD3DD;
	border-radius: 8px;
	box-shadow: none;
	transition: border-color 150ms ease, box-shadow 150ms ease;
}
.wd-field textarea { min-height: 104px; resize: vertical; }
.wd-field input:focus, .wd-field textarea:focus { border-color: var(--accent-dark); box-shadow: 0 0 0 3px rgba(245,166,35,.25); outline: none; }
.wd-field [aria-invalid="true"] { border-color: #C0392B; }
.wd-field-err { display: block; font-size: 13px; color: #B03A2E; margin-top: 4px; }
.wd-field-err:empty { display: none; }
.wd-form-status { color: #B03A2E; font-size: 14px; margin-bottom: 12px; }
.wd-form-status:empty { display: none; }
.wd-form-foot { text-align: center; font-size: 13px; color: var(--text-muted); margin: 12px 0 0; }
.wd-form-success { text-align: center; padding: 30px 10px; outline: none; }
.wd-form-success .fa { font-size: 54px; color: var(--success); margin-bottom: 10px; }

/* ================= Sticky mobile CTA ================= */
.wd-sticky-cta { display: none; }
@media (max-width: 767px) {
	.wd-sticky-cta {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 900;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		background: var(--surface);
		border-top: 1px solid var(--border);
		box-shadow: 0 -4px 16px rgba(16,24,40,.12);
		transform: translateY(110%);
		transition: transform 200ms ease;
	}
	.wd-sticky-cta.is-visible { transform: translateY(0); }
	.wd-sticky-cta span { font-size: 14px; }
	.wd-sticky-cta strong { font-size: 18px; color: var(--primary); }
	.wd-page { padding-bottom: 68px; }
}

/* ================= Responsive ================= */
@media (max-width: 1199px) {
	.wd-preview-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
	.wd-hero-grid, .wd-final-grid { grid-template-columns: 1fr; gap: 36px; }
	.wd-hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
	.wd-why-grid { grid-template-columns: repeat(2, 1fr); }
	.wd-included-grid { grid-template-columns: repeat(2, 1fr); }
	.wd-included-card, .wd-included-card:nth-child(4) { grid-column: auto; }
	.wd-included-lead { grid-column: 1 / -1 !important; }
	.wd-steps { grid-template-columns: 1fr; gap: 0; max-width: 560px; }
	.wd-steps::before { top: 10px; bottom: 10px; left: 22px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--accent) 0 8px, transparent 8px 14px); }
	.wd-steps li { display: grid; grid-template-columns: 46px 1fr; column-gap: 18px; text-align: left; padding: 0 0 22px; }
	.wd-steps .wd-step-num { grid-row: span 2; margin: 0; }
}
@media (max-width: 767px) {
	.wd-page section { padding: 48px 0; }
	.wd-page section.wd-hero { padding: 40px 0 48px; }
	.wd-hero h1 { font-size: 29px; }
	.wd-hero-sub { font-size: 16px; }
	.wd-page h2 { font-size: 24px; }
	.wd-page .wd-final h2 { font-size: 26px; }
	.wd-offer-card { flex-direction: column; align-items: flex-start; gap: 12px; }
	.wd-offer-price { border-right: 0; padding-right: 0; }
	.wd-hero-actions .wd-btn { width: 100%; }
	.wd-hero-visual { padding: 0 16px 28px 0; }
	.wd-why-grid, .wd-included-grid { grid-template-columns: 1fr; }
	.wd-preview-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.wd-preview-item:last-child { grid-column: 1 / -1; max-width: 50%; justify-self: center; width: 100%; }
	.wd-form-row { grid-template-columns: 1fr; }
	.wd-form-card { padding: 22px 18px; }
	.wd-pricing-card { padding: 28px 20px 22px; }
	.wd-pricing-price { font-size: 54px; }
	.wd-trust-strip .container { justify-content: flex-start; flex-direction: column; gap: 6px; }
}
