/* =========================================================================
   BookedSolid SEO — main stylesheet
   Dark, bold, gradient-driven, mobile-first.
   ========================================================================= */

:root {
	--bg: #070b14;
	--bg-raise: #0c1322;
	--ink: #e8edf7;
	--ink-dim: #9aa7bd;
	--line: rgba(255, 255, 255, 0.08);
	/* Brand palette from the BookedSolidSEO logo: deep navy, vivid blue, orange. */
	--blue: #2563eb;
	--cyan: #60a5fa;
	--violet: #f97316; /* brand orange (legacy variable name) */
	--lime: #fbbf24;   /* warm gold for value highlights (legacy variable name) */
	--grad: linear-gradient(100deg, var(--cyan), var(--blue) 45%, var(--violet));
	--radius: 18px;
	--shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
	--container: 1160px;
	--header-h: 72px;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 12px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.65;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
	line-height: 1.15;
	margin: 0 0 0.5em;
	font-weight: 800;
	letter-spacing: -0.02em;
}

p { margin: 0 0 1em; }

.container {
	width: min(var(--container), 92vw);
	margin-inline: auto;
}
.container-narrow { width: min(820px, 92vw); }

.section { padding: clamp(64px, 10vw, 120px) 0; }

.center-text { text-align: center; }

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	width: 1px; height: 1px; overflow: hidden;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--blue);
	color: #fff;
	padding: 10px 16px;
	z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Gradient text ---------- */
.gradient-text {
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.2;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
	white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-lg { padding: 16px 30px; font-size: 18px; }
.btn-block { width: 100%; }

.btn-primary {
	background: var(--grad);
	color: #fff;
	box-shadow: 0 8px 30px rgba(59, 130, 246, 0.45);
}
.btn-primary:hover { box-shadow: 0 12px 40px rgba(168, 85, 247, 0.55); }

.btn-outline {
	border-color: rgba(255, 255, 255, 0.25);
	color: var(--ink);
	background: rgba(255, 255, 255, 0.03);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { color: var(--cyan); }

.btn-lime {
	background: var(--lime);
	color: #15230a;
	box-shadow: 0 8px 30px rgba(163, 230, 53, 0.35);
}
.btn-lime:hover { box-shadow: 0 12px 40px rgba(163, 230, 53, 0.5); }

/* ---------- Header ---------- */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	height: var(--header-h);
	z-index: 100;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	background: rgba(7, 11, 20, 0.6);
	border-bottom: 1px solid transparent;
	transition: background 0.25s ease, border-color 0.25s ease;
}
.site-header.scrolled {
	background: rgba(7, 11, 20, 0.88);
	border-bottom-color: var(--line);
}

.header-inner {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.brand-lockup {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}
.brand-lockup:hover { text-decoration: none; }
.brand-icon {
	height: 36px;
	width: auto;
	display: block;
}
.brand-icon-lg { height: 46px; }
@media (max-width: 640px) {
	.brand-icon { height: 30px; }
}

.brand-text {
	font-size: 22px;
	font-weight: 900;
	letter-spacing: -0.03em;
	color: var(--ink);
}
.brand-text:hover { text-decoration: none; }
.brand-accent {
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.brand-dim { color: var(--violet); font-weight: 900; } /* orange "SEO", matching the logo */

.custom-logo { max-height: 48px; width: auto; display: block; }

.site-nav { display: flex; align-items: center; gap: 28px; }

.nav-list {
	display: flex;
	gap: 26px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav-list a {
	color: var(--ink-dim);
	font-weight: 600;
	font-size: 15px;
}
.nav-list a:hover { color: var(--ink); text-decoration: none; }

.nav-ctas { display: flex; align-items: center; gap: 10px; }
.btn-phone { font-size: 15px; padding: 10px 14px; }

.nav-toggle {
	display: none;
	background: none;
	border: 0;
	padding: 10px;
	cursor: pointer;
}
.nav-toggle-bar {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--ink);
	margin: 5px 0;
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: 92vh;
	display: flex;
	align-items: center;
	padding: calc(var(--header-h) + 48px) 0 72px;
	overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(90px);
	opacity: 0.55;
	animation: drift 16s ease-in-out infinite alternate;
}
.orb-1 { width: 520px; height: 520px; background: #1d4ed8; top: -140px; left: -120px; }
.orb-2 { width: 460px; height: 460px; background: #7c3aed; bottom: -160px; right: -100px; animation-delay: -5s; }
.orb-3 { width: 300px; height: 300px; background: #0ea5e9; top: 30%; right: 18%; opacity: 0.35; animation-delay: -9s; }

@keyframes drift {
	from { transform: translate3d(0, 0, 0) scale(1); }
	to   { transform: translate3d(60px, 40px, 0) scale(1.15); }
}

.hero-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 75%);
}

.hero-inner { position: relative; text-align: center; }

.eyebrow {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cyan);
	border: 1px solid rgba(56, 189, 248, 0.35);
	background: rgba(56, 189, 248, 0.08);
	border-radius: 999px;
	padding: 7px 16px;
	margin-bottom: 26px;
}

.hero-title {
	font-size: clamp(38px, 7vw, 76px);
	margin-bottom: 20px;
}

.hero-sub {
	font-size: clamp(17px, 2.2vw, 21px);
	color: var(--ink-dim);
	max-width: 680px;
	margin: 0 auto 34px;
}

.hero-ctas {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.hero-note { font-size: 14px; color: var(--ink-dim); }

/* ---------- Stats ---------- */
.stats {
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: var(--bg-raise);
	padding: 40px 0;
}
.stats-inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
	text-align: center;
}
.stat-num,
.stat-unit {
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 900;
	letter-spacing: -0.02em;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.stat p { color: var(--ink-dim); font-size: 14.5px; margin: 6px 0 0; }

/* ---------- Section headings ---------- */
.section-title {
	font-size: clamp(30px, 4.5vw, 48px);
	text-align: center;
	margin-bottom: 14px;
}
.section-sub {
	text-align: center;
	color: var(--ink-dim);
	max-width: 640px;
	margin: 0 auto 48px;
	font-size: 18px;
}

/* ---------- Glass cards ---------- */
.glass-card {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.glass-card:hover {
	transform: translateY(-5px);
	border-color: rgba(56, 189, 248, 0.35);
	box-shadow: var(--shadow);
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.card-icon { font-size: 30px; margin-bottom: 14px; }
.card-grid h3 { font-size: 20px; }
.card-grid p { color: var(--ink-dim); font-size: 15.5px; margin: 0; }

/* ---------- Pricing ---------- */
.pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	align-items: stretch;
	margin-bottom: 26px;
}

.price-card { display: flex; flex-direction: column; position: relative; }

.price-flag {
	position: absolute;
	top: -14px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--grad);
	color: #fff;
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 6px 16px;
	border-radius: 999px;
	white-space: nowrap;
}
.price-flag-lime {
	position: static;
	transform: none;
	display: inline-block;
	background: var(--lime);
	color: #15230a;
	margin-bottom: 12px;
}

.price-popular {
	border-color: rgba(168, 85, 247, 0.5);
	box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.35), 0 24px 60px rgba(124, 58, 237, 0.25);
}

.price-name { font-size: 20px; margin-bottom: 4px; }
.price-amount {
	font-size: 44px;
	font-weight: 900;
	letter-spacing: -0.03em;
	margin-bottom: 6px;
}
.price-term { font-size: 15px; font-weight: 600; color: var(--ink-dim); }
.price-for { color: var(--ink-dim); font-size: 15px; min-height: 44px; }

.price-list {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	flex: 1;
}
.price-list li {
	padding: 8px 0 8px 28px;
	position: relative;
	font-size: 15.5px;
	border-bottom: 1px dashed var(--line);
}
.price-list li:last-child { border-bottom: 0; }
.price-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--lime);
	font-weight: 800;
}

/* $0 down banner */
.zero-down {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding: 34px;
	margin-bottom: 48px;
	border-color: rgba(163, 230, 53, 0.35);
	background:
		radial-gradient(600px 200px at 10% 0%, rgba(163, 230, 53, 0.08), transparent),
		rgba(255, 255, 255, 0.04);
}
.zero-down h3 { font-size: clamp(22px, 3vw, 30px); }
.zero-down p { color: var(--ink-dim); margin: 0; max-width: 640px; }

/* Care plans */
.care-title { text-align: center; font-size: 22px; margin-bottom: 20px; }
.care-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.care-card {
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 20px;
	background: rgba(255, 255, 255, 0.025);
}
.care-card h4 {
	display: flex;
	justify-content: space-between;
	font-size: 17px;
	margin-bottom: 8px;
}
.care-card h4 span { color: var(--cyan); }
.care-card p { color: var(--ink-dim); font-size: 14.5px; margin: 0; }
.care-note {
	text-align: center;
	color: var(--ink-dim);
	font-size: 14px;
	margin-top: 22px;
}

/* ---------- Process ---------- */
.process-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	counter-reset: step;
}
.process-step { text-align: left; }
.step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--grad);
	color: #fff;
	font-weight: 900;
	font-size: 20px;
	margin-bottom: 16px;
}
.process-step h3 { font-size: 20px; }
.process-step p { color: var(--ink-dim); font-size: 15.5px; margin: 0; }

/* ---------- FAQ ---------- */
.faq-item {
	border: 1px solid var(--line);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.03);
	margin-bottom: 12px;
	overflow: hidden;
}
.faq-item summary {
	cursor: pointer;
	list-style: none;
	padding: 18px 48px 18px 22px;
	font-weight: 700;
	font-size: 16.5px;
	position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: "+";
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 22px;
	font-weight: 400;
	color: var(--cyan);
	transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p {
	padding: 0 22px 18px;
	margin: 0;
	color: var(--ink-dim);
}

/* ---------- Contact ---------- */
.contact {
	background:
		radial-gradient(800px 400px at 85% 20%, rgba(124, 58, 237, 0.12), transparent),
		radial-gradient(700px 400px at 10% 90%, rgba(14, 165, 233, 0.1), transparent);
}
.contact-inner {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 48px;
	align-items: center;
}
.contact-copy .section-title { text-align: left; }
.contact-copy p { color: var(--ink-dim); font-size: 18px; margin-bottom: 26px; }

.contact-form p { margin: 0 0 16px; }
.contact-form label {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ink-dim);
	margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
	width: 100%;
	background: rgba(7, 11, 20, 0.6);
	border: 1px solid var(--line);
	border-radius: 10px;
	color: var(--ink);
	padding: 12px 14px;
	font-size: 16px;
	font-family: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--cyan);
	box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.hp-field { position: absolute !important; left: -9999px !important; }

.form-msg {
	border-radius: 10px;
	padding: 14px 16px;
	margin-bottom: 18px;
	font-weight: 600;
}
.form-msg-ok { background: rgba(251, 191, 36, 0.12); border: 1px solid rgba(251, 191, 36, 0.4); color: var(--lime); }
.form-msg-err { background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.4); color: #fca5a5; }

/* ---------- Blog / generic entries ---------- */
.page-top-pad { padding-top: var(--header-h); }
.entry { margin-bottom: 26px; }
.entry-title { font-size: clamp(26px, 4vw, 40px); }
.entry-title a { color: var(--ink); }
.entry-meta { color: var(--ink-dim); font-size: 14px; }
.entry-content a { text-decoration: underline; }
.entry-thumb img { border-radius: 12px; margin-bottom: 18px; }
.read-more { font-weight: 700; }

.navigation { margin: 30px 0; }
.navigation a { color: var(--cyan); }

/* ---------- Footer ---------- */
.site-footer {
	border-top: 1px solid var(--line);
	background: var(--bg-raise);
	padding: 56px 0 24px;
}
.footer-inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 36px;
	margin-bottom: 30px;
}
.footer-tag { color: var(--ink-dim); margin-top: 10px; font-size: 15px; }
.footer-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}
.footer-list a,
.footer-contact a {
	color: var(--ink-dim);
	display: block;
}
.footer-list a:hover,
.footer-contact a:hover { color: var(--cyan); text-decoration: none; }
.footer-contact a { margin-bottom: 8px; font-weight: 600; }
.footer-area { color: var(--ink-dim); font-size: 14px; }
.footer-legal {
	border-top: 1px solid var(--line);
	padding-top: 20px;
	color: var(--ink-dim);
	font-size: 13.5px;
	text-align: center;
}

/* ---------- Reveal animations ---------- */
.reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
	.orb { animation: none; }
	.btn, .glass-card { transition: none; }
}

/* =========================================================================
   Responsive
   ========================================================================= */

@media (max-width: 1020px) {
	.card-grid { grid-template-columns: repeat(2, 1fr); }
	.pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
	.price-card { margin-top: 10px; }
	.process-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
	.contact-inner { grid-template-columns: 1fr; gap: 32px; }
	.contact-copy .section-title { text-align: center; }
	.contact-copy { text-align: center; }
	.stats-inner { grid-template-columns: repeat(2, 1fr); }
	.footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
	.nav-toggle { display: block; }

	.site-nav {
		position: fixed;
		top: var(--header-h);
		left: 0;
		right: 0;
		background: rgba(7, 11, 20, 0.97);
		border-bottom: 1px solid var(--line);
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		padding: 18px 6vw 24px;
		display: none;
	}
	.site-nav.open { display: flex; }

	.nav-list { flex-direction: column; gap: 4px; }
	.nav-list a { display: block; padding: 10px 0; font-size: 17px; }
	.nav-ctas { flex-direction: column; align-items: stretch; }
	.nav-ctas .btn { width: 100%; }

	.card-grid { grid-template-columns: 1fr; }
	.care-grid { grid-template-columns: 1fr; }
	.zero-down { flex-direction: column; text-align: center; }
	.footer-inner { grid-template-columns: 1fr; text-align: center; }
	.hero { min-height: 0; }
}
