/* ============================================
   Yell — страница тарифов
   Токены из yell-brand.css
   ============================================ */

.yl-tarife-page .page-heading,
.yl-tarife-page .page-header-overlay { display: none !important; }

.yl-tp {
	background: var(--yell-bg, #FBF9F5);
	font-family: 'Golos Text', system-ui, sans-serif;
	color: var(--yell-ink, #15171B);
	padding: 0 0 64px;
}
.yl-tp-wrap {
	max-width: 1260px;
	margin: 0 auto;
	padding: 0 24px;
}
.yl-tp-sr {
	position: absolute; width: 1px; height: 1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---- крошки ---- */

.yl-tp-crumbs {
	padding: 20px 0 0;
	font-size: 13px;
	color: var(--yell-muted, #8A857A);
	display: flex;
	align-items: center;
	gap: 8px;
}
.yl-tp-crumbs a { color: var(--yell-muted, #8A857A); text-decoration: none; }
.yl-tp-crumbs a:hover { color: var(--yell-deep, #0E5C52); }

/* ---- герой ----
   header в теме получает z-index из main.css и всплывает над липкой шапкой */

.yl-tp-hero {
	position: static !important;
	z-index: auto !important;
	padding: 18px 0 28px;
}
.yl-tp-hero h1 {
	margin: 0 0 12px;
	font-size: 42px;
	line-height: 1.08;
	font-weight: 800;
	letter-spacing: -.025em;
	color: var(--yell-ink, #15171B);
}
.yl-tp-lede {
	margin: 0;
	max-width: 64ch;
	font-size: 17px;
	line-height: 27px;
	color: var(--yell-ink-soft, #5E5A53);
}
.yl-tp-facts {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.yl-tp-facts li {
	display: flex;
	align-items: baseline;
	gap: 7px;
	background: var(--yell-surface, #fff);
	border: 1px solid var(--yell-border, #E7E2D8);
	border-radius: 999px;
	padding: 8px 16px;
	font-size: 13.5px;
	color: var(--yell-ink-soft, #5E5A53);
}
.yl-tp-facts b {
	font-size: 16px;
	font-weight: 700;
	color: var(--yell-ink, #15171B);
	font-variant-numeric: tabular-nums;
}

/* ---- переключатель месяц / год ---- */

.yl-tp-toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 8px 0 24px;
	flex-wrap: wrap;
}
.yl-tp-tg {
	appearance: none;
	border: 1px solid var(--yell-border, #E7E2D8);
	background: var(--yell-surface, #fff);
	color: var(--yell-ink-soft, #5E5A53);
	font: 700 14px/1 'Golos Text', system-ui, sans-serif;
	padding: 11px 20px;
	border-radius: 999px;
	cursor: pointer;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.yl-tp-tg:hover { border-color: var(--yell-muted, #8A857A); }
.yl-tp-tg.is-on {
	background: var(--yell-ink, #15171B);
	border-color: var(--yell-ink, #15171B);
	color: #fff;
}
.yl-tp-tg-note {
	margin-left: 8px;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--yell-deep, #0E5C52);
}

/* ---- карточки тарифов ---- */

.yl-tp-plans {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	align-items: stretch;
}
.yl-tp-plan {
	position: relative;
	background: var(--yell-surface, #fff);
	border: 1px solid var(--yell-border, #E7E2D8);
	border-radius: var(--yell-radius, 14px);
	padding: 24px 22px;
	display: flex;
	flex-direction: column;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.yl-tp-plan:hover {
	border-color: var(--yell-muted, #8A857A);
	box-shadow: var(--yell-shadow, 0 10px 30px -18px rgba(21,23,27,.35));
}
.yl-tp-plan.is-hot { border-color: var(--yell-accent, #FFC220); border-width: 2px; padding: 23px 21px; }
.yl-tp-badge {
	position: absolute;
	top: -11px;
	left: 21px;
	background: var(--yell-accent, #FFC220);
	color: var(--yell-ink, #15171B);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 999px;
}
.yl-tp-plan-n {
	margin: 0 0 6px;
	font-size: 20px;
	line-height: 1.2;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--yell-ink, #15171B);
}
.yl-tp-plan-note {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 21px;
	color: var(--yell-ink-soft, #5E5A53);
	min-height: 42px;
}
.yl-tp-price {
	margin: 0 0 20px;
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 6px;
}
.yl-tp-num {
	font-size: 38px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.03em;
	font-variant-numeric: tabular-nums;
	color: var(--yell-ink, #15171B);
}
.yl-tp-price.is-free .yl-tp-num { font-size: 28px; color: var(--yell-deep, #0E5C52); }
.yl-tp-cur { font-size: 16px; font-weight: 700; color: var(--yell-ink, #15171B); }
.yl-tp-per {
	flex-basis: 100%;
	font-size: 13px;
	color: var(--yell-muted, #8A857A);
}
.yl-tp-btn {
	align-self: stretch;
	margin-top: auto;
	text-align: center;
	background: var(--yell-accent, #FFC220);
	color: var(--yell-ink, #15171B) !important;
	border: 1px solid var(--yell-accent, #FFC220);
	border-radius: var(--yell-radius-sm, 10px);
	padding: 12px 18px;
	font-size: 14.5px;
	font-weight: 700;
	text-decoration: none !important;
	transition: background .15s ease, border-color .15s ease;
}
.yl-tp-btn:hover { background: var(--yell-accent-hover, #F0B008); border-color: var(--yell-accent-hover, #F0B008); }
.yl-tp-btn.is-ghost {
	background: var(--yell-surface, #fff);
	border-color: var(--yell-border, #E7E2D8);
	color: var(--yell-ink, #15171B) !important;
}
.yl-tp-btn.is-ghost:hover { background: var(--yell-bg-soft, #F3EFE7); border-color: var(--yell-muted, #8A857A); }

/* ---- заголовки секций ---- */

.yl-tp-h2 {
	margin: 0 0 18px;
	font-size: 26px;
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -.025em;
	color: var(--yell-ink, #15171B);
}

/* ---- таблица сравнения ---- */

.yl-tp-table-sec { margin-top: 56px; }
.yl-tp-table-scroll {
	overflow-x: auto;
	background: var(--yell-surface, #fff);
	border: 1px solid var(--yell-border, #E7E2D8);
	border-radius: var(--yell-radius, 14px);
}
.yl-tp-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14.5px;
	min-width: 720px;
}
.yl-tp-table thead th {
	position: sticky;
	top: 0;
	background: var(--yell-surface, #fff);
	border-bottom: 1px solid var(--yell-border, #E7E2D8);
	padding: 16px 14px;
	text-align: center;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--yell-ink, #15171B);
	z-index: 2;
}
.yl-tp-table thead th:first-child { text-align: left; width: 38%; }
.yl-tp-grp th {
	background: var(--yell-bg-soft, #F3EFE7);
	padding: 10px 16px;
	text-align: left;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--yell-ink-soft, #5E5A53);
	border-bottom: 1px solid var(--yell-border, #E7E2D8);
}
.yl-tp-table tbody th[scope="row"] {
	padding: 13px 16px;
	text-align: left;
	font-weight: 400;
	color: var(--yell-ink-soft, #5E5A53);
	border-bottom: 1px solid var(--yell-border-soft, #F0EBE1);
}
.yl-tp-table td {
	padding: 13px 14px;
	text-align: center;
	border-bottom: 1px solid var(--yell-border-soft, #F0EBE1);
	color: var(--yell-ink, #15171B);
}
.yl-tp-table tbody:last-child tr:last-child th,
.yl-tp-table tbody:last-child tr:last-child td { border-bottom: 0; }
.yl-tp-yes { color: var(--yell-deep, #0E5C52); font-weight: 700; font-size: 16px; }
.yl-tp-no { color: var(--yell-muted, #8A857A); }
.yl-tp-val { font-size: 13.5px; font-weight: 700; }

/* ---- отдельные услуги ---- */

.yl-tp-addons { margin-top: 56px; }
.yl-tp-addon-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
.yl-tp-addon {
	background: var(--yell-surface, #fff);
	border: 1px solid var(--yell-border, #E7E2D8);
	border-radius: var(--yell-radius, 14px);
	padding: 22px;
}
.yl-tp-addon h3 {
	margin: 0 0 8px;
	font-size: 17px;
	line-height: 1.3;
	font-weight: 700;
	color: var(--yell-ink, #15171B);
}
.yl-tp-addon p {
	margin: 0;
	font-size: 14.5px;
	line-height: 23px;
	color: var(--yell-ink-soft, #5E5A53);
}
.yl-tp-addon-price {
	margin-top: 16px !important;
	display: flex;
	align-items: baseline;
	gap: 8px;
}
.yl-tp-addon-price b {
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -.02em;
	font-variant-numeric: tabular-nums;
	color: var(--yell-ink, #15171B);
}
.yl-tp-addon-price span { font-size: 13.5px; color: var(--yell-muted, #8A857A); }

/* ---- тёмная плашка партнёра категории ---- */

.yl-tp-vip {
	margin-top: 56px;
	background: var(--yell-ink, #15171B);
	border-radius: 20px;
	padding: 40px;
	max-width: 100%;
}
.yl-tp-vip h2 {
	margin: 0 0 12px;
	font-size: 27px;
	line-height: 1.12;
	font-weight: 800;
	letter-spacing: -.025em;
	color: var(--yell-accent, #FFC220);
	max-width: 22ch;
}
.yl-tp-vip p {
	margin: 0 0 24px;
	max-width: 68ch;
	font-size: 16px;
	line-height: 26px;
	color: rgba(251,249,245,.80);
}
.yl-tp-vip .yl-tp-btn { display: inline-block; align-self: flex-start; margin: 0; }

/* ---- FAQ ---- */

.yl-tp-faq { margin-top: 56px; }
.yl-tp-faq-list {
	background: var(--yell-surface, #fff);
	border: 1px solid var(--yell-border, #E7E2D8);
	border-radius: var(--yell-radius, 14px);
	overflow: hidden;
}
.yl-tp-faq details { border-bottom: 1px solid var(--yell-border-soft, #F0EBE1); }
.yl-tp-faq details:last-child { border-bottom: 0; }
.yl-tp-faq summary {
	list-style: none;
	cursor: pointer;
	padding: 18px 22px;
	font-size: 16px;
	font-weight: 700;
	color: var(--yell-ink, #15171B);
	position: relative;
	padding-right: 52px;
}
.yl-tp-faq summary::-webkit-details-marker { display: none; }
.yl-tp-faq summary::after {
	content: '+';
	position: absolute;
	right: 22px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 20px;
	font-weight: 400;
	color: var(--yell-muted, #8A857A);
}
.yl-tp-faq details[open] summary::after { content: '−'; }
.yl-tp-faq summary:hover { color: var(--yell-deep, #0E5C52); }
.yl-tp-a { padding: 0 22px 20px; }
.yl-tp-a p {
	margin: 0;
	max-width: 78ch;
	font-size: 15px;
	line-height: 25px;
	color: var(--yell-ink-soft, #5E5A53);
}

/* ---- финальный призыв ---- */

.yl-tp-cta {
	margin-top: 56px;
	background: var(--yell-surface, #fff);
	border: 1px solid var(--yell-border, #E7E2D8);
	border-radius: var(--yell-radius, 14px);
	padding: 36px;
}
.yl-tp-cta h2 {
	margin: 0 0 10px;
	font-size: 24px;
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -.025em;
	color: var(--yell-ink, #15171B);
}
.yl-tp-cta p {
	margin: 0 0 22px;
	max-width: 66ch;
	font-size: 15.5px;
	line-height: 25px;
	color: var(--yell-ink-soft, #5E5A53);
}
.yl-tp-cta .yl-tp-btn { display: inline-block; align-self: flex-start; margin: 0; }

.yl-tp-extra { margin-top: 48px; }

/* ---- адаптив ---- */

@media (max-width: 1080px) {
	.yl-tp-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 782px) {
	.yl-tp-wrap { padding: 0 16px; }
	.yl-tp-hero h1 { font-size: 32px; }
	.yl-tp-lede { font-size: 16px; line-height: 26px; }
	.yl-tp-h2 { font-size: 22px; }
	.yl-tp-vip { padding: 28px 22px; }
	.yl-tp-vip h2 { font-size: 22px; }
	.yl-tp-cta { padding: 26px 22px; }
	.yl-tp-addon-grid { grid-template-columns: minmax(0, 1fr); }
	.yl-tp-table thead th { position: static; }
}
@media (max-width: 560px) {
	.yl-tp-plans { grid-template-columns: minmax(0, 1fr); }
	.yl-tp-plan-note { min-height: 0; }
}

/* ---- способы оплаты ---- */
.yl-tp-pay{margin:18px 0 0;max-width:78ch;font-size:13.5px;line-height:21px;color:var(--yell-muted,#8A857A);}
