/* SEOH Hub — публични блокове. Системни шрифтове, наследяват Kadence. */

.seoh-hub-block {
	/* Зеленото на марката — същото като в плъгина и в хъба.
	   Тук стоеше синьото на WordPress и блоковете изглеждаха чужди. */
	--seoh-accent: #1d9e75;
	--seoh-accent-ink: #0f6e56;
	--seoh-ok: #16a34a;
	--seoh-ink: #1f2329;
	--seoh-muted: #646970;
	--seoh-line: #e2e4e7;
	font-family: inherit;
	color: var(--seoh-ink);
	margin: 2rem 0;
}

.seoh-ico {
	width: 1em;
	height: 1em;
	vertical-align: -0.125em;
	flex: 0 0 auto;
}

/* ---------- Feature page ---------- */
.seoh-feature__head {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}
.seoh-feature__title { margin: 0; }
.seoh-feature__desc { margin: 0.75rem 0 1.25rem; color: var(--seoh-muted); }

.seoh-status {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	font-size: 0.8rem;
	font-weight: 600;
	padding: 0.2em 0.7em;
	border-radius: 999px;
	border: 1px solid var(--seoh-line);
}
.seoh-status.is-live { color: var(--seoh-ok); border-color: var(--seoh-ok); }
.seoh-status.is-progress { color: var(--seoh-accent); border-color: var(--seoh-accent); }
.seoh-status.is-planned { color: var(--seoh-muted); }

.seoh-waitlist {
	border: 1px solid var(--seoh-line);
	border-radius: 12px;
	padding: 1.25rem;
	max-width: 520px;
	background: rgba(0,0,0,0.015);
}
.seoh-waitlist__lead { margin: 0 0 0.75rem; font-weight: 600; }
.seoh-waitlist__row { display: flex; gap: 0.5rem; }
.seoh-waitlist__row input { flex: 1 1 auto; }
.seoh-waitlist input[type="email"],
.seoh-waitlist textarea {
	width: 100%;
	padding: 0.6em 0.8em;
	border: 1px solid var(--seoh-line);
	border-radius: 8px;
	font: inherit;
	margin-top: 0.5rem;
}
.seoh-waitlist__row input { margin-top: 0; }
.seoh-waitlist button {
	background: var(--seoh-accent);
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: 0.6em 1.1em;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}
.seoh-waitlist button:disabled { opacity: 0.6; cursor: default; }
.seoh-waitlist__consent {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 0.85rem;
	color: var(--seoh-muted);
	margin-top: 0.75rem;
}
.seoh-waitlist__msg { margin: 0.75rem 0 0; font-size: 0.9rem; min-height: 1.2em; }
.seoh-waitlist__msg.is-ok { color: var(--seoh-ok); }
.seoh-waitlist__msg.is-err { color: #d63638; }

/* ---------- Pricing ---------- */
.seoh-pricing__toggle {
	display: inline-flex;
	border: 1px solid var(--seoh-line);
	border-radius: 999px;
	padding: 3px;
	margin: 0 auto 1.5rem;
	gap: 2px;
}
.seoh-pricing { text-align: center; }
.seoh-pricing__toggle button {
	border: 0;
	background: transparent;
	padding: 0.45em 1.1em;
	border-radius: 999px;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	color: var(--seoh-muted);
}
.seoh-pricing__toggle button.is-active { background: var(--seoh-accent); color: #fff; }
/* Темата на сайта оцветява всички бутони — затова по-силно правило,
   иначе неизбраният изглежда като избран. */
.seoh-pricing .seoh-pricing__toggle button { background: transparent; color: var(--seoh-muted); }
.seoh-pricing .seoh-pricing__toggle button.is-active { background: var(--seoh-accent); color: #fff; }

/* Бутон „Избери" по всеки план. */
.seoh-plan__cta {
	display: block;
	margin-top: auto;
	padding: 0.7em 1.2em;
	border-radius: 999px;
	background: var(--seoh-accent);
	color: #fff;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
}
.seoh-plan__cta:hover,
.seoh-plan__cta:focus { background: var(--seoh-accent-ink); color: #fff; text-decoration: none; }
.seoh-plan__perks { margin-bottom: 1.25rem; }

.seoh-pricing__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem;
	text-align: left;
}
.seoh-plan {
	position: relative;
	border: 1px solid var(--seoh-line);
	border-radius: 14px;
	padding: 1.5rem 1.25rem;
	display: flex;
	flex-direction: column;
}
.seoh-plan.is-highlight {
	border-color: var(--seoh-accent);
	/* Сянката беше в синьото на WordPress и личеше под зелената рамка. */
	box-shadow: 0 8px 30px rgba(29,158,117,0.16);
}
.seoh-plan__badge {
	position: absolute;
	top: -0.7rem;
	left: 1.25rem;
	background: var(--seoh-accent);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	padding: 0.2em 0.7em;
	border-radius: 999px;
}
.seoh-plan__name { margin: 0 0 0.25rem; }
.seoh-plan__sites { margin: 0 0 1rem; color: var(--seoh-muted); font-size: 0.9rem; }
.seoh-plan__price { display: flex; align-items: baseline; gap: 0.2rem; }
.seoh-plan__amount { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.seoh-plan__per { color: var(--seoh-muted); font-weight: 600; }
.seoh-plan__note { margin: 0.35rem 0 1rem; font-size: 0.8rem; color: var(--seoh-muted); }
.seoh-plan__perks { list-style: none; margin: 0; padding: 0; }
.seoh-plan__perks li {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin: 0.5rem 0;
	font-size: 0.92rem;
}
.seoh-plan__perks .seoh-ico { color: var(--seoh-ok); margin-top: 0.15em; }
.seoh-pricing__foot { margin-top: 1.5rem; font-size: 0.85rem; color: var(--seoh-muted); text-align: center; }

/* ---------- Changelog ---------- */
.seoh-changelog__list { list-style: none; margin: 0; padding: 0; }
.seoh-changelog__item {
	border-left: 2px solid var(--seoh-line);
	padding: 0 0 1.25rem 1.25rem;
	position: relative;
}
.seoh-changelog__item::before {
	content: "";
	position: absolute;
	left: -5px; top: 0.35em;
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--seoh-accent);
}
.seoh-changelog__head { display: flex; align-items: baseline; gap: 0.75rem; }
.seoh-changelog__ver { font-weight: 700; font-size: 1.05rem; }
.seoh-changelog__date { color: var(--seoh-muted); font-size: 0.85rem; }
.seoh-changelog__body { color: var(--seoh-muted); margin-top: 0.25rem; }
.seoh-changelog__body p { margin: 0.25rem 0; }

/* --- Цени: два плана и жива сметка за агенцията --- */

.seoh-pricing__grid--two {
	grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
	justify-content: center;
}

.seoh-plan.is-tiered .seoh-plan__price--live { min-height: 2.4rem; }

.seoh-plan__slots { margin: 0.6rem 0 0.2rem; }
.seoh-plan__slots label {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font-size: 0.85rem;
	color: var(--seoh-muted);
	margin-bottom: 0.35rem;
}
.seoh-plan__slots label strong { font-size: 1rem; color: inherit; }
.seoh-plan__slots input[type="range"] { width: 100%; accent-color: var(--seoh-accent, #1d9e75); }

.seoh-plan__breakdown {
	margin: 0.35rem 0 0;
	font-size: 0.78rem;
	color: var(--seoh-muted);
	min-height: 1.1em;
}

.seoh-plan__steps {
	list-style: none;
	margin: 0.8rem 0 1rem;
	padding: 0.7rem 0 0;
	border-top: 1px solid var(--seoh-line, #e2e4e7);
	font-size: 0.82rem;
}
.seoh-plan__steps li {
	display: flex;
	justify-content: space-between;
	padding: 0.2rem 0;
	color: var(--seoh-muted);
}
.seoh-plan__steps li strong { color: inherit; }

/* Превключвателят месечно и годишно не важи за агенционния план. */
.seoh-pricing[data-billing="annual"] .seoh-plan.is-tiered { opacity: 1; }

/* Три карти — третата е добавка за вече клиенти. */
.seoh-pricing__grid--three {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	max-width: 1120px;
	margin-left: auto;
	margin-right: auto;
}
.seoh-plan.is-addon { background: #f6faf8; border-style: dashed; }

/* Темата на сайта оцветява бутоните в своето синьо и печели по тежест.
   Затова тези правила са по-тежки от нейните — инак избраният период
   остава син, а марката ни е зелена. */
.seoh-hub-block.seoh-pricing .seoh-pricing__toggle button.is-active,
.seoh-hub-block.seoh-pricing .seoh-pricing__toggle button.is-active:hover,
.seoh-hub-block.seoh-pricing .seoh-pricing__toggle button.is-active:focus {
	background: var(--seoh-accent);
	border-color: var(--seoh-accent);
	color: #fff;
	box-shadow: none;
}
.seoh-hub-block.seoh-pricing .seoh-pricing__toggle button {
	background: transparent;
	border: 0;
	color: var(--seoh-muted);
	box-shadow: none;
}
.seoh-hub-block .seoh-plan__badge,
.seoh-hub-block .seoh-plan__cta {
	background: var(--seoh-accent);
	border-color: var(--seoh-accent);
	color: #fff;
}
.seoh-hub-block .seoh-plan__cta:hover,
.seoh-hub-block .seoh-plan__cta:focus {
	background: var(--seoh-accent-ink);
	border-color: var(--seoh-accent-ink);
}
.seoh-hub-block .seoh-plan__cta.is-soon {
	background: #f1f3f4;
	border-color: #f1f3f4;
	color: var(--seoh-muted);
}

/* Карта без продукт: бутонът не изчезва, а казва че предстои. */
.seoh-plan__cta.is-soon {
	background: #f1f3f4;
	color: var(--seoh-muted);
	cursor: default;
	pointer-events: none;
}
.seoh-plan__missing {
	margin: 0.5rem 0 0;
	font-size: 0.78rem;
	color: #b45309;
	line-height: 1.4;
}

/* --- Цени: разделите „За един сайт" и „За агенции" --- */
.seoh-pricing__groups {
	display: inline-flex;
	gap: 4px;
	margin: 0 auto 0.9rem;
	padding: 4px;
	border-radius: 999px;
	background: #e7f5f0;
}
.seoh-hub-block.seoh-pricing .seoh-pricing__groups button {
	border: 0;
	border-radius: 999px;
	padding: 0.55rem 1.3rem;
	background: transparent;
	color: #0f6e56;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.seoh-hub-block.seoh-pricing .seoh-pricing__groups button.is-active {
	background: #0f6e56;
	color: #fff;
}
.seoh-pricing[data-group="site"] .seoh-plan[data-group="agency"],
.seoh-pricing[data-group="agency"] .seoh-plan[data-group="site"] { display: none; }
.seoh-pricing__toggle { display: flex; width: max-content; margin-left: auto; margin-right: auto; }
.seoh-pricing__groups { display: flex; width: max-content; }
.seoh-plan.is-free { background: #fff; }
.seoh-plan__cta--free { background: #fff; color: var(--seoh-accent-ink, #0f6e56); border: 2px solid var(--seoh-accent, #1d9e75); }
.seoh-plan__cta--free:hover, .seoh-plan__cta--free:focus { background: #e7f5f0; color: #0f6e56; }
.seoh-plan__more { margin: 0.8rem 0 0; font-size: 0.85rem; text-align: center; }
.seoh-plan__more a { color: var(--seoh-accent-ink, #0f6e56); font-weight: 600; text-decoration: none; }
.seoh-plan__more a:hover { text-decoration: underline; }

/* По-широки карти в разделите на цените. */
.seoh-hub-block.seoh-pricing .seoh-pricing__grid--two {
	grid-template-columns: repeat(auto-fit, minmax(300px, 520px));
	max-width: 1080px;
	margin-left: auto;
	margin-right: auto;
}
