/*
Theme Name: Wix Nexus
Theme URI: https://wixnexus.com
Author: Wix Nexus
Description: Conversion-focused one-page agency theme for Wix Nexus. Includes SEO meta, schema markup, and a built-in contact form.
Version: 1.6.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wix-nexus
*/

:root {
	--navy: #0f1f3d;
	--navy-2: #16294d;
	--ink: #1b2533;
	--muted: #556274;
	--line: #e3e8ef;
	--bg: #ffffff;
	--bg-alt: #f5f7fb;
	--accent: #0f766e;
	--accent-hover: #0b5e58;
	--accent-soft: #e6f4f2;
	--warn-soft: #fdf1ec;
	--warn: #c2532b;
	--radius: 14px;
	--shadow: 0 1px 2px rgba(15, 31, 61, .06), 0 8px 24px rgba(15, 31, 61, .06);
	--max: 1140px;
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-heading: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

h1, h2, h3, .tier-price, .glance-item strong, .brand { font-family: var(--font-heading); }

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto;
	background: #fff; padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow);
}

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 26px; border-radius: 10px; font-weight: 700; font-size: 1rem;
	text-decoration: none; border: 2px solid transparent; cursor: pointer;
	transition: background .15s, color .15s, border-color .15s, transform .15s;
	font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
	outline: 3px solid #5eead4; outline-offset: 2px;
}

/* Header */
.site-header {
	position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
	backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--navy); text-decoration: none; }
.brand:hover { color: var(--navy); }
.brand-mark {
	width: 34px; height: 34px; border-radius: 9px; background: var(--navy); color: #fff;
	display: grid; place-items: center; font-size: .95rem; font-weight: 800;
}
.brand-mark span { color: #5eead4; }
.custom-logo { max-height: 44px; width: auto; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.main-nav a:hover { color: var(--accent); }
.header-cta { padding: 10px 18px; font-size: .95rem; }
.nav-toggle {
	display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy);
}

@media (max-width: 880px) {
	.nav-toggle { display: block; }
	.main-nav {
		position: absolute; top: 72px; left: 0; right: 0; background: #fff;
		border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none;
	}
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 16px; }
	.main-nav li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
	.header-cta { display: none; }
}

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.eyebrow {
	display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
	text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
@media (max-width: 700px) { .section { padding: 68px 0; } .section-head { margin-bottom: 40px; } }

/* Hero */
.hero {
	background: radial-gradient(1200px 500px at 85% -10%, rgba(94,234,212,.18), transparent 60%), var(--navy);
	color: #d7deea; padding: 104px 0 96px;
}
.hero h1 { color: #fff; max-width: 860px; }
.hero .eyebrow { color: #5eead4; }
.hero-sub { font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 720px; color: #c4cede; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.trust-strip { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .95rem; font-weight: 600; color: #e5ebf4; }
.trust-strip li { display: flex; align-items: center; gap: 8px; }
.trust-strip svg { color: #5eead4; flex: none; }

/* Grids & cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 28px; box-shadow: var(--shadow);
}
.card p { color: var(--muted); margin: 0; }
.icon {
	width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
	background: var(--accent-soft); color: var(--accent); margin-bottom: 18px;
}
.icon-warn { background: var(--warn-soft); color: var(--warn); }

.problem-card h3 { font-size: 1.1rem; }
.callout {
	max-width: 760px; margin: 44px auto 0; text-align: center; font-size: 1.15rem;
	font-weight: 600; color: var(--navy);
}

/* Solution */
.solution-grid .card { display: flex; gap: 20px; align-items: flex-start; }
.solution-grid .icon { margin-bottom: 0; flex: none; }
.num { font-size: .8rem; font-weight: 800; color: var(--accent); letter-spacing: .06em; display: block; margin-bottom: 4px; }

/* Included */
.included-list { list-style: none; margin: 0; padding: 0; }
.included-list li { display: flex; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.included-list .icon { margin: 0; flex: none; }
.included-list h3 { margin-bottom: 4px; }
.included-list p { color: var(--muted); margin: 0; }
.center { text-align: center; }
.mt { margin-top: 40px; }

/* Steps */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.steps li::before {
	counter-increment: step; content: counter(step);
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 16px;
}
.steps .when { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 3px 10px; border-radius: 99px; margin-bottom: 10px; }
.steps p { color: var(--muted); margin: 0; font-size: .97rem; }
.honest-note {
	max-width: 780px; margin: 40px auto 0; padding: 20px 24px; border-left: 4px solid var(--accent);
	background: #fff; border-radius: 0 var(--radius) var(--radius) 0; color: var(--muted);
}
.honest-note strong { color: var(--navy); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* Why */
.why-item { display: flex; gap: 16px; }
.why-item .icon { flex: none; margin: 0; }
.why-item p { color: var(--muted); margin: 0; }

/* Testimonials */
.testimonial { display: flex; flex-direction: column; gap: 18px; }
.testimonial blockquote { margin: 0; font-size: 1.05rem; color: var(--ink); font-style: italic; }
.testimonial .stars { color: #f5a524; letter-spacing: 2px; }
.testimonial-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--accent-soft); }
.testimonial figcaption { margin-top: auto; }
.testimonial .who { font-weight: 700; color: var(--navy); display: block; }
.testimonial .biz { color: var(--muted); font-size: .92rem; }
.is-placeholder { border-style: dashed; }

/* Pricing */
.pricing-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.price-card { background: var(--navy); color: #d7deea; border-radius: 18px; padding: 40px; box-shadow: 0 20px 50px rgba(15,31,61,.25); }
.price-card .price { font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 4px; }
.price-card .price-sub { color: #aab6c9; margin-bottom: 24px; }
.price-card ul { list-style: none; margin: 0 0 28px; padding: 0; }
.price-card li { display: flex; gap: 10px; align-items: center; padding: 7px 0; color: #e5ebf4; }
.price-card li svg { color: #5eead4; flex: none; }
.price-card .btn { width: 100%; }
.price-note { color: var(--muted); }
.price-note h3 { margin-top: 28px; }
@media (max-width: 880px) { .pricing-wrap { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary {
	cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 700; color: var(--navy);
	position: relative; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
	font-size: 1.5rem; font-weight: 400; color: var(--accent);
}
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 24px 20px; color: var(--muted); }
.faq .answer p { margin: 0; }

/* Contact / final CTA */
.final-cta { background: var(--navy); color: #c4cede; }
.final-cta h2 { color: #fff; }
.final-cta .eyebrow { color: #5eead4; }
.cta-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.cta-copy p { font-size: 1.08rem; }
@media (max-width: 880px) { .cta-wrap { grid-template-columns: 1fr; gap: 36px; } }

.contact-form { background: #fff; border-radius: 18px; padding: 32px; color: var(--ink); box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .contact-form .row { grid-template-columns: 1fr; } .contact-form { padding: 24px; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea {
	width: 100%; padding: 12px 14px; border: 1px solid #cfd7e3; border-radius: 10px;
	font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(15,118,110,.18); }
.hp-field { position: absolute; left: -9999px; }
.contact-form .btn { width: 100%; }
.form-micro { font-size: .88rem; color: var(--muted); text-align: center; margin: 12px 0 0; }
.notice { padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 600; }
.notice-success { background: var(--accent-soft); color: var(--accent-hover); }
.notice-error { background: var(--warn-soft); color: var(--warn); }

/* Footer */
.site-footer { background: #0a1630; color: #93a1b8; font-size: .95rem; }
.site-footer a { color: #c4cede; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.5fr; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; word-break: break-all; }
.footer-contact svg { color: #5eead4; flex: none; }
.footer-contact + .btn { margin-top: 18px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand p { max-width: 360px; margin: 16px 0 20px; }
.brand-light, .brand-light:hover { color: #fff; }
.footer-title { color: #fff; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { transition: color .15s, padding-left .2s; }
.footer-links a:hover { padding-left: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255,255,255,.08); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
@media (max-width: 760px) {
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
	.footer-brand { grid-column: 1 / -1; }
	/* Bigger touch targets for thumbs */
	.footer-links { gap: 2px; }
	.footer-links a { display: inline-flex; align-items: center; min-height: 40px; }
	.topbar-contact a { min-height: 38px; }
}

/* Inner page hero */
.page-hero {
	color: #c4cede; padding: 88px 0 80px;
	background: radial-gradient(900px 400px at 90% -20%, rgba(94,234,212,.2), transparent 60%), var(--navy);
}
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero .eyebrow { color: #5eead4; }
.page-hero-sm { padding: 64px 0 56px; }
.page-hero .updated { font-size: .9rem; color: #93a1b8; margin: 0; }
.narrow { max-width: 720px; }
.center.narrow { margin-left: auto; margin-right: auto; }
.center.narrow .hero-sub { margin-left: auto; margin-right: auto; }
.center-actions { justify-content: center; margin-bottom: 0; }
.big-404 {
	display: block; font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.04em;
	background: linear-gradient(135deg, #5eead4, #fff); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.not-found { padding: 120px 0; }

/* About */
.about-story { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.prose-lg { font-size: 1.08rem; color: var(--muted); }
.prose-lg strong { color: var(--navy); }
.check-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: center; color: var(--ink); font-weight: 600; }
.check-list svg { color: var(--accent); flex: none; }
@media (max-width: 820px) { .about-story { grid-template-columns: 1fr; gap: 12px; } }

.glance { background: var(--accent); color: #d6f5f0; padding: 44px 0; }
.glance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.glance-item strong { display: block; color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; line-height: 1.2; }
.glance-item span { font-size: .92rem; }
@media (max-width: 760px) { .glance-grid { grid-template-columns: 1fr 1fr; } }

.founder { max-width: 760px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 44px 36px; box-shadow: var(--shadow); }
.founder-avatar { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.founder blockquote { margin: 0 0 18px; font-size: 1.15rem; font-style: italic; color: var(--ink); }
.founder figcaption { color: var(--muted); }
.founder figcaption strong { color: var(--navy); }
.final-cta .narrow p { font-size: 1.1rem; margin-bottom: 28px; }
.btn svg { transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }

/* Legal pages */
.legal-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 100px; font-size: .92rem; }
.toc-title { font-weight: 800; color: var(--navy); text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; }
.legal-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); }
.legal-toc a { color: var(--muted); text-decoration: none; }
.legal-toc a:hover { color: var(--accent); }
@media (max-width: 880px) { .legal-wrap { grid-template-columns: 1fr; } .legal-toc { display: none; } }

.prose { max-width: 760px; color: var(--ink); }
.prose h2 { font-size: 1.4rem; margin: 2.2em 0 .6em; }
.prose h2:first-of-type { margin-top: 1.2em; }
.prose p, .prose li { color: #3b4658; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 6px; }
.admin-note { background: #fff8e6; border: 1px dashed #e0a800; color: #6b5300; padding: 14px 18px; border-radius: 10px; margin: 0 auto 24px; font-size: .92rem; max-width: 760px; }

/* Top contact bar */
.topbar { background: var(--navy); color: #c4cede; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar-contact { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar a { color: #c4cede; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar svg { color: #5eead4; }
@media (max-width: 700px) { .topbar .social-links { display: none; } .topbar .container { justify-content: center; } .topbar-contact { gap: 14px; justify-content: center; } }

/* Social icon links */
.social-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.social-links a {
	width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
	background: var(--accent-soft); color: var(--accent); text-decoration: none;
	transition: background .2s, color .2s, transform .2s;
}
.social-links a:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }
.social-links-dark a { background: rgba(255,255,255,.08); color: #e5ebf4; }
.social-links-dark a:hover { background: #5eead4; color: var(--navy); }
.social-links-top { gap: 4px; }
.social-links-top a { width: 28px; height: 28px; background: transparent; color: #c4cede; }
.social-links-top a:hover { background: rgba(255,255,255,.1); color: #fff; transform: none; }
.social-center { justify-content: center; margin-top: 28px; }

/* Contact details next to the form */
.contact-list { list-style: none; margin: 28px 0 20px; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #93a1b8; }
.contact-list a { color: #fff; font-weight: 600; text-decoration: none; word-break: break-all; }
.contact-list a:hover { color: #5eead4; }
.contact-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(94,234,212,.12); color: #5eead4; flex: none; }
.platform-line { font-size: .98rem; }
.platform-line a { color: #5eead4; font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }

/* Form success state */
@keyframes wxn-pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
.form-success { text-align: center; }
.form-success h3 { font-size: 1.4rem; margin-top: 8px; }
.form-success p { color: var(--muted); }
.success-icon { width: 76px; height: 76px; margin: 8px auto 12px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; animation: wxn-pop .6s cubic-bezier(.3,1.5,.5,1) both; }

/* Team */
.team-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.team-photo {
	width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin-bottom: 18px;
	display: grid; place-items: center; font-size: 2.2rem; font-weight: 800; color: #fff;
	background: linear-gradient(135deg, var(--accent), var(--navy)); box-shadow: 0 0 0 6px var(--accent-soft);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-size: 1.25rem; margin-bottom: 2px; }
.team-name a { color: var(--navy); text-decoration: none; }
.team-name a:hover { color: var(--accent); }
.team-role { color: var(--accent) !important; font-weight: 700; font-size: .92rem; margin-bottom: 12px !important; }
.team-bio { margin-bottom: 18px !important; }
.team-card .social-links { justify-content: center; margin-top: auto; }
.grid.team-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 350px)); justify-content: center; }
.hire-card { display: flex; flex-direction: column; }
.hire-card .check-list { margin: 18px 0 24px; }
.hire-card .check-list li { font-weight: 500; font-size: .95rem; }
.hire-card .check-list a { word-break: break-all; }
.hire-card .btn { margin-top: auto; }
.hire-direct { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }

/* ============ Homepage: hero, services, pricing tiers ============ */

/* Centred hero with a big uppercase headline */
.hero-center { text-align: center; padding: 104px 0 88px; }
.hero-center .container > * { margin-left: auto; margin-right: auto; }
.hero-title {
	text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.08;
	font-size: clamp(2rem, 4.6vw, 3.5rem); max-width: 19ch;
	text-wrap: balance; /* keeps a single word off the last line */
}
.hero-center .hero-sub { max-width: 640px; }
/* .center-actions zeroes the bottom margin, so the trust strip sets its own */
.hero-center .trust-strip { margin-top: 32px; }
.trust-center { justify-content: center; }
@media (max-width: 700px) {
	.hero-center { padding: 72px 0 64px; }
	.hero-title { max-width: none; font-size: clamp(1.85rem, 8vw, 2.4rem); }
	.hero-center .hero-actions .btn { width: 100%; }
	.hero-center .trust-strip { margin-top: 26px; gap: 12px 20px; }
}

/* Three service cards */
.service-card { display: flex; flex-direction: column; }
.service-label {
	display: inline-block; align-self: flex-start; font-size: .74rem; font-weight: 800;
	letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
	background: var(--accent-soft); padding: 4px 10px; border-radius: 99px; margin-bottom: 12px;
}
.service-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-card p { margin-bottom: 20px !important; }
.service-card .post-more { margin-top: auto; }

/* Pricing tiers */
.tier-grid { align-items: stretch; }
.tier { display: flex; flex-direction: column; position: relative; padding-top: 34px; }
.tier-name { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.tier-price { font-size: clamp(2.2rem, 4vw, 2.9rem); font-weight: 800; color: var(--navy); line-height: 1.1; }
.tier-for { color: var(--muted); font-size: .95rem; margin: 8px 0 20px !important; min-height: 2.8em; }
.tier-features { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.tier-features li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; color: var(--ink); }
.tier-features svg { color: var(--accent); flex: none; margin-top: 3px; }
.tier .btn { margin-top: auto; width: 100%; }
.tier-popular { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 18px 40px rgba(15,118,110,.14); }
.tier-flag {
	position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap;
	background: var(--accent); color: #fff; font-size: .8rem; font-weight: 800;
	letter-spacing: .08em; text-transform: uppercase; padding: 5px 14px; border-radius: 99px;
}
@media (min-width: 961px) { .tier-popular { transform: scale(1.03); } .tier-popular:hover { transform: scale(1.03) translateY(-4px); } }

/* ============ Blog ============ */
.post-grid { align-items: stretch; }
.post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.post-thumb { display: block; aspect-ratio: 16 / 9; background: var(--bg-alt); overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-thumb-fallback { width: 100%; height: 100%; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); }
.post-card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted); margin: 0 0 10px; }
.post-meta .dot { opacity: .5; }
.post-cat {
	background: var(--accent-soft); color: var(--accent); font-weight: 700; text-decoration: none;
	padding: 3px 10px; border-radius: 99px; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em;
}
.post-cat:hover { background: var(--accent); color: #fff; }
.post-title { font-size: 1.2rem; margin: 0 0 10px; line-height: 1.35; }
.post-title a { color: var(--navy); text-decoration: none; }
.post-title a:hover { color: var(--accent); }
.post-excerpt { color: var(--muted); font-size: .96rem; margin: 0 0 18px; }
.post-more { margin-top: auto; font-weight: 700; font-size: .93rem; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.post-more svg { transition: transform .2s; }
.post-more:hover svg { transform: translateX(4px); }

.page-hero .post-meta { color: #a9b6c9; }
.page-hero .post-cat { background: rgba(94,234,212,.15); color: #5eead4; }
.breadcrumbs { font-size: .88rem; color: #93a1b8; margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumbs a { color: #c4cede; text-decoration: none; }
.breadcrumbs a:hover { color: #5eead4; }

.post-body .container { max-width: 820px; }
.post-hero-image { margin: -48px 0 36px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.post-hero-image img { width: 100%; display: block; }
.entry-content { max-width: none; font-size: 1.06rem; }
.entry-content h2 { font-size: 1.6rem; margin: 1.8em 0 .5em; }
.entry-content h3 { font-size: 1.25rem; margin: 1.6em 0 .4em; }
.entry-content img, .entry-content iframe { border-radius: var(--radius); max-width: 100%; height: auto; }
.entry-content figure { margin: 2em 0; }
.entry-content figcaption { font-size: .88rem; color: var(--muted); text-align: center; margin-top: 8px; }
.entry-content blockquote {
	margin: 2em 0; padding: 18px 24px; border-left: 4px solid var(--accent);
	background: var(--bg-alt); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.6em 0; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.entry-content th { background: var(--bg-alt); }
.entry-content pre { background: var(--navy); color: #e5ebf4; padding: 18px; border-radius: var(--radius); overflow-x: auto; }
.entry-content code { background: var(--bg-alt); padding: 2px 6px; border-radius: 6px; font-size: .92em; }
.entry-content pre code { background: none; padding: 0; }
.wp-caption, .alignwide { max-width: 100%; }
.aligncenter { margin-left: auto; margin-right: auto; display: block; }
@media (min-width: 900px) {
	.alignleft { float: left; margin: .4em 1.6em 1em 0; max-width: 45%; }
	.alignright { float: right; margin: .4em 0 1em 1.6em; max-width: 45%; }
}

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; clear: both; }
.post-tags a {
	font-size: .85rem; background: var(--bg-alt); border: 1px solid var(--line); color: var(--muted);
	padding: 5px 12px; border-radius: 99px; text-decoration: none;
}
.post-tags a:hover { border-color: var(--accent); color: var(--accent); }

.post-cta {
	margin: 48px 0 0; padding: 36px; border-radius: 18px; text-align: center; clear: both;
	background: radial-gradient(600px 240px at 80% -20%, rgba(94,234,212,.18), transparent 60%), var(--navy);
}
.post-cta h2 { color: #fff; font-size: 1.5rem; }
.post-cta p { color: #c4cede; max-width: 520px; margin: 0 auto 22px; }

/* Pagination */
.wxn-pagination { margin-top: 48px; }
.wxn-pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.wxn-pagination .page-numbers {
	min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
	text-decoration: none; font-weight: 600; transition: background .2s, color .2s, border-color .2s;
}
.wxn-pagination .page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.wxn-pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: #fff; }
.wxn-pagination .screen-reader-text { display: none; }

/* Search */
.wxn-search { display: flex; gap: 10px; }
.wxn-search input {
	flex: 1; padding: 13px 16px; border: 1px solid #cfd7e3; border-radius: 10px; font: inherit; font-size: 1rem;
}
.wxn-search input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(15,118,110,.18); }
.search-bar { margin: 0 auto 40px; }

.empty-state { padding: 40px 0; }
.empty-state h2 { margin-bottom: 10px; }
.empty-state p { color: var(--muted); }

/* Comments */
.post-comments { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.comments-title { font-size: 1.3rem; }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { margin-left: 28px; }
.comment-list li article, .comment-body { background: var(--bg-alt); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 16px; }
.comment-author img { border-radius: 50%; vertical-align: middle; margin-right: 10px; }
.comment-metadata, .comment-metadata a { font-size: .85rem; color: var(--muted); text-decoration: none; }
.comment-respond { margin-top: 32px; }
.comment-form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 12px 14px; border: 1px solid #cfd7e3; border-radius: 10px; font: inherit; font-size: 1rem;
}
.comment-form textarea { min-height: 130px; }
.comment-notes, .comment-form-cookies-consent label { font-weight: 400; font-size: .9rem; color: var(--muted); }

/* Generic pages */
.page-content { max-width: 780px; margin: 0 auto; padding: 72px 20px; }

/* ============ Animations ============ */

/* Header gains a shadow once you scroll */
.site-header { transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(15,31,61,.08); }

/* Hero entrance: each line rises in, one after another */
@keyframes wxn-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero .container > *, .page-hero .container > * { animation: wxn-rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero .container > :nth-child(2), .page-hero .container > :nth-child(2) { animation-delay: .1s; }
.hero .container > :nth-child(3), .page-hero .container > :nth-child(3) { animation-delay: .2s; }
.hero .container > :nth-child(4), .page-hero .container > :nth-child(4) { animation-delay: .3s; }
.hero .container > :nth-child(5), .page-hero .container > :nth-child(5) { animation-delay: .4s; }

/* Slowly drifting glow behind the hero */
.hero, .page-hero { position: relative; overflow: hidden; }
.hero .container, .page-hero .container { position: relative; z-index: 1; }
.hero::before, .hero::after, .page-hero::before {
	content: ""; position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none;
}
.hero::before { width: 420px; height: 420px; right: -80px; top: -120px; background: rgba(94,234,212,.22); animation: wxn-drift 14s ease-in-out infinite alternate; }
.hero::after { width: 320px; height: 320px; left: 30%; bottom: -200px; background: rgba(59,130,246,.18); animation: wxn-drift 18s ease-in-out infinite alternate-reverse; }
.page-hero::before { width: 360px; height: 360px; right: -60px; top: -160px; background: rgba(94,234,212,.2); animation: wxn-drift 16s ease-in-out infinite alternate; }
@keyframes wxn-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 40px) scale(1.15); } }

/* Scroll reveal (classes added by main.js) */
.js-anim .reveal {
	opacity: 0; translate: 0 28px;
	transition: opacity .7s cubic-bezier(.2,.7,.2,1), translate .7s cubic-bezier(.2,.7,.2,1), transform .25s ease, box-shadow .25s ease, border-color .25s ease;
	transition-delay: var(--reveal-delay, 0ms), var(--reveal-delay, 0ms), 0ms, 0ms, 0ms;
}
.js-anim .reveal.is-visible { opacity: 1; translate: 0 0; }

/* Card and item hover lift */
.card, .steps li, .price-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover, .steps li:hover { transform: translateY(-5px); box-shadow: 0 2px 4px rgba(15,31,61,.06), 0 18px 40px rgba(15,31,61,.1); border-color: #cfe7e3; }
.price-card:hover { transform: translateY(-4px); }
.icon { transition: transform .3s cubic-bezier(.3,1.6,.5,1), background .25s, color .25s; }
.card:hover .icon, .included-list li:hover .icon, .why-item:hover .icon { transform: scale(1.1) rotate(-4deg); }
.card:hover .icon:not(.icon-warn), .included-list li:hover .icon, .why-item:hover .icon { background: var(--accent); color: #fff; }

/* Primary button shine */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
	content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
	transition: left .6s ease;
}
.btn-primary:hover::after { left: 140%; }

/* Step numbers grow on hover */
.steps li::before { transition: transform .3s, background .3s; }
.steps li:hover::before { transform: scale(1.12); background: var(--accent); }

/* FAQ answers fade in when opened */
@keyframes wxn-fade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq details[open] .answer { animation: wxn-fade .35s ease; }
.faq summary::after { transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.faq details:hover { border-color: #cfe7e3; }
.faq details[open] { box-shadow: var(--shadow); }

/* Mobile menu slides down */
@keyframes wxn-slide { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 880px) { .main-nav.is-open { animation: wxn-slide .25s ease; } }

/* Nav link underline */
@media (min-width: 881px) {
	.main-nav a { position: relative; }
	.main-nav a::after {
		content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
		background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s;
	}
	.main-nav a:hover::after { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.card:hover, .steps li:hover, .price-card:hover, .btn:hover { transform: none; }
	.js-anim .reveal { opacity: 1; translate: none; }
}
