/* Wardvo site styles. Tokens come from theme.json (var(--wp--preset--*)). */
:root {
	--wv-navy: var(--wp--preset--color--navy, #0B1B33);
	--wv-navy-2: var(--wp--preset--color--navy-2, #13284A);
	--wv-ink: var(--wp--preset--color--ink, #0F172A);
	--wv-slate: var(--wp--preset--color--slate, #475569);
	--wv-line: var(--wp--preset--color--line, #E2E8F0);
	--wv-soft: var(--wp--preset--color--soft, #F4F7FB);
	--wv-teal: var(--wp--preset--color--teal, #19C6A6);
	--wv-teal-dark: var(--wp--preset--color--teal-dark, #0B8A74);
	--wv-danger: var(--wp--preset--color--danger, #D93D42);
	--wv-warn: var(--wp--preset--color--warn, #D98A04);
	--wv-radius: 16px;
	--wv-shadow: 0 1px 2px rgba(11, 27, 51, .06), 0 8px 24px rgba(11, 27, 51, .06);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }

/* ---------- Header ---------- */
.wv-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid var(--wv-line);
	padding-block: 14px;
}
.wv-header__inner { gap: 16px; }
.wv-header__nav { gap: 20px; }
.wv-logo {
	display: inline-flex; align-items: center; gap: 9px;
	font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.45rem;
	letter-spacing: -0.03em; color: var(--wv-navy); text-decoration: none;
}
.wv-logo:hover { color: var(--wv-navy); }
.wv-logo--light, .wv-logo--light:hover { color: #fff; }
.wv-nav { font-size: .95rem; font-weight: 500; gap: 22px; }
.wv-nav a { color: var(--wv-ink); text-decoration: none; }
.wv-nav a:hover { color: var(--wv-teal-dark); }
.wv-btn-sm .wp-block-button__link { padding: .55rem 1rem; font-size: .92rem; }
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent; color: var(--wv-navy); border: 2px solid var(--wv-navy); padding: .7rem 1.3rem;
}
.wv-dark .wp-block-button.is-style-outline .wp-block-button__link,
.wv-hero .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255,255,255,.55); }
@media (max-width: 781px) {
	.wv-header__cta { display: none; }
}

/* ---------- Sections ---------- */
.wv-section { padding-block: var(--wp--preset--spacing--60) !important; }
.wv-section--tight { padding-block: var(--wp--preset--spacing--50) !important; }
.wv-soft { background: var(--wv-soft); }
.wv-dark { background: var(--wv-navy); color: #C9D5E6; }
.wv-dark :where(h1, h2, h3, h4) { color: #fff; }
.wv-dark a:not(.wp-element-button) { color: var(--wv-teal); }
.wv-center { text-align: center; }
.wv-center .wp-block-buttons { justify-content: center; }
.wv-lead { font-size: var(--wp--preset--font-size--large); color: var(--wv-slate); max-width: 680px; }
.wv-dark .wv-lead { color: #B8C6DA; }
.wv-center .wv-lead { margin-inline: auto; }
.wv-eyebrow {
	display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--wv-teal-dark); background: rgba(25, 198, 166, .12); padding: 5px 12px; border-radius: 99px;
	margin-bottom: 0 !important;
}
.wv-dark .wv-eyebrow, .wv-hero .wv-eyebrow { color: var(--wv-teal); background: rgba(25, 198, 166, .14); }

/* ---------- Hero ---------- */
.wv-hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(900px 480px at 85% -10%, rgba(25, 198, 166, .22), transparent 60%),
		radial-gradient(700px 420px at -10% 110%, rgba(59, 130, 246, .18), transparent 60%),
		linear-gradient(180deg, #0B1B33 0%, #0E2140 100%);
	color: #C9D5E6;
	padding-block: clamp(3.5rem, 8vw, 6.5rem) !important;
}
.wv-hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
	background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.wv-hero > * { position: relative; }
.wv-hero h1 { color: #fff; font-size: clamp(2.3rem, 5.2vw, 3.7rem); }
.wv-hero h1 em { font-style: normal; color: var(--wv-teal); }
.wv-hero__cols { gap: clamp(2rem, 5vw, 4rem) !important; align-items: center !important; }
.wv-hero__points { list-style: none; padding: 0; display: grid; gap: 10px; color: #D6E0EE; }
.wv-hero__points li { padding-left: 30px; position: relative; }
.wv-hero__points li::before {
	content: ""; position: absolute; left: 0; top: .28em; width: 19px; height: 19px; border-radius: 50%;
	background: var(--wv-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230B1B33' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
}
.wv-scan-card {
	background: #fff; color: var(--wv-ink); border-radius: 20px; padding: clamp(1.25rem, 3vw, 2rem);
	box-shadow: 0 30px 60px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255,255,255,.06);
}
.wv-scan-card h2, .wv-scan-card h3 { color: var(--wv-navy); margin-top: 0; }

/* ---------- Trust strip / checks ---------- */
.wv-checks { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.wv-check {
	display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px;
	background: #fff; border: 1px solid var(--wv-line); font-weight: 600; font-size: .95rem; color: var(--wv-navy);
}
.wv-check::before {
	content: ""; flex: none; width: 34px; height: 34px; border-radius: 10px;
	background: rgba(25, 198, 166, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l7 3v5c0 4.6-3 8.1-7 9.5C8 19.1 5 15.6 5 11V6l7-3z' fill='none' stroke='%230B8A74' stroke-width='2'/%3E%3Cpath d='M9 11.5l2 2 4-4.5' fill='none' stroke='%230B8A74' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/20px no-repeat;
}

/* ---------- Cards & grids ---------- */
.wv-grid { gap: 20px !important; }
.wv-card {
	background: #fff; border: 1px solid var(--wv-line); border-radius: var(--wv-radius);
	padding: clamp(1.25rem, 2.5vw, 1.75rem) !important; box-shadow: var(--wv-shadow);
	transition: transform .18s ease, box-shadow .18s ease;
}
.wv-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(11,27,51,.06), 0 16px 36px rgba(11,27,51,.1); }
.wv-card h3 { margin-top: .4rem; }
.wv-card p { color: var(--wv-slate); }
.wv-dark .wv-card { background: var(--wv-navy-2); border-color: rgba(255,255,255,.08); box-shadow: none; }
.wv-dark .wv-card p { color: #B8C6DA; }
.wv-icon {
	width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.35rem;
	background: rgba(25, 198, 166, .14); margin: 0 !important;
}
.wv-tag { font-size: .8rem; font-weight: 700; color: var(--wv-teal-dark); text-transform: uppercase; letter-spacing: .08em; margin: 0 !important; }

/* ---------- Stat band ---------- */
.wv-stat { font-family: var(--wp--preset--font-family--heading); font-weight: 700; line-height: 1; margin: 0 !important;
	font-size: clamp(3.2rem, 9vw, 5.5rem); color: var(--wv-teal); letter-spacing: -0.04em; }
.wv-stat-grid { gap: 28px !important; }
.wv-stat-small { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 2.2rem; color: #fff; margin: 0 !important; line-height: 1.1; }
.wv-note { font-size: .8rem; color: #8FA3BF; }

/* ---------- Steps ---------- */
.wv-steps { counter-reset: wvstep; }
.wv-step { position: relative; padding-top: 4.4rem !important; }
.wv-step::before {
	counter-increment: wvstep; content: counter(wvstep); position: absolute; top: 1.3rem; left: 1.6rem;
	width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
	background: var(--wv-navy); color: var(--wv-teal); font-weight: 700; font-family: var(--wp--preset--font-family--heading);
}

/* ---------- Pricing ---------- */
.wv-price { display: flex; flex-direction: column; }
.wv-price__amount { font-family: var(--wp--preset--font-family--heading); font-size: 2.3rem; font-weight: 700; color: var(--wv-navy); margin: .2rem 0 0 !important; line-height: 1.1; }
.wv-price__amount small { font-size: 1rem; color: var(--wv-slate); font-weight: 500; }
.wv-price__for { color: var(--wv-slate); font-size: .95rem; }
.wv-price .wp-block-buttons { margin-top: auto; padding-top: 1rem; }
.wv-price--featured { border: 2px solid var(--wv-teal) !important; position: relative; }
.wv-price--featured::before {
	content: "Most popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
	background: var(--wv-teal); color: var(--wv-navy); font-size: .75rem; font-weight: 800; padding: 4px 12px;
	border-radius: 99px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}

/* ---------- Check lists ---------- */
.wv-checklist { list-style: none; padding-left: 0 !important; display: grid; gap: 8px; }
.wv-checklist li { padding-left: 28px; position: relative; color: var(--wv-ink); }
.wv-dark .wv-checklist li { color: #D6E0EE; }
.wv-checklist li::before {
	content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
	background: rgba(25,198,166,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230B8A74' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- FAQ ---------- */
.wv-faq { display: grid; gap: 12px; }
.wv-faq .wp-block-details {
	background: #fff; border: 1px solid var(--wv-line); border-radius: 12px; padding: 16px 20px; margin: 0 !important;
}
.wv-faq summary { font-weight: 700; color: var(--wv-navy); cursor: pointer; list-style: none; position: relative; padding-right: 28px; }
.wv-faq summary::-webkit-details-marker { display: none; }
.wv-faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 1.4rem; color: var(--wv-teal-dark); }
.wv-faq details[open] summary::after { content: "–"; }
.wv-faq details p { color: var(--wv-slate); margin-top: .7rem; }

/* ---------- CTA band ---------- */
.wv-cta {
	background: linear-gradient(135deg, #0B1B33 0%, #13284A 60%, #0E3B45 100%);
	border-radius: 24px; padding: clamp(2rem, 5vw, 3.5rem) !important; color: #C9D5E6;
}
.wv-cta h2 { color: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.wv-page-hero {
	background:
		radial-gradient(700px 300px at 90% 0%, rgba(25, 198, 166, .18), transparent 60%),
		var(--wv-navy);
	color: #B8C6DA; padding-block: clamp(3rem, 7vw, 5rem) !important;
}
.wv-page-hero h1 { color: #fff; margin: 0; }
.wv-page-hero__lead, .wv-page-hero .wp-block-post-excerpt__excerpt { font-size: var(--wp--preset--font-size--large); max-width: 720px; color: #B8C6DA; margin-top: .8rem; }
.wv-page-hero .wp-block-post-excerpt__more-text { display: none; }

/* ---------- Prose (legal pages / posts) ---------- */
.wv-prose { padding-block: var(--wp--preset--spacing--50) !important; }
.wv-prose h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.wv-prose p, .wv-prose li { color: #334155; }

/* ---------- Sample report ---------- */
.wv-report-grade { display: flex; align-items: center; gap: 18px; }
.wv-badge {
	display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 18px; flex: none;
	font-family: var(--wp--preset--font-family--heading); font-size: 2.8rem; font-weight: 700; color: #fff;
}
.wv-badge--A { background: #16A34A; } .wv-badge--B { background: #65A30D; } .wv-badge--C { background: #CA8A04; }
.wv-badge--D { background: #EA580C; } .wv-badge--F { background: var(--wv-danger); }
.wv-finding { border: 1px solid var(--wv-line); border-left: 5px solid var(--wv-slate); border-radius: 10px; padding: 12px 16px; margin: 10px 0; background: #fff; }
.wv-finding--critical { border-left-color: var(--wv-danger); } .wv-finding--high { border-left-color: #EA580C; }
.wv-finding--medium { border-left-color: var(--wv-warn); } .wv-finding--low { border-left-color: #94A3B8; }
.wv-sev { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff;
	background: #94A3B8; border-radius: 4px; padding: 2px 7px; margin-right: 6px; vertical-align: 2px; }
.wv-finding--critical .wv-sev { background: var(--wv-danger); } .wv-finding--high .wv-sev { background: #EA580C; }
.wv-finding--medium .wv-sev { background: var(--wv-warn); }
.wv-finding p { margin: .35rem 0 0; color: var(--wv-slate); font-size: .95rem; }

/* ---------- Responsive ---------- */
@media (max-width: 781px) {
	.wv-hero { text-align: left; }
	.wv-cta { border-radius: 16px; }
	.wp-block-columns.wv-grid { gap: 16px !important; }
}

/* Mobile nav overlay */
.wv-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--wv-navy); color: #fff; padding: 24px; }
.wv-nav .wp-block-navigation__responsive-container.is-menu-open a { color: #fff; font-size: 1.2rem; }

/* Hero text contrast */
.wv-hero .wv-lead { color: #C9D5E6; }

/* Cards fill their column only when they are the column's single child (equal-height grids). */
.wp-block-column > .wv-card:only-child { height: 100%; }
.wv-stat-grid .wv-card { margin-block: 0 0 14px; }
/* Full-width sections stack with no gaps. */
.wp-block-post-content > .alignfull { margin-block: 0 !important; }

/* ---------- Footer ---------- */
.wv-footer { background: #081427; color: #9FB0C8; padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem !important; font-size: .95rem; }
.wv-footer h4 { color: #fff; font-size: 1rem; margin-bottom: .6rem; }
.wv-footer p { color: #9FB0C8; }
.wv-footer a { color: #C9D5E6; text-decoration: none; }
.wv-footer a:hover { color: var(--wv-teal); }
.wv-footer__links { list-style: none; padding-left: 0 !important; display: grid; gap: 8px; margin: 0; }
.wv-footer__mail a { color: var(--wv-teal); font-weight: 600; }
.wv-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.25rem; margin-top: 2rem !important; font-size: .82rem; color: #7F93B0 !important; }
.wv-footer__cols { gap: 2rem !important; }

/* ---------- Fixes ---------- */
.wv-cta .wv-lead { color: #B8C6DA; }
.wv-checks > * { margin: 0 !important; }
.wv-card > :first-child { margin-top: 0; }
.wv-card > :last-child { margin-bottom: 0; }
.wv-price > * { margin-left: 0 !important; margin-right: 0 !important; }
.wv-stat-grid .wp-block-column > .wv-card + .wv-card { margin-top: 14px; }

/* Left-align narrow text blocks with the 1180px content edge in page heroes. */
.wv-page-hero > .wv-page-hero__lead,
.wv-page-hero > .wp-block-post-excerpt { margin-left: max(0px, calc((100% - 1180px) / 2)) !important; margin-right: auto !important; }
.wv-dark .wv-card .wv-stat-small { color: #fff; }

/* ================= v2: agency layout ================= */
/* 3D hero canvas */
.wv-hero3d-wrap { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1; margin-inline: auto; }
.wv-hero3d-wrap::before { content: ""; position: absolute; inset: 12%; border-radius: 50%;
	background: radial-gradient(circle, rgba(25,198,166,.20) 0%, rgba(25,198,166,.06) 45%, transparent 70%); filter: blur(10px); }
.wv-hero3d { position: relative; width: 100%; height: 100%; display: block; }
.wv-hero3d-fallback { position: absolute; inset: 18%; width: 64%; height: 64%; opacity: 0; transition: opacity .4s; }
.wv-hero3d-wrap:not(.is-live) .wv-hero3d-fallback, .wv-hero3d-wrap.is-fallback .wv-hero3d-fallback { opacity: 1; }
.wv-hero .wp-block-buttons { margin-top: 1.6rem; }
@media (max-width: 781px) {
	.wv-hero3d-wrap { max-width: 340px; margin-top: .5rem; }
}

/* Card grids */
.wv-cards { display: grid !important; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.wv-cards > * { margin: 0 !important; }
.wv-cards--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.wv-cards--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.wv-cards--5 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
@media (min-width: 1100px) { .wv-cards--4 { grid-template-columns: repeat(4, 1fr); } .wv-cards--5 { grid-template-columns: repeat(5, 1fr); } }
.wv-card-price { font-weight: 700; color: var(--wv-navy) !important; margin-top: auto !important; }
.wv-card-link { margin-top: .4rem !important; font-weight: 700; }
.wv-card-link a { text-decoration: none; }
.wv-cards .wv-card { display: flex; flex-direction: column; }
.wv-price__amount--sm { font-size: 1.35rem; }
.wv-price--nobadge::before { display: none; }
.wv-checklist--2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); column-gap: 24px; }

/* 3D tilt (enabled by site.js on hover-capable devices) */
.wv-tilt { transform-style: preserve-3d; will-change: transform; }
.wv-tilt.is-tilting { transition: transform .08s linear, box-shadow .2s; }
.wv-tilt:not(.is-tilting) { transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .2s; }
.wv-tilt .wv-icon { transform: translateZ(28px); }

/* Audit section (form at the end of the homepage) */
.wv-audit { position: relative; overflow: hidden;
	background: radial-gradient(700px 400px at 90% 10%, rgba(25,198,166,.16), transparent 60%), var(--wv-navy); }
.wv-audit::after { content: ""; position: absolute; left: 0; right: 0; height: 120px; top: -120px; pointer-events: none;
	background: linear-gradient(180deg, transparent, rgba(25,198,166,.10), transparent); animation: wv-sweep 6s linear infinite; }
@keyframes wv-sweep { to { top: 100%; } }
.wv-audit .wv-note { color: #8FA3BF; }
.wv-audit .wv-checklist li { color: #D6E0EE; }
.wv-audit .wv-lead { color: #B8C6DA; }
html { scroll-padding-top: 90px; }

/* Nav dropdown */
.wv-nav .wp-block-navigation__submenu-container { border-radius: 12px; border: 1px solid var(--wv-line) !important;
	box-shadow: 0 16px 40px rgba(11,27,51,.14); padding: 8px !important; min-width: 230px !important; }
.wv-nav .wp-block-navigation__submenu-container a { padding: 8px 12px !important; border-radius: 8px; }
.wv-nav .wp-block-navigation__submenu-container a:hover { background: var(--wv-soft); }

@media (prefers-reduced-motion: reduce) {
	.wv-audit::after { animation: none; display: none; }
	.wv-tilt, .wv-card { transition: none !important; transform: none !important; }
}
/* Five service cards: 3 + 2 centered */
@media (min-width: 900px) {
	.wv-cards--svc { grid-template-columns: repeat(6, 1fr); }
	.wv-cards--svc > * { grid-column: span 2; }
	.wv-cards--svc > :nth-child(4) { grid-column: 2 / span 2; }
}
