/*
Theme Name: ChatGPT Ru
Theme URI: https://chatgpt-ai.icu/
Description: Брендовая тема сайта ChatGPT Ru — возможности, модели, тарифы и доступ из России. Собрана под домен chatgpt-ai.icu.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: chatgpt-ru
*/

/* ============================================================
   1. Токены
   ============================================================ */
:root {
	--bg:            #ffffff;
	--tint:          #f7f7f8;
	--tint-2:        #ececf1;
	--border:        #e6e6e8;
	--border-strong: #d3d3d8;

	--ink:           #0d0d0d;
	--text:          #3c3c47;
	--muted:         #6e6e80;

	--accent:        #10a37f;
	--accent-2:      #19c37d;
	--accent-dark:   #0b7d61;
	--accent-soft:   #e8f6f1;
	--accent-ink:    #ffffff;

	--dark:          #0d0d0d;
	--dark-2:        #17171a;
	--dark-border:   #2a2a2f;
	--dark-text:     #c9c9d1;

	--amber:         #f0a83c;

	--radius:        14px;
	--radius-sm:     10px;
	--radius-lg:     22px;

	--shadow:        0 1px 2px rgba(13,13,13,.04), 0 8px 24px rgba(13,13,13,.06);
	--shadow-lg:     0 2px 4px rgba(13,13,13,.05), 0 18px 48px rgba(13,13,13,.40);

	--wrap:          1180px;
	--header-h:      68px;
}

/* ============================================================
   2. База
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
	color: var(--ink);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0 0 14px;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { font-size: 1.16rem; }
h4 { font-size: 1.02rem; }

p { margin: 0 0 16px; }

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

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

ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 8px; }

strong { color: var(--ink); font-weight: 600; }

.nowrap { white-space: nowrap; }
.section--dark a { color: var(--accent-2); }
.skip-link {
	position: absolute; left: -9999px; top: 0;
	background: var(--ink); color: #fff; padding: 10px 16px; z-index: 999;
}
.skip-link:focus { left: 8px; top: 8px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

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

/* ============================================================
   3. Кнопки
   ============================================================ */
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 11px 20px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: .95rem; font-weight: 600; line-height: 1;
	cursor: pointer;
	transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
	text-decoration: none;
	white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.section--dark a.btn {color: #fff;}
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--tint); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2b2b31; color: #fff; }

.btn--lg { padding: 14px 26px; font-size: 1rem; }

.btn svg { width: 17px; height: 17px; stroke: currentColor; }

/* ============================================================
   4. Хедер
   ============================================================ */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,.88);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: 0 1px 12px rgba(13,13,13,.05); }

.site-header__inner {
	display: flex; align-items: center; gap: 18px;
	min-height: var(--header-h);
}
.section--dark strong { color:#fff;
}
.site-logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site-logo:hover { text-decoration: none; }

.site-logo__mark {
	display: grid; place-items: center;
	width: 34px; height: 34px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
	color: #fff;
}
.site-logo__mark svg { width: 22px; height: 22px; }

.site-logo__text {
	font-size: 1.06rem; font-weight: 700; letter-spacing: -0.02em;
	color: var(--ink);
}
.site-logo__ru {
	margin-left: 5px; padding: 2px 6px;
	border-radius: 6px;
	background: var(--accent-soft);
	color: var(--accent-dark);
	font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
	vertical-align: middle;
}

.nav { display: flex; align-items: center; gap: 22px; margin-left: 12px; }
.nav a {
	color: var(--text); font-size: .92rem; font-weight: 500;
	padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--accent); text-decoration: none; }

.header-cta { margin-left: auto; }
.header-cta__short { display: none; }

.burger {
	display: none;
	width: 40px; height: 40px;
	padding: 0; border: 1px solid var(--border); border-radius: 10px;
	background: #fff; cursor: pointer;
	flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.burger span { display: block; width: 17px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
	display: none;
	flex-direction: column;
	padding: 8px 20px 20px;
	border-top: 1px solid var(--border);
	background: #fff;
	max-height: calc(100vh - var(--header-h));
	overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
	padding: 12px 0;
	border-bottom: 1px solid var(--border);
	color: var(--ink); font-weight: 500; font-size: .98rem;
}
.mobile-nav a:last-child { border-bottom: 0; }

/* ============================================================
   5. Hero
   ============================================================ */
.hero {
	padding: 68px 0 72px;
	background:
		radial-gradient(900px 420px at 78% -8%, rgba(25,195,125,.13), transparent 62%),
		radial-gradient(700px 380px at 8% 4%, rgba(16,163,127,.09), transparent 60%);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.hero__eyebrow {
	margin: 0 0 14px;
	color: var(--accent-dark);
	font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}

.hero__title { margin-bottom: 18px; }

.hero__lead { font-size: 1.1rem; color: var(--text); margin-bottom: 26px; max-width: 40em; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }

.hero__facts {
	display: flex; flex-wrap: wrap; gap: 34px;
	list-style: none; margin: 0; padding: 24px 0 0;
	border-top: 1px solid var(--border);
}
.hero__facts li { margin: 0; }
.hero__facts-value { display: block; font-size: 1.6rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.hero__facts-label { display: block; font-size: .86rem; color: var(--muted); }

/* Стилизованное окно диалога (не скриншот) */
.hero__panel { display: flex; justify-content: center; }
.hero__frame {
	width: 100%;
    max-width: 430px;
    padding: 15px;
    border: 1.5px solid transparent;
    background: linear-gradient(#cbcbcb, var(--bg)) padding-box, linear-gradient(135deg, #ffffff, #797979) border-box;
    box-shadow: var(--shadow-lg);}
.hero__video {
	display: block;
	width: 100%;
	border-radius: var(--radius);
	object-fit: cover;
}
.chatui {
	width: 100%; max-width: 430px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	overflow: hidden;
}
.chatui__bar {
	display: flex; align-items: center; gap: 6px;
	padding: 13px 16px;
	background: var(--tint);
	border-bottom: 1px solid var(--border);
}
.chatui__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.chatui__model {
	margin-left: auto;
	padding: 3px 9px; border-radius: 999px;
	background: var(--accent-soft); color: var(--accent-dark);
	font-size: .72rem; font-weight: 700;
}
.chatui__body { display: flex; flex-direction: column; gap: 12px; padding: 18px 16px 22px; }
.chatui__msg { max-width: 86%; padding: 12px 14px; border-radius: 16px; font-size: .88rem; line-height: 1.5; }
.chatui__msg--user { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 5px; }
.chatui__msg--bot { align-self: flex-start; background: var(--tint); border-bottom-left-radius: 5px; }
.chatui__line { display: block; height: 8px; border-radius: 5px; background: var(--border-strong); margin-bottom: 8px; }
.chatui__chip {
	display: inline-flex; align-items: center;
	margin-top: 4px; padding: 4px 10px;
	border-radius: 8px; background: #fff; border: 1px solid var(--border);
	font-size: .74rem; color: var(--muted);
}
.chatui__msg--typing { display: flex; gap: 5px; padding: 15px 16px; }
.chatui__msg--typing span {
	width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
	animation: cgr-blink 1.3s infinite ease-in-out;
}
.chatui__msg--typing span:nth-child(2) { animation-delay: .18s; }
.chatui__msg--typing span:nth-child(3) { animation-delay: .36s; }
@keyframes cgr-blink { 0%, 60%, 100% { opacity: .28; } 30% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.chatui__msg--typing span { animation: none; opacity: .6; }
	.btn:hover { transform: none; }
}

/* ============================================================
   6. Секции
   ============================================================ */
.section { padding: 68px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--dark); color: var(--dark-text); }
.section--dark h2, .section--dark h3 { color: #fff; }


.section__title { margin-bottom: 12px; }
.section__lead { max-width: 62em; color: var(--muted); margin-bottom: 34px; }
.section--dark .section__lead { color: var(--dark-text); }
.section__after { margin-top: 30px; color: var(--muted); }

.page-head { padding: 46px 0 8px; }
.page-head__lead { font-size: 1.08rem; color: var(--text); max-width: 46em; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; font-size: .84rem; color: var(--muted); }
.crumbs__link { color: var(--muted); }
.crumbs__sep { color: var(--border-strong); }
.crumbs__current { color: var(--ink); }

/* TL;DR */
.tldr {
	margin: 0 0 34px;
	padding: 20px 24px;
	border-left: 3px solid var(--accent);
	border-radius: 0 var(--radius) var(--radius) 0;
	background: var(--accent-soft);
	color: var(--ink);
}
.tldr p:last-child { margin-bottom: 0; }
.tldr strong { color: var(--accent-dark); }

/* ============================================================
   7. Сетки и карточки
   ============================================================ */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
	padding: 24px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	transition: border-color .18s ease, box-shadow .18s ease;
}
.card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: .93rem; color: var(--muted); }

.card__icon {
	display: grid; place-items: center;
	width: 40px; height: 40px; margin-bottom: 14px;
	border-radius: 11px;
	background: var(--accent-soft);
	color: var(--accent-dark);
}
.card__icon svg { width: 21px; height: 21px; stroke: currentColor; }

.section--tint .card { background: #fff; }

/* Карточки моделей */
.model {
	padding: 26px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
}
.model--accent { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.model__badge {
	display: inline-block; margin-bottom: 12px;
	padding: 4px 10px; border-radius: 999px;
	background: var(--tint-2); color: var(--muted);
	font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}
.model--accent .model__badge { background: var(--accent-soft); color: var(--accent-dark); }
.model h3 { margin-bottom: 8px; }
.model p { margin: 0; font-size: .93rem; color: var(--muted); }

/* ============================================================
   8. Тарифы
   ============================================================ */
.plans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: start; }

.plan {
	position: relative;
	display: flex; flex-direction: column;
	padding: 26px 22px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	height: 100%;
}
.plan--best { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.plan__ribbon {
	position: absolute; top: -11px; left: 22px;
	padding: 4px 11px; border-radius: 999px;
	background: var(--accent); color: #fff;
	font-size: .7rem; font-weight: 700; letter-spacing: .02em;
}
.plan__name { font-size: 1.1rem; margin-bottom: 6px; }
.plan__price { font-size: 2.1rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; margin: 0 0 4px; line-height: 1.1; }
.plan__unit { display: block; font-size: .8rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan__rub { font-size: .82rem; color: var(--muted); margin: 0 0 2px; }
.plan__tag { font-size: .85rem; color: var(--accent-dark); font-weight: 600; margin: 8px 0 4px; }
.plan__model { font-size: .84rem; color: var(--muted); margin: 0; }

.plan__list { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--border); }
.plan__list li { position: relative; padding-left: 24px; font-size: .89rem; color: var(--muted); }
.plan__list li::before {
	content: ''; position: absolute; left: 4px; top: .55em;
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--accent); opacity: .65;
}
.plan__foot { margin-top: auto; padding-top: 18px; }
.plan__foot .btn { width: 100%; justify-content: center; }

.plans--full { grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ============================================================
   9. Таблицы сравнения
   ============================================================ */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.compare {
	width: 100%; min-width: 680px;
	border-collapse: separate; border-spacing: 0;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	font-size: .92rem;
}
.compare th, .compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.compare thead th {
	background: var(--tint);
	color: var(--ink); font-weight: 600; font-size: .85rem;
	white-space: nowrap;
}
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare td strong { color: var(--ink); }
.compare .yes { color: var(--accent-dark); font-weight: 600; }
.compare .no { color: var(--muted); }

/* ============================================================
   10. Списки-чеклисты, шаги
   ============================================================ */
.checklist { list-style: none; margin: 0 0 22px; padding: 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.checklist li::before {
	content: ''; position: absolute; left: 0; top: .42em;
	width: 16px; height: 16px; border-radius: 50%;
	background: var(--accent-soft);
	box-shadow: inset 0 0 0 2px var(--accent);
}
.checklist--dark li::before { background: rgba(25,195,125,.16); box-shadow: inset 0 0 0 2px var(--accent-2); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
	position: relative;
	padding: 0 0 26px 56px;
	margin: 0;
	counter-increment: step;
}
.steps li::before {
	content: counter(step);
	position: absolute; left: 0; top: 0;
	display: grid; place-items: center;
	width: 36px; height: 36px;
	border-radius: 50%;
	background: var(--accent); color: #fff;
	font-weight: 700; font-size: .95rem;
}
.steps li::after {
	content: ''; position: absolute; left: 17px; top: 42px; bottom: 6px;
	width: 2px; background: var(--border);
}
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 6px; }
.steps p:last-child { margin-bottom: 0; }

/* Двухколоночный сплит */
.split { display: grid; grid-template-columns: 1.25fr .75fr; gap: 44px; align-items: start; }
.split__aside {
	padding: 26px;
	border: 1px solid var(--dark-border);
	border-radius: var(--radius);
	background: var(--dark-2);
}
.split__aside h3 { margin-bottom: 12px; }
.split__aside p { font-size: .92rem; }
.split__aside p:last-child { margin-bottom: 0; }

/* Панель-врезка на светлом фоне */
.note {
	padding: 22px 24px;
	border: 1px solid var(--border);
	border-left: 3px solid var(--amber);
	border-radius: 0 var(--radius) var(--radius) 0;
	background: #fffdf8;
	margin: 0 0 26px;
}
.note h3 { margin-bottom: 8px; font-size: 1.02rem; }
.note p:last-child { margin-bottom: 0; }

/* ============================================================
   11. Рейтинг и отзывы
   ============================================================ */
.stars { position: relative; display: inline-flex; line-height: 0; vertical-align: middle; }
.stars__bg, .stars__fg { display: flex; gap: 2px; }
.stars__bg { color: var(--border-strong); }
.stars__fg { position: absolute; inset: 0; overflow: hidden; white-space: nowrap; color: var(--amber); }
.stars svg { width: var(--star-size, 18px); height: var(--star-size, 18px); flex-shrink: 0; fill: currentColor; stroke: currentColor; }

.rating-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px; }
.rating-head__score { display: flex; align-items: center; gap: 12px; }
.rating-head__value { font-size: 2.6rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }

.review {
	display: flex; flex-direction: column; gap: 12px;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
}
.review__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.review__author { font-weight: 700; color: var(--ink); }
.review__role { font-size: .82rem; color: var(--muted); }
.review__date { margin-left: auto; font-size: .8rem; color: var(--muted); }
.review__text { margin: 0; font-size: .93rem; color: var(--text); }

/* ============================================================
   12. FAQ-аккордеон
   ============================================================ */
.faq { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__question {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	width: 100%; padding: 20px 0;
	background: none; border: 0;
	color: var(--ink);
	font-family: inherit; font-size: 1.02rem; font-weight: 600; text-align: left;
	cursor: pointer;
}
.faq__question svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--muted); transition: transform .2s ease; stroke: currentColor; }
.faq__item.open .faq__question svg { transform: rotate(180deg); color: var(--accent); }
.faq__answer { display: none; padding: 0 0 22px; }
.faq__item.open .faq__answer { display: block; }
.faq__answer p { margin: 0; color: var(--text); font-size: .96rem; }

/* ============================================================
   13. CTA-полоса
   ============================================================ */
.cta-band { background: var(--dark); color: var(--dark-text); }
.cta-band__inner {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px;
	padding: 52px 20px;
}
.cta-band__title { color: #fff; margin-bottom: 8px; }
.cta-band__text { margin: 0; max-width: 44em; }

/* ============================================================
   14. Квиз
   ============================================================ */
.quiz {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	padding: 30px;
}
.quiz__progress { height: 6px; border-radius: 999px; background: var(--tint-2); overflow: hidden; margin-bottom: 10px; }
.quiz__bar { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .3s ease; }
.quiz__counter { font-size: .82rem; color: var(--muted); margin-bottom: 22px; }
.quiz__question { font-size: 1.3rem; margin-bottom: 20px; }
.quiz__options { display: grid; gap: 10px; }
.quiz__option {
	display: flex; align-items: center; gap: 12px;
	width: 100%; padding: 15px 18px;
	background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
	color: var(--ink); font-family: inherit; font-size: .97rem; text-align: left;
	cursor: pointer;
	transition: border-color .16s ease, background .16s ease;
}
.quiz__option:hover { border-color: var(--accent); background: var(--accent-soft); }
.quiz__option-mark {
	display: grid; place-items: center; flex-shrink: 0;
	width: 26px; height: 26px; border-radius: 8px;
	background: var(--tint-2); color: var(--muted);
	font-size: .8rem; font-weight: 700;
}
.quiz__option:hover .quiz__option-mark { background: var(--accent); color: #fff; }

.quiz__result { display: none; }
.quiz__result.show { display: block; }
.quiz__result-plan { font-size: 2rem; font-weight: 800; color: var(--accent-dark); letter-spacing: -0.03em; margin-bottom: 6px; }
.quiz__result-price { font-size: 1.05rem; color: var(--ink); font-weight: 600; margin-bottom: 14px; }
.quiz__result-why { margin-bottom: 20px; }
.quiz__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.quiz__stage.hidden { display: none; }

/* ============================================================
   15. Контакты
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 32px; }
.contact-card {
	display: flex; gap: 14px;
	padding: 22px;
	border: 1px solid var(--border); border-radius: var(--radius);
	background: #fff;
}
.contact-card__icon {
	display: grid; place-items: center; flex-shrink: 0;
	width: 38px; height: 38px; border-radius: 10px;
	background: var(--accent-soft); color: var(--accent-dark);
}
.contact-card__icon svg { width: 20px; height: 20px; stroke: currentColor; }
.contact-card h3 { margin-bottom: 4px; font-size: 1rem; }
.contact-card p { margin: 0; font-size: .9rem; color: var(--muted); }

.disclaimer-box {
	padding: 22px 24px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--tint);
	font-size: .92rem;
	color: var(--muted);
}
.disclaimer-box p:last-child { margin-bottom: 0; }

/* ============================================================
   16. Читайте также
   ============================================================ */
.related { margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--border); }
.related__title { font-size: 1.1rem; margin-bottom: 14px; }
.related__list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.related__list li { margin: 0; }
.related__list a {
	display: inline-block;
	padding: 8px 15px;
	border: 1px solid var(--border); border-radius: 999px;
	background: #fff;
	color: var(--text); font-size: .89rem;
}
.related__list a:hover { border-color: var(--accent); color: var(--accent-dark); text-decoration: none; }

/* ============================================================
   17. Футер
   ============================================================ */
.site-footer { background: var(--dark); color: var(--dark-text); padding: 56px 0 30px; }
.site-footer__top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 34px; padding-bottom: 34px; }
.site-footer .site-logo__text { color: #fff; }
.site-footer .site-logo__ru { background: rgba(25,195,125,.16); color: var(--accent-2); }
.site-footer__lead { margin: 16px 0 0; font-size: .9rem; color: var(--muted); max-width: 34em; }
.site-footer__col h3 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 14px; }
.site-footer__col a { display: block; padding: 5px 0; color: var(--dark-text); font-size: .91rem; }
.site-footer__col a:hover { color: var(--accent-2); text-decoration: none; }

.site-footer__bottom {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
	padding-top: 24px; border-top: 1px solid var(--dark-border);
}
.site-footer__disclaimer { margin: 0; font-size: .82rem; color: var(--muted); max-width: 68em; }
.site-footer__copy { margin: 0; font-size: .82rem; color: var(--muted); }

/* ============================================================
   18. Адаптив
   ============================================================ */
@media (max-width: 1080px) {
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.plans { grid-template-columns: repeat(3, 1fr); }
	.plans--full { grid-template-columns: repeat(2, 1fr); }
	.site-footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
	.nav { display: none; }
	.burger { display: flex; }
	.header-cta { margin-left: auto; }
	.hero__inner { grid-template-columns: 1fr; gap: 40px; }
	.hero__panel { display: none; }
	.split { grid-template-columns: 1fr; gap: 28px; }
	.grid--3 { grid-template-columns: repeat(2, 1fr); }
	.plans--full { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
	body { font-size: 16px; }
	.section { padding: 52px 0; }
	.hero { padding: 44px 0 52px; }
	.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
	.plans { grid-template-columns: 1fr; }
	.contact-grid { grid-template-columns: 1fr; }
	.site-footer__top { grid-template-columns: 1fr; gap: 26px; }
	.hero__facts { gap: 22px; }
	.cta-band__inner { padding: 40px 20px; }

	/* Таблицы превращаются в карточки — без JS, метки из data-label */
	.compare { min-width: 0; border: 0; background: transparent; }
	.compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.compare tbody tr {
		display: block;
		margin-bottom: 14px;
		background: #fff;
		border: 1px solid var(--border);
		border-radius: var(--radius);
		overflow: hidden;
	}
	.compare tbody td { display: flex; gap: 12px; justify-content: space-between; padding: 11px 16px; border-bottom: 1px solid var(--border); }
	.compare tbody td:first-child { background: var(--tint); font-weight: 700; color: var(--ink); }
	.compare tbody td:last-child { border-bottom: 0; }
	.compare tbody td::before {
		content: attr(data-label);
		flex-shrink: 0;
		font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .03em;
	}
	.compare tbody td:first-child::before { display: none; }
	.compare tbody td { text-align: right; }
	.compare tbody td:first-child { text-align: left; }
}



@media (max-width: 480px) {
.hero__panel {display: block;}
.hero__frame
 {
    width: 100%;
    max-width: 430px;
    padding: 15px;
border: none;
    background: none;
    box-shadow: none;
}
	.header-cta__full { display: none; }
	.header-cta__short { display: inline; }
	.header-cta { padding: 9px 14px; font-size: .85rem; }
	.quiz { padding: 22px 18px; }
	.rating-head__value { font-size: 2.1rem; }
}

@media (max-width: 360px) {
	.site-logo__text { display: none; }
}
