/* SEO Services page — uses Blocksy palette variables (Customizer → Colors) with fallbacks. */

.neps-seo {
	--nseo-primary: var(--theme-palette-color-1, #2563eb);
	--nseo-primary-hover: var(--theme-palette-color-2, #1d4ed8);
	--nseo-text: var(--theme-palette-color-3, #3a4252);
	--nseo-heading: var(--theme-palette-color-4, #111827);
	--nseo-border: var(--theme-palette-color-5, #e2e8f0);
	--nseo-alt-bg: var(--theme-palette-color-7, #f6f8fb);
	--nseo-card-bg: var(--theme-palette-color-8, #ffffff);
	--nseo-radius: 14px;
	color: var(--nseo-text);
	overflow-x: clip;
}

.nseo-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.nseo-wrap--narrow { max-width: 820px; }
.nseo-section { padding: 88px 0; }
.nseo-section--alt { background: var(--nseo-alt-bg); }
.nseo-center { text-align: center; margin-top: 32px; }

/* Type */
.nseo-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; color: var(--nseo-primary); margin: 0 0 16px; }
.nseo-h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.08; color: var(--nseo-heading); margin: 0 0 20px; letter-spacing: -.02em; }
.nseo-h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.2; color: var(--nseo-heading); margin: 0 0 16px; letter-spacing: -.01em; }
.nseo-h3 { font-size: 1.15rem; line-height: 1.35; color: var(--nseo-heading); margin: 0 0 8px; }
.nseo-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; max-width: 720px; margin: 0 auto 32px; }
.nseo-body { font-size: 1.05rem; line-height: 1.7; max-width: 760px; margin: 0 0 36px; }
.nseo-micro { font-size: .9rem; opacity: .8; margin: 16px 0 0; }
.nseo-note { font-size: .95rem; text-align: center; margin: 28px auto 0; max-width: 760px; opacity: .85; }
.nseo-link { font-weight: 600; color: var(--nseo-primary); text-decoration: none; }
.nseo-link:hover { text-decoration: underline; }

/* Buttons */
.nseo-btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border-radius: 10px; font-weight: 600; font-size: 1rem; text-decoration: none; transition: background .2s, color .2s, transform .2s, box-shadow .2s; border: 2px solid transparent; }
.nseo-btn--primary { background: var(--nseo-primary); color: #fff; }
.nseo-btn--primary:hover { background: var(--nseo-primary-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.nseo-btn--ghost { border-color: var(--nseo-border); color: var(--nseo-heading); background: var(--nseo-card-bg); }
.nseo-btn--ghost:hover { border-color: var(--nseo-primary); color: var(--nseo-primary); }
.nseo-btn--lg { padding: 18px 34px; font-size: 1.1rem; }
.nseo-btn:focus-visible { outline: 3px solid var(--nseo-primary); outline-offset: 3px; }

/* Hero */
.nseo-hero { text-align: center; padding: 104px 0 0; background: radial-gradient(1200px 500px at 50% -10%, color-mix(in srgb, var(--nseo-primary) 12%, transparent), transparent 70%); }
.nseo-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.nseo-trust { list-style: none; margin: 72px 0 0; padding: 22px 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; border-top: 1px solid var(--nseo-border); border-bottom: 1px solid var(--nseo-border); font-size: .92rem; font-weight: 600; color: var(--nseo-heading); }
.nseo-trust li { position: relative; }
.nseo-trust li + li::before { content: "·"; position: absolute; left: -17px; opacity: .5; }

/* Grids & cards */
.nseo-grid { display: grid; gap: 22px; }
.nseo-grid--3 { grid-template-columns: repeat(3, 1fr); }
.nseo-grid--2 { grid-template-columns: repeat(2, 1fr); }
.nseo-card { background: var(--nseo-card-bg); border: 1px solid var(--nseo-border); border-radius: var(--nseo-radius); padding: 28px; margin: 0; }
.nseo-card p { margin: 0 0 8px; line-height: 1.6; }
.nseo-card p:last-child { margin-bottom: 0; }
.nseo-card--pain { border-left: 4px solid #e5484d; }
.nseo-card--yes { border-top: 4px solid #30a46c; }
.nseo-card--no { border-top: 4px solid #e5484d; }
.nseo-num { display: inline-block; font-weight: 800; font-size: .85rem; color: var(--nseo-primary); background: color-mix(in srgb, var(--nseo-primary) 10%, transparent); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.nseo-result { font-weight: 700; color: var(--nseo-primary); }

/* Packages */
.nseo-packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.nseo-pkg { position: relative; background: var(--nseo-card-bg); border: 1px solid var(--nseo-border); border-radius: var(--nseo-radius); padding: 30px 28px; display: flex; flex-direction: column; }
.nseo-pkg.is-featured { border: 2px solid var(--nseo-primary); box-shadow: 0 18px 40px color-mix(in srgb, var(--nseo-primary) 14%, transparent); }
.nseo-badge { position: absolute; top: -12px; left: 24px; background: var(--nseo-primary); color: #fff; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 4px 12px; border-radius: 999px; }
.nseo-pkg__for { font-size: .92rem; opacity: .85; margin: 0 0 18px; }
.nseo-pkg__price { font-size: 1.6rem; font-weight: 800; color: var(--nseo-heading); margin: 0; }
.nseo-pkg__time { font-size: .9rem; margin: 2px 0 18px; opacity: .8; }

/* Lists */
.nseo-check, .nseo-cross { list-style: none; margin: 0; padding: 0; }
.nseo-check li, .nseo-cross li { position: relative; padding-left: 28px; margin: 0 0 10px; line-height: 1.55; }
.nseo-check li::before { content: "✓"; position: absolute; left: 0; color: #30a46c; font-weight: 800; }
.nseo-cross li::before { content: "✕"; position: absolute; left: 0; color: #e5484d; font-weight: 800; }

/* Process */
.nseo-steps { list-style: none; counter-reset: step; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.nseo-steps li { counter-increment: step; background: var(--nseo-card-bg); border: 1px solid var(--nseo-border); border-radius: var(--nseo-radius); padding: 56px 20px 22px; position: relative; line-height: 1.55; font-size: .97rem; }
.nseo-steps li::before { content: counter(step); position: absolute; top: 18px; left: 20px; width: 28px; height: 28px; border-radius: 50%; background: var(--nseo-primary); color: #fff; font-weight: 700; font-size: .9rem; display: grid; place-items: center; }
.nseo-steps strong { display: block; color: var(--nseo-heading); margin-bottom: 4px; }

/* Testimonials */
.nseo-testimonials { margin-top: 22px; }
.nseo-testimonials blockquote { margin: 0 0 18px; font-size: 1.05rem; line-height: 1.6; border: 0; padding: 0; }
.nseo-testimonials figcaption { display: flex; gap: 12px; align-items: center; font-size: .92rem; }
.nseo-testimonials img { border-radius: 50%; object-fit: cover; }

/* About */
.nseo-about.has-photo { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: center; }
.nseo-about__photo { border-radius: 50%; width: 200px; height: 200px; object-fit: cover; }

/* FAQ */
.nseo-faq details { background: var(--nseo-card-bg); border: 1px solid var(--nseo-border); border-radius: 12px; margin: 0 0 12px; padding: 0 22px; }
.nseo-faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; font-weight: 700; color: var(--nseo-heading); position: relative; }
.nseo-faq summary::-webkit-details-marker { display: none; }
.nseo-faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--nseo-primary); }
.nseo-faq details[open] summary::after { content: "–"; }
.nseo-faq details p { margin: 0 0 20px; line-height: 1.65; }

/* Final CTA */
.nseo-cta { text-align: center; padding: 96px 0; background: var(--nseo-heading); color: #fff; }
.nseo-cta .nseo-h2 { color: #fff; }
.nseo-cta .nseo-body { margin: 0 auto 32px; color: rgba(255,255,255,.85); }
.nseo-cta .nseo-micro { color: rgba(255,255,255,.75); }

/* Sticky mobile CTA */
.nseo-sticky { display: none; }

/* Responsive */
@media (max-width: 1024px) {
	.nseo-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
	.nseo-section { padding: 64px 0; }
	.nseo-hero { padding-top: 72px; }
	.nseo-grid--3, .nseo-grid--2 { grid-template-columns: 1fr; }
	.nseo-steps { grid-template-columns: 1fr; }
	.nseo-about.has-photo { grid-template-columns: 1fr; text-align: center; gap: 24px; }
	.nseo-about__photo { margin: 0 auto; }
	.nseo-trust li + li::before { display: none; }
	.nseo-actions .nseo-btn { width: 100%; }

	.nseo-sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 99; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--nseo-card-bg); border-top: 1px solid var(--nseo-border); box-shadow: 0 -6px 20px rgba(0,0,0,.08); transform: translateY(110%); transition: transform .25s ease; }
	.nseo-sticky.is-visible { transform: translateY(0); }
	.nseo-sticky .nseo-btn { width: 100%; }
	.neps-seo { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) {
	.nseo-btn, .nseo-sticky { transition: none; }
}
