/* ===================== RESET & BASE ===================== */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	color: #222;
	background: #fff;
	line-height: 1.6;
}

a {
	text-decoration: none;
	color: inherit;
}

img {
	max-width: 100%;
	display: block;
}

ul {
	list-style: none;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.section {
	padding: 80px 0;
}

.section--dark {
	background: #f4f7fc;
}

.section__subtitle {
	text-align: center;
	color: #666;
	font-size: 18px;
	margin-bottom: 50px;
	margin-top: -20px;
}

.section__action {
	text-align: center;
	margin-top: 40px;
}

h1,
h2,
h3,
h4 {
	line-height: 1.3;
}

h2 {
	font-size: 36px;
	text-align: center;
	margin-bottom: 15px;
	color: #111;
}

/* ===================== BUTTONS ===================== */
.btn {
	display: inline-block;
	padding: 12px 28px;
	background: #25d366;
	color: #fff;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	border: none;
	cursor: pointer;
	transition: background 0.3s, transform 0.2s;
	text-align: center;
}

.btn:hover {
	background: #1da851;
	transform: translateY(-1px);
}

.btn--blue {
	background: #1a73e8;
}

.btn--blue:hover {
	background: #1557b0;
}

.btn--green {
	background: #28a745;
}

.btn--green:hover {
	background: #1e7e34;
}

.btn--small {
	padding: 8px 18px;
	font-size: 13px;
}

.btn--large {
	padding: 16px 40px;
	font-size: 17px;
}

/* ===================== HEADER ===================== */
.header {
	background: #fff;
	border-bottom: 1px solid #e0e0e0;
	position: sticky;
	top: 0;
	z-index: 100;
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 0;
	gap: 20px;
}

.logo {
	font-size: 24px;
	font-weight: 800;
	color: #111;
}

.logo__accent {
	color: #1a73e8;
}

.nav {
	display: flex;
	gap: 25px;
}

.nav__link {
	font-size: 15px;
	color: #444;
	transition: color 0.2s;
	font-weight: 500;
}

.nav__link:hover,
.nav__link.active {
	color: #1a73e8;
}

.header__actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 5px;
}

.burger span {
	display: block;
	width: 28px;
	height: 3px;
	background: #333;
	border-radius: 2px;
}

/* ===================== HERO ===================== */
.hero {
	padding: 80px 0 60px;
	text-align: center;
	background: linear-gradient(135deg, #f4f7fc 0%, #e8f0fe 100%);
}

.hero h1 {
	font-size: 42px;
	max-width: 850px;
	margin: 0 auto 20px;
	color: #111;
}

.hero__subtitle {
	font-size: 18px;
	color: #555;
	max-width: 700px;
	margin: 0 auto 40px;
}

.hero__stats {
	display: flex;
	justify-content: center;
	gap: 50px;
	flex-wrap: wrap;
	margin-bottom: 40px;
}

.stat {
	text-align: center;
}

.stat__num {
	display: block;
	font-size: 32px;
	font-weight: 800;
	color: #1a73e8;
}

.stat__label {
	font-size: 14px;
	color: #666;
}

.hero__actions {
	display: flex;
	justify-content: center;
	gap: 15px;
	flex-wrap: wrap;
}

/* ===================== INNER PAGE HERO ===================== */
.page-hero {
	padding: 82px 0 74px;
	border-bottom: 1px solid #dce8fa;
	background: linear-gradient(135deg, #f4f7fc 0%, #e8f0fe 100%);
	text-align: center;
}

.page-hero>.container>h1 {
	max-width: 850px;
	margin: 0 auto 20px;
	color: #111f35;
	font-size: clamp(34px, 4vw, 48px);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
}

.page-hero>.container>p {
	max-width: 720px;
	margin: 0 auto;
	color: #526176;
	font-size: 18px;
	line-height: 1.7;
}

/* ===================== CATEGORIES ===================== */
.categories__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 25px;
	margin-top: 10px;
}

.category-card {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	padding: 30px 20px;
	text-align: center;
	transition: box-shadow 0.3s, transform 0.2s;
	position: relative;
}

.category-card:hover {
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
	transform: translateY(-3px);
}

.category-card--popular {
	border-color: #1a73e8;
	border-width: 2px;
}

.category-card__badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: #1a73e8;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 16px;
	border-radius: 20px;
}

.category-card__icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 15px;
	background: #e8f0fe;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	font-weight: 800;
	color: #1a73e8;
}

.category-card h3 {
	font-size: 20px;
	margin-bottom: 5px;
}

.category-card p {
	font-size: 14px;
	color: #777;
	margin-bottom: 15px;
}

.category-card__price {
	display: block;
	font-size: 24px;
	font-weight: 800;
	color: #1a73e8;
	margin-bottom: 20px;
}

/* ===================== CATEGORY DETAILS ===================== */
.category-detail {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"title title"
		"description description"
		"list list"
		"price action";
	column-gap: 24px;
	row-gap: 20px;
	max-width: 1000px;
	margin: 0 auto 24px;
	padding: 32px 36px;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
	scroll-margin-top: 100px;
}

.category-detail:last-child {
	margin-bottom: 0;
}

.category-detail:target {
	border-color: #1a73e8;
	box-shadow: 0 8px 28px rgba(26, 115, 232, 0.12);
}

.category-detail h2 {
	grid-area: title;
	margin: 0;
	color: #111;
	font-size: 27px;
	text-align: left;
}

.category-detail p {
	grid-area: description;
	max-width: 850px;
	color: #555;
	font-size: 16px;
	line-height: 1.7;
}

.category-detail ul {
	grid-area: list;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 28px;
	padding-bottom: 24px;
	border-bottom: 1px solid #e8e8e8;
}

.category-detail li {
	padding-left: 12px;
	border-left: 2px solid #c8dcfb;
	color: #444;
	font-size: 15px;
	line-height: 1.6;
}

.category-detail__price {
	grid-area: price;
	align-self: center;
	color: #1a73e8;
	font-size: 26px;
	font-weight: 800;
	line-height: 1.2;
	white-space: nowrap;
}

.category-detail>.btn {
	grid-area: action;
	justify-self: end;
	min-width: 190px;
}

/* ===================== FEATURES ===================== */
.features__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.feature {
	text-align: center;
	padding: 20px;
}

.feature__icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 15px;
	background: #1a73e8;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	color: #fff;
	font-weight: 700;
}

.feature h3 {
	font-size: 18px;
	margin-bottom: 10px;
}

.feature p {
	font-size: 14px;
	color: #666;
	max-width: 350px;
	margin: 0 auto;
}

/* ===================== HOW IT WORKS ===================== */
.how__steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 30px;
	margin-top: 10px;
}

.step {
	text-align: center;
	padding: 20px;
}

.step__num {
	width: 60px;
	height: 60px;
	margin: 0 auto 15px;
	background: #1a73e8;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	font-weight: 800;
	color: #fff;
}

.step h3 {
	font-size: 18px;
	margin-bottom: 8px;
}

.step p {
	font-size: 14px;
	color: #666;
}

/* ===================== REVIEWS ===================== */
.reviews__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 25px;
}

.review-card {
	background: #fff;
	border-radius: 12px;
	padding: 25px;
	border: 1px solid #e8e8e8;
}

.review-card__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.review-card__name {
	font-weight: 700;
	font-size: 16px;
}

.review-card__date {
	font-weight: 500;
	font-size: 12px;
}

.review-card__rating {
	color: #f5a623;
	font-weight: 700;
}

.review-card p {
	font-size: 14px;
	color: #555;
	line-height: 1.7;
}

.review-submit {
	padding: 60px 0;
}

.review-submit__card {
	max-width: 680px;
	margin: 0 auto;
	padding: 32px;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
}

.review-submit__card h2 {
	font-size: 28px;
	margin-bottom: 24px;
}

.review-form {
	display: grid;
	gap: 20px;
}

.review-form__field {
	display: grid;
	gap: 8px;
}

.review-form__field span,
.review-form__rating legend {
	font-weight: 600;
}

.review-form__field input,
.review-form__field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #d4dbe5;
	border-radius: 8px;
	background: #fff;
	color: #222;
	font: inherit;
}

.review-form__field textarea {
	resize: vertical;
	min-height: 110px;
}

.review-form__field input:focus-visible,
.review-form__field textarea:focus-visible {
	outline: 2px solid #1a73e8;
	outline-offset: 2px;
}

.review-form__rating {
	border: 0;
}

.review-form__stars {
	display: flex;
	width: fit-content;
	gap: 5px;
	margin-top: 5px;
}

.review-form__stars label {
	position: relative;
	color: #cbd5e1;
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
}

.review-form__stars label.is-active,
.review-form__stars label:hover {
	color: #f5a623;
}

.review-form__stars input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.review-form__stars input:focus-visible + span {
	outline: 2px solid #1a73e8;
	outline-offset: 3px;
	border-radius: 3px;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.review-form .btn {
	justify-self: start;
}

.review-dialog {
	position: fixed;
	inset: 0;
	margin: auto;
	max-width: min(420px, calc(100% - 32px));
	max-height: calc(100% - 32px);
	overflow: auto;
	padding: 32px;
	border: 0;
	border-radius: 12px;
	box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
	text-align: center;
}

.review-dialog::backdrop {
	background: rgba(17, 30, 50, 0.55);
}

.review-dialog h2 {
	font-size: 26px;
}

.review-dialog p {
	margin: 12px 0 24px;
}

@media (max-width: 600px) {
	.review-submit__card {
		padding: 24px 20px;
	}

	.review-form .btn {
		width: 100%;
	}
}

/* ===================== ABOUT ===================== */
.about-text {
	max-width: 960px;
	margin: 0 auto;
}

.about-text>p {
	color: #555;
	font-size: 16px;
	line-height: 1.8;
}

.about-text>p:first-child {
	padding: 22px 28px;
	border-left: 4px solid #1a73e8;
	border-radius: 0 12px 12px 0;
	background: #f4f7fc;
	color: #333;
	font-size: 18px;
}

.about-text strong {
	color: #1a73e8;
}

.about-text h2 {
	margin: 44px 0 18px;
	color: #111;
	font-size: 28px;
	text-align: left;
}

.about-text ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.about-text li {
	padding: 18px 20px;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	background: #fff;
	color: #444;
	line-height: 1.6;
}

.stats__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	max-width: 960px;
	margin-right: auto;
	margin-left: auto;
}

.stats__grid .stat {
	padding: 26px 18px;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.stats__grid .stat__num {
	margin-bottom: 4px;
	line-height: 1.2;
}

.stats__grid .stat__label {
	display: block;
	line-height: 1.5;
}

/* ===================== FAQ ===================== */
.faq__list {
	max-width: 800px;
	margin: 0 auto;
}

.faq__item {
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	margin-bottom: 12px;
	overflow: hidden;
}

.faq__question {
	padding: 18px 24px;
	font-weight: 600;
	font-size: 16px;
	cursor: pointer;
	background: #fff;
	position: relative;
	transition: background 0.2s;
}

.faq__question:hover {
	background: #f9f9f9;
}

.faq__question::after {
	content: '+';
	position: absolute;
	right: 24px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 22px;
	color: #1a73e8;
	font-weight: 300;
}

.faq__item.active .faq__question::after {
	content: '−';
}

.faq__answer {
	padding: 0 24px 18px;
	font-size: 15px;
	color: #555;
	line-height: 1.7;
	display: none;
}

.faq__item.active .faq__answer {
	display: block;
}

/* ===================== REGIONS ===================== */
.regions .section__subtitle {
	margin-top: 0;
	margin-bottom: 30px;
}

.regions__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	max-width: 1080px;
	margin: 0 auto;
}

.region-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 76px;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid #e1e6ee;
	border-radius: 10px;
	color: #172b49;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
}

.region-link::after {
	content: '→';
	display: grid;
	flex: 0 0 32px;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #edf4ff;
	color: #1a73e8;
	font-size: 20px;
	font-weight: 400;
}

.region-link:hover {
	border-color: #1a73e8;
	color: #1a73e8;
	box-shadow: 0 5px 14px rgba(26, 73, 130, 0.08);
	transform: translateY(-2px);
}

.region-link:focus-visible {
	outline: 2px solid #1a73e8;
	outline-offset: 3px;
}

@media (max-width: 992px) {
	.regions__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.regions .section__subtitle {
		margin-bottom: 28px;
	}

	.regions__grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.region-link {
		min-height: 68px;
		padding: 14px 16px;
	}
}

/* ===================== PRICES TABLE ===================== */
.prices__table {
	overflow: hidden;
	background: #fff;
	border: 1px solid #e3eaf4;
	border-radius: 16px;
	box-shadow: 0 12px 36px rgba(26, 73, 130, 0.08);
}

.price-row {
	display: grid;
	grid-template-columns: 100px minmax(0, 1fr) 110px 140px 105px;
	align-items: center;
	gap: 20px;
	min-height: 82px;
	padding: 16px 28px;
	border-top: 1px solid #edf1f6;
	transition: background 0.2s;
}

.price-row:not(.price-row--header):hover {
	background: #f7faff;
}

.price-row--header {
	min-height: 54px;
	border-top: 0;
	background: #f4f7fc;
	color: #617086;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.price-row>span {
	min-width: 0;
}

.price-row>span:first-child strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 42px;
	padding: 0 9px;
	border-radius: 10px;
	background: #e8f0fe;
	color: #1a73e8;
	font-size: 17px;
	font-weight: 800;
}

.price-row>span:nth-child(2) {
	font-weight: 600;
}

.price-row>span:nth-child(3) {
	color: #67758a;
	white-space: nowrap;
}

.price-row__price {
	color: #111f35;
	font-size: 19px;
	font-weight: 800;
	white-space: nowrap;
}

.price-row>.btn {
	justify-self: end;
	white-space: nowrap;
}

.price-row--popular {
	background: #eff6ff;
	box-shadow: inset 4px 0 #1a73e8;
}

.price-row--popular:not(.price-row--header):hover {
	background: #e8f2ff;
}

.price-row--popular>span:first-child strong {
	background: #1a73e8;
	color: #fff;
}

/* ===================== CONTACTS ===================== */
.contacts__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 36px;
}

.contacts__info {
	min-width: 0;
}

.contacts__info:first-child {
	padding: 36px;
	border-radius: 16px;
	background: linear-gradient(135deg, #f4f7fc 0%, #e8f0fe 100%);
}

.contacts__info+.contacts__info {
	padding-top: 30px;
	border-top: 1px solid #dfe7f2;
}

.contacts__info h2 {
	margin: 0 0 18px;
	font-size: 28px;
	text-align: left;
}

.contacts__info p {
	color: #555;
	font-size: 16px;
	line-height: 1.7;
}

.contacts__info>p:last-child {
	color: #666;
	font-size: 14px;
}

.contacts__messengers {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 26px 0;
}

.contacts__messengers .btn {
	flex: 1 1 150px;
	padding: 13px 14px;
	font-size: 14px;
	white-space: nowrap;
}

.contacts__note {
	padding-top: 18px;
	border-top: 1px solid #cbdcf5;
	color: #5d6b7e;
	font-size: 14px;
	line-height: 1.7;
}

.contacts__note strong {
	color: #3d4b60;
}

.contacts__info ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 28px;
	margin-top: 20px;
}

.contacts__info li {
	padding: 13px 0;
	border-bottom: 1px solid #e8e8e8;
	color: #444;
	font-size: 15px;
	line-height: 1.5;
}

/* ===================== CONTACT DETAILS ===================== */
body:has(.contacts__grid) .section--dark>.container>.section__subtitle+div {
	border: 1px solid #e8e8e8;
	background: #fff !important;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
	color: #444;
	line-height: 1.7;
	overflow-wrap: anywhere;
}

body:has(.contacts__grid) .section--dark>.container>.section__subtitle+div p+p {
	padding-top: 9px;
	border-top: 1px solid #edf1f6;
}

body:has(.contacts__grid) .section--dark>.container>.section__subtitle+div strong {
	display: inline-block;
	min-width: 160px;
	color: #1a73e8;
}

/* ===================== CTA ===================== */
.cta {
	text-align: center;
	background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
	color: #fff;
}

.cta h2 {
	color: #fff;
}

.cta p {
	font-size: 18px;
	margin-bottom: 30px;
	opacity: 0.9;
}

.cta__actions {
	display: flex;
	justify-content: center;
	gap: 15px;
	flex-wrap: wrap;
}

.cta .btn {
	background: #fff;
	color: #1a73e8;
}

.cta .btn:hover {
	background: #f0f0f0;
}

.cta .btn--blue {
	background: #25d366;
	color: #fff;
}

.cta .btn--blue:hover {
	background: #1da851;
}

.cta .btn--green {
	background: #ffc107;
	color: #222;
}

.cta .btn--green:hover {
	background: #e0a800;
}

/* ===================== FOOTER ===================== */
.footer {
	background: #111;
	color: #aaa;
	padding: 60px 0 0;
}

.footer__inner {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 40px;
	margin-bottom: 40px;
}

.footer__col .logo {
	color: #fff;
	font-size: 22px;
}

.footer__col p {
	font-size: 14px;
	line-height: 1.7;
	margin-top: 15px;
	color: #888;
}

.footer__col h4 {
	color: #fff;
	font-size: 16px;
	margin-bottom: 20px;
}

.footer__col a {
	display: block;
	font-size: 14px;
	color: #888;
	margin-bottom: 10px;
	transition: color 0.2s;
}

.footer__col a:hover {
	color: #fff;
}

.footer__bottom {
	border-top: 1px solid #222;
	padding: 20px 0;
	text-align: center;
	font-size: 13px;
	color: #666;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 992px) {
	.footer__inner {
		grid-template-columns: 1fr 1fr;
	}

	.price-row {
		grid-template-columns: 70px minmax(0, 1fr) 90px 125px 84px;
		gap: 12px;
		padding-right: 20px;
		padding-left: 20px;
	}

	.price-row__price {
		font-size: 17px;
	}
}

@media (max-width: 768px) {
	h1 {
		font-size: 28px !important;
	}

	h2 {
		font-size: 26px;
	}

	.hero {
		padding: 50px 0 40px;
	}

	.hero__stats {
		gap: 25px;
	}

	.page-hero {
		padding: 58px 0 52px;
	}

	.page-hero>.container>h1 {
		font-size: clamp(28px, 7vw, 36px) !important;
	}

	.page-hero>.container>p {
		font-size: 16px;
	}

	.nav {
		display: none;
	}

	.burger {
		display: flex;
	}

	.header__actions .btn {
		font-size: 12px;
		padding: 6px 14px;
	}

	.footer__inner {
		grid-template-columns: 1fr;
	}

	.categories__grid {
		grid-template-columns: 1fr;
	}

	.category-detail {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "title" "description" "list" "price" "action";
		gap: 18px;
		padding: 24px 20px;
	}

	.category-detail h2 {
		font-size: 23px;
	}

	.category-detail p {
		font-size: 15px;
	}

	.category-detail ul {
		grid-template-columns: 1fr;
		padding-bottom: 20px;
	}

	.category-detail__price {
		margin-top: 2px;
	}

	.category-detail>.btn {
		justify-self: stretch;
		min-width: 0;
	}

	.about-text>p:first-child {
		padding: 18px 20px;
		font-size: 16px;
	}

	.about-text h2 {
		margin-top: 36px;
		font-size: 24px;
	}

	.about-text ul {
		grid-template-columns: 1fr;
	}

	.stats__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.stats__grid .stat {
		padding: 22px 12px;
	}

	.stats__grid .stat__num {
		font-size: 27px;
	}

	.contacts__info:first-child {
		padding: 24px 20px;
	}

	.contacts__info h2 {
		font-size: 24px;
	}

	.contacts__info ul {
		grid-template-columns: 1fr;
	}

	.section--dark+.cta .cta__actions {
		display: grid;
		max-width: 380px;
		margin: 0 auto;
	}

	.section--dark+.cta .cta__actions .btn {
		width: 100%;
	}

	.prices__table {
		overflow: visible;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}

	.price-row--header {
		display: none;
	}

	.price-row {
		grid-template-columns: 84px minmax(0, 1fr);
		gap: 14px 12px;
		min-height: 0;
		margin-bottom: 12px;
		padding: 20px;
		border: 1px solid #e3eaf4;
		border-radius: 14px;
		background: #fff;
		box-shadow: 0 6px 22px rgba(26, 73, 130, 0.06);
	}

	.price-row>span:nth-child(2) {
		font-size: 16px;
		line-height: 1.4;
	}

	.price-row>span:nth-child(3) {
		grid-column: 1;
		font-size: 13px;
	}

	.price-row__price {
		grid-column: 2;
		text-align: right;
	}

	.price-row>.btn {
		grid-column: 1 / -1;
		justify-self: stretch;
	}

	.price-row--popular {
		border-color: #bfdaff;
	}
}

@media (max-width: 520px) {
	body:has(.contacts__grid) .section--dark>.container>.section__subtitle+div strong {
		display: block;
		min-width: 0;
	}
}

.breadcrumbs {
	font-size: 14px;
	padding: 10px 0;
	margin-bottom: 20px;
	color: #666;
}

.breadcrumbs a {
	color: #1a73e8;
	text-decoration: none;
}

.breadcrumbs a:hover {
	text-decoration: underline;
}

.breadcrumbs span {
	color: #999;
}

.error-page {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 70vh;
	text-align: center;
	padding: 40px 20px;
}

.error-page h1 {
	font-size: 120px;
	color: #1a73e8;
	margin: 0;
	line-height: 1;
}

.error-page h2 {
	font-size: 28px;
	margin: 10px 0 20px;
	color: #333;
}

.error-page p {
	font-size: 16px;
	color: #666;
	max-width: 500px;
	margin-bottom: 30px;
}

.error-page .btn {
	display: inline-block;
	padding: 14px 36px;
	background: #1a73e8;
	color: white;
	text-decoration: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
}

.error-page .btn:hover {
	background: #1557b0;
}

.btn {
	display: inline-block;
	padding: 12px 28px;
	background: #25d366;
	color: #fff;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	border: none;
	cursor: pointer;
	transition:
		background 0.3s,
		transform 0.2s;
	text-align: center;
}

.btn:hover {
	background: #1da851;
	transform: translateY(-1px);
}

.btn--blue {
	background: #1a73e8;
}

.btn--blue:hover {
	background: #1557b0;
}

.btn--green {
	background: #28a745;
}

.btn--green:hover {
	background: #1e7e34;
}

.btn--small {
	padding: 8px 18px;
	font-size: 13px;
}

.header {
	background: #fff;
	border-bottom: 1px solid #e0e0e0;
	position: sticky;
	top: 0;
	z-index: 100;
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 0;
	gap: 20px;
}

.logo {
	font-size: 24px;
	font-weight: 800;
	color: #111;
}

.logo__accent {
	color: #1a73e8;
}

.nav {
	display: flex;
	gap: 25px;
}

.nav__link {
	font-size: 15px;
	color: #444;
	transition: color 0.2s;
	font-weight: 500;
}

.nav__link:hover {
	color: #1a73e8;
}

.nav__link--active {
	color: #1a73e8;
	font-weight: 600;
}

.header__actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.page {
	padding: 60px 0 80px;
}

.page h1 {
	font-size: 36px;
	margin-bottom: 10px;
	color: #111;
}

.page__subtitle {
	color: #666;
	font-size: 17px;
	margin-bottom: 40px;
}

.blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 30px;
}

.blog-card {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	overflow: hidden;
	transition:
		box-shadow 0.3s,
		transform 0.3s;
}

.blog-card:hover {
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
	transform: translateY(-3px);
}

.blog-card__image {
	height: 200px;
	background: #f0f4f8;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 48px;
	color: #1a73e8;
}

.blog-card__body {
	padding: 24px;
}

.blog-card__meta {
	font-size: 13px;
	color: #999;
	margin-bottom: 8px;
}

.blog-card__title {
	font-size: 20px;
	font-weight: 700;
	color: #111;
	margin-bottom: 10px;
	line-height: 1.4;
}

.blog-card__excerpt {
	font-size: 15px;
	color: #555;
	margin-bottom: 18px;
	line-height: 1.6;
}

.blog-card__link {
	color: #1a73e8;
	font-weight: 600;
	font-size: 14px;
}

.blog-card__link:hover {
	text-decoration: underline;
}

.footer {
	background: #111;
	color: #aaa;
	padding: 40px 0;
	text-align: center;
	font-size: 13px;
}

@media (max-width: 768px) {
	.page h1 {
		font-size: 28px;
	}

	.nav {
		display: none;
	}

	.header__actions .btn {
		font-size: 12px;
		padding: 6px 14px;
	}

	.blog-grid {
		grid-template-columns: 1fr;
	}
}

.article {
	padding: 60px 0 80px;
}

.article h1 {
	font-size: 36px;
	margin-bottom: 15px;
	color: #111;
	line-height: 1.3;
}

.article__meta {
	color: #888;
	font-size: 14px;
	margin-bottom: 30px;
	border-bottom: 1px solid #eee;
	padding-bottom: 20px;
}

.article h2 {
	font-size: 24px;
	margin: 40px 0 15px;
	color: #111;
}

.article h3 {
	font-size: 20px;
	margin: 25px 0 10px;
	color: #222;
}

.article p {
	margin-bottom: 18px;
	color: #444;
	font-size: 16px;
}

.article ul,
.article ol {
	margin-bottom: 18px;
	color: #444;
	font-size: 16px;
}

.article li {
	margin-bottom: 8px;
}

.article__cta {
	background: #f4f7fc;
	border-radius: 12px;
	padding: 30px;
	text-align: center;
	margin: 40px 0;
}

.article__cta p {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 20px;
	color: #111;
}

.article__back {
	margin-top: 40px;
	display: inline-block;
	color: #1a73e8;
	font-weight: 600;
}

.article__back:hover {
	text-decoration: underline;
}

.price-table {
	width: 100%;
	border-collapse: collapse;
	margin: 25px 0;
	font-size: 16px;
}

.price-table th,
.price-table td {
	border: 1px solid #ddd;
	padding: 14px 18px;
	text-align: left;
}

.price-table th {
	background: #1a73e8;
	color: #fff;
	font-weight: 600;
}

.price-table tr:nth-child(even) {
	background: #f9f9f9;
}

.price-table tr:hover {
	background: #e8f0fe;
}

.price-table .popular {
	background: #fffde7;
	font-weight: 600;
}

/* Article tables */
.article__table {
	width: 100%;
	margin: 28px 0 36px;
	border: 1px solid #e2e6eb;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
}

.article__table th,
.article__table td {
	padding: 15px 18px;
	border-bottom: 1px solid #e9edf1;
	font-size: 15px;
	line-height: 1.55;
	text-align: left;
	vertical-align: top;
	overflow-wrap: anywhere;
}

.article__table th {
	background: #f4f7fa;
	color: #263445;
	font-weight: 700;
}

.article__table td {
	color: #46515f;
}

.article__table td:first-child {
	color: #263445;
	font-weight: 600;
}

.article__table .price-cell {
	color: #263445;
	font-weight: 700;
	white-space: nowrap;
}

.article__table tr:nth-child(even) td {
	background: #fafbfc;
}

.article__table tr:last-child td {
	border-bottom: 0;
}

@media (max-width: 700px) {
	.article__table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.article__table th,
	.article__table td {
		min-width: 160px;
		padding: 13px 15px;
		font-size: 14px;
	}

	.article__table th:nth-child(2),
	.article__table td:nth-child(2) {
		min-width: 220px;
	}
}

.footer {
	background: #111;
	color: #aaa;
	padding: 40px 0;
	text-align: center;
	font-size: 13px;
}

.blog-card__title {
	text-align: left;
}

@media (max-width: 768px) {
	.article h1 {
		font-size: 26px;
	}

	.article h2 {
		font-size: 20px;
	}

	.nav {
		display: none;
	}

	.header__actions .btn {
		font-size: 12px;
		padding: 6px 14px;
	}

	.price-table {
		font-size: 14px;
	}

	.price-table th,
	.price-table td {
		padding: 10px 12px;
	}
}

/* Privacy page */
body:has(> .container > .last-updated) {
	background: #f7f9fd;
}

.container:has(> .last-updated) {
	max-width: 880px;
	margin-top: 32px;
	margin-bottom: 64px;
	padding: 40px 48px 52px;
	border: 1px solid #e5ebf4;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 12px 36px rgba(26, 73, 130, 0.05);
}

.container:has(> .last-updated) > .breadcrumbs {
	margin-bottom: 28px;
}

.container:has(> .last-updated) > h1 {
	margin-bottom: 12px;
	color: #17243a;
	font-size: clamp(30px, 4vw, 40px);
	line-height: 1.2;
}

.container:has(> .last-updated) > .last-updated {
	margin-bottom: 36px;
	color: #718096;
	font-size: 14px;
}

.container:has(> .last-updated) > h2 {
	margin: 36px 0 14px;
	padding-top: 28px;
	border-top: 1px solid #e9eef6;
	color: #17243a;
	font-size: 23px;
	text-align: left;
}

.container:has(> .last-updated) > p:not(.last-updated),
.container:has(> .last-updated) > ul {
	margin-bottom: 16px;
	color: #435168;
	font-size: 16px;
	line-height: 1.8;
}

.container:has(> .last-updated) > ul {
	padding-left: 24px;
	list-style: disc;
}

.container:has(> .last-updated) > ul li {
	padding-left: 4px;
	margin-bottom: 8px;
}

.container:has(> .last-updated) > ul li::marker {
	color: #1a73e8;
}

@media (max-width: 600px) {
	.container:has(> .last-updated) {
		margin-top: 16px;
		margin-bottom: 32px;
		padding: 28px 22px 36px;
		border-radius: 12px;
	}

	.container:has(> .last-updated) > h2 {
		font-size: 21px;
	}
}

/* Legal links in both footer layouts */
.footer__inner:has(> .footer-legal) {
	text-align: left;
}

.footer-legal h4 {
	margin: 0 0 20px;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.footer-legal a {
	display: block;
	color: #aaa;
	font-size: 14px;
	line-height: 1.5;
	text-decoration: none;
	transition: color 0.2s;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
	color: #fff;
}

.footer__inner > .footer-legal a + a {
	margin-top: 10px;
}

.footer > .container > .footer-legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 24px;
	margin-bottom: 20px;
}

.footer > .container > .footer-legal h4 {
	flex-basis: 100%;
	margin-bottom: 0;
	text-align: center;
}

@media (min-width: 993px) {
	.footer__inner:has(> .footer-legal) {
		grid-template-columns: minmax(190px, 1.7fr) repeat(3, minmax(110px, 1fr)) minmax(170px, 1.25fr);
		gap: 30px;
	}
}

/* Mobile navigation */
@media (max-width: 768px) {
	.header__inner {
		position: relative;
		flex-wrap: wrap;
	}

	.header__inner > .burger {
		order: 1;
		margin-left: auto;
		width: 44px;
		height: 44px;
		align-items: center;
		justify-content: center;
		padding: 0;
		border: 1px solid #dce7f5;
		border-radius: 11px;
		background: #f4f8ff;
		transition: background 0.2s, border-color 0.2s;
	}

	.header__inner > .burger:hover,
	.header__inner > .burger.active {
		border-color: #bdd6fa;
		background: #e8f1ff;
	}

	.header__inner > .burger:focus-visible {
		outline: 2px solid #1a73e8;
		outline-offset: 3px;
	}

	.header__inner > .burger span {
		width: 22px;
		background: #1a5db8;
		transition: transform 0.22s ease, opacity 0.18s ease;
	}

	.header__inner > .burger.active span:first-child {
		transform: translateY(8px) rotate(45deg);
	}

	.header__inner > .burger.active span:nth-child(2) {
		opacity: 0;
	}

	.header__inner > .burger.active span:last-child {
		transform: translateY(-8px) rotate(-45deg);
	}

	.header__inner > .header__actions {
		order: 2;
		width: 100%;
		justify-content: center;
	}

	.header__inner > .nav {
		display: none;
		position: absolute;
		top: calc(100% + 8px);
		left: 0;
		right: 0;
		z-index: 10;
		flex-direction: column;
		gap: 2px;
		max-height: calc(100dvh - 110px);
		overflow-y: auto;
		padding: 10px;
		border: 1px solid #dce7f5;
		border-radius: 14px;
		background: #fff;
		box-shadow: 0 18px 36px rgba(17, 31, 53, 0.16);
	}

	.header__inner > .nav.active {
		display: flex;
	}

	.header__inner > .nav .nav__link {
		display: block;
		padding: 12px 14px;
		border-radius: 8px;
		color: #34445d;
		font-weight: 600;
	}

	.header__inner > .nav .nav__link:hover,
	.header__inner > .nav .nav__link:focus-visible {
		background: #f1f6ff;
		color: #1557b0;
	}

	.header__inner > .nav .nav__link.active,
	.header__inner > .nav .nav__link--active {
		background: #e8f1ff;
		color: #1557b0;
	}
}
