/* ===================================================
   Cardiox — кастомные стили для трастового сайта
   Навигация, внутренние страницы, SEO-блок, FAQ
   =================================================== */

/* --- Навигационное меню --- */
.site-nav {
	background: #fff;
	border-bottom: 2px solid #e8eef8;
	position: sticky;
	top: 0;
	z-index: 500;
	box-shadow: 0 2px 10px rgba(26, 90, 173, 0.08);
}

.site-nav__container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: center;
	height: 64px;
	gap: 10px;
}

.site-nav__logo {
	font-size: 22px;
	font-weight: 700;
	color: #1a5aad;
	text-decoration: none;
	letter-spacing: 1px;
	flex-shrink: 0;
	margin-right: 10px;
}

.site-nav__list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 2px;
	flex: 1;
}

.site-nav__item a {
	display: block;
	padding: 7px 13px;
	color: #444;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	border-radius: 5px;
	transition: background 0.2s, color 0.2s;
	white-space: nowrap;
}

.site-nav__item a:hover,
.site-nav__item--active a {
	background: #eef3fb;
	color: #1a5aad;
}

.site-nav__cta {
	background: #fa6f2a;
	color: #fff !important;
	padding: 9px 22px;
	border-radius: 22px;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	flex-shrink: 0;
	transition: background 0.2s, transform 0.1s;
	white-space: nowrap;
}

.site-nav__cta:hover {
	background: #e05a1a;
	transform: translateY(-1px);
}

/* Кнопка-гамбургер для мобильных */
.site-nav__toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
	margin-left: auto;
}

.site-nav__toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: #333;
	border-radius: 2px;
	transition: all 0.3s;
}

@media (max-width: 900px) {
	.site-nav__toggle {
		display: flex;
	}
	.site-nav__cta {
		display: none;
	}
	.site-nav__list {
		display: none;
		position: absolute;
		top: 64px;
		left: 0;
		right: 0;
		background: #fff;
		flex-direction: column;
		border-bottom: 2px solid #e8eef8;
		padding: 10px 0;
		box-shadow: 0 4px 12px rgba(0,0,0,0.08);
	}
	.site-nav__list.is-open {
		display: flex;
	}
	.site-nav__item a {
		border-radius: 0;
		padding: 12px 20px;
		font-size: 15px;
	}
	.site-nav__container {
		flex-wrap: wrap;
		position: relative;
	}
}

/* --- Герой для внутренних страниц --- */
.page-hero {
	background: linear-gradient(135deg, #1a5aad 0%, #0d3d7a 100%);
	color: #fff;
	padding: 55px 20px 50px;
	text-align: center;
}

.page-hero__container {
	max-width: 760px;
	margin: 0 auto;
}

.page-hero__title {
	font-size: 2rem;
	font-weight: 700;
	margin: 0 0 14px;
	line-height: 1.25;
}

.page-hero__subtitle {
	font-size: 1.1rem;
	opacity: 0.85;
	line-height: 1.6;
	margin: 0;
}

/* --- SEO-статья на главной --- */
.section_seo {
	background: #f8f9fb;
	padding: 60px 0;
}

.seo-article {
	max-width: 880px;
	margin: 0 auto;
	padding: 0 20px;
	color: #444;
	line-height: 1.8;
	font-size: 15px;
}

.seo-article h2 {
	color: #1a5aad;
	font-size: 1.25rem;
	font-weight: 700;
	margin: 32px 0 12px;
	padding-bottom: 6px;
	border-bottom: 2px solid #e8eef8;
}

.seo-article p {
	margin-bottom: 16px;
}

/* --- FAQ раздел --- */
.section_faq {
	background: #fff;
	padding: 60px 0;
}

.faq-list {
	max-width: 820px;
	margin: 0 auto;
	padding: 0 20px;
}

.faq-section-title {
	text-align: center;
	color: #1a5aad;
	font-size: 1.8rem;
	font-weight: 700;
	margin-bottom: 35px;
}

.faq-item {
	border: 1px solid #dde7f7;
	border-radius: 8px;
	margin-bottom: 14px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 1px 4px rgba(26, 90, 173, 0.05);
}

.faq-item__question {
	padding: 18px 22px;
	background: #f0f5ff;
	cursor: pointer;
	font-weight: 600;
	color: #1a5aad;
	font-size: 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	user-select: none;
	transition: background 0.2s;
}

.faq-item__question:hover {
	background: #e4edfb;
}

.faq-item__icon {
	font-size: 22px;
	line-height: 1;
	font-weight: 300;
	color: #1a5aad;
	flex-shrink: 0;
	margin-left: 12px;
	transition: transform 0.3s;
}

.faq-item.is-open .faq-item__icon {
	transform: rotate(45deg);
}

.faq-item__answer {
	display: none;
	padding: 18px 22px;
	color: #444;
	line-height: 1.75;
	font-size: 15px;
	border-top: 1px solid #dde7f7;
}

.faq-item.is-open .faq-item__answer {
	display: block;
}

/* --- Блок с цифрами доверия --- */
.trust-section {
	background: #eef3fb;
	padding: 40px 20px;
}

.trust-badges {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
	max-width: 900px;
	margin: 0 auto;
}

.trust-badge {
	text-align: center;
	padding: 24px 20px;
	background: #fff;
	border-radius: 12px;
	border: 1px solid #dde7f7;
	min-width: 160px;
	flex: 1;
	max-width: 200px;
	box-shadow: 0 2px 8px rgba(26, 90, 173, 0.06);
}

.trust-badge__value {
	font-size: 2.2rem;
	font-weight: 700;
	color: #1a5aad;
	display: block;
	line-height: 1;
}

.trust-badge__label {
	font-size: 13px;
	color: #666;
	margin-top: 8px;
	display: block;
	line-height: 1.4;
}

@media (max-width: 600px) {
	.trust-badge {
		min-width: 130px;
	}
}

/* --- Карточка эксперта --- */
.expert-card {
	background: #f0f5ff;
	border-left: 4px solid #1a5aad;
	padding: 30px 35px;
	border-radius: 0 8px 8px 0;
	margin: 30px 0;
}

.expert-card__quote {
	font-size: 1.05rem;
	line-height: 1.8;
	color: #333;
	font-style: italic;
	margin-bottom: 20px;
}

.expert-card__name {
	font-weight: 700;
	color: #1a5aad;
	font-size: 1.05rem;
}

.expert-card__position {
	color: #666;
	font-size: 13px;
	margin-top: 3px;
}

/* --- Страница отзывов --- */
.reviews-page-section {
	padding: 60px 0;
	background: #fff;
}

.reviews-grid {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 24px;
}

.review-card {
	background: #f8f9fb;
	border: 1px solid #dde7f7;
	border-radius: 12px;
	padding: 28px;
	box-shadow: 0 2px 8px rgba(26, 90, 173, 0.05);
}

.review-card__header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
}

.review-card__avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #dde7f7;
}

.review-card__name {
	font-weight: 700;
	color: #1a5aad;
	font-size: 1rem;
}

.review-card__age {
	font-size: 13px;
	color: #888;
}

.review-card__text {
	color: #444;
	line-height: 1.75;
	font-size: 14px;
}

.review-card__stars {
	margin-top: 14px;
}

.review-card__stars img {
	height: 18px;
}

/* --- Состав (composition) --- */
.composition-intro {
	max-width: 820px;
	margin: 0 auto 40px;
	padding: 0 20px;
	text-align: center;
	color: #444;
	font-size: 15px;
	line-height: 1.75;
}

/* --- Общий контейнер для внутренних страниц --- */
.inner-page-container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
}

/* --- Breadcrumb (хлебные крошки) --- */
.breadcrumb {
	padding: 12px 20px;
	max-width: 1100px;
	margin: 0 auto;
	font-size: 13px;
	color: #888;
}

.breadcrumb a {
	color: #1a5aad;
	text-decoration: none;
}

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

.breadcrumb__sep {
	margin: 0 6px;
	color: #ccc;
}

/* --- Кнопка обратной связи (Feedback) + всплывающее окно --- */
.feedback {
	width: 75px;
	height: 70px;
	position: fixed;
	right: -15px;
	top: 180px;
	display: flex;
	align-items: center;
	background-color: #fa6f2a;
	padding-left: 10px;
	border-top-left-radius: 35px;
	border-bottom-left-radius: 35px;
	cursor: pointer;
	z-index: 1000;
	box-shadow: 0 0 1px rgba(0,0,0,0.3);
	transition: right 0.5s;
}

.feedback:hover {
	right: 0;
}

.popup-window {
	font-family: inherit;
	display: none;
	width: 300px;
	position: fixed;
	right: 0;
	top: 180px;
	padding: 35px 10px;
	background: #fff;
	border-radius: 5px;
	z-index: 2000;
}

.popup-window form {
	width: 100%;
	min-height: auto;
	padding: 0;
	background: inherit;
	box-shadow: none;
}

.popup-window label {
	display: block;
	margin-bottom: 5px;
	font-size: 14px;
	color: #333;
	text-transform: uppercase;
}

.popup-window input {
	box-sizing: border-box;
	width: 100%;
	padding: 10px;
	font-family: inherit;
	font-size: 16px;
	margin-bottom: 15px;
	border: 1px solid #333;
}

.popup-window button {
	width: 100%;
	padding: 10px;
	border: none;
	border-radius: 20px;
	background: #fa6f2a;
	color: #fff;
	cursor: pointer;
	font-family: inherit;
	font-size: 16px;
	font-weight: bold;
	text-transform: uppercase;
	margin-top: 15px;
}

.close-popup {
	position: absolute;
	right: 10px;
	top: 5px;
	width: 27px;
	height: 27px;
	background-color: #fff;
	cursor: pointer;
}

.close-popup:before,
.close-popup:after {
	content: "";
	background: #333;
	width: 20px;
	height: 1px;
	position: absolute;
	top: 13px;
	left: 4px;
}

.close-popup:before { transform: rotate(-45deg); }
.close-popup:after  { transform: rotate(45deg); }

/* --- SEO-статья: список ингредиентов --- */
.seo-ingredient-list {
	list-style: none;
	padding: 0;
	margin: 16px 0 24px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 10px;
}

.seo-ingredient-list li {
	background: #fff;
	border: 1px solid #dde7f7;
	border-left: 4px solid #1a5aad;
	border-radius: 0 6px 6px 0;
	padding: 10px 14px;
	font-size: 14px;
	line-height: 1.5;
	color: #444;
}

.seo-ingredient-list li strong {
	color: #1a5aad;
	display: block;
	font-size: 14px;
	margin-bottom: 2px;
}

/* --- SEO-статья: сетка преимуществ --- */
.seo-benefits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 14px;
	margin: 16px 0 24px;
}

.seo-benefit-card {
	background: linear-gradient(135deg, #f0f5ff 0%, #e4edfb 100%);
	border: 1px solid #dde7f7;
	border-radius: 8px;
	padding: 18px 16px;
	text-align: center;
}

.seo-benefit-card strong {
	display: block;
	color: #1a5aad;
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 6px;
}

.seo-benefit-card span {
	font-size: 13px;
	color: #555;
	line-height: 1.5;
}

/* --- SEO-статья: блок предупреждения --- */
.seo-caution-box {
	background: #fff8e1;
	border: 1px solid #ffe082;
	border-left: 4px solid #f59f00;
	border-radius: 0 6px 6px 0;
	padding: 14px 18px;
	margin: 10px 0 20px;
	font-size: 14px;
	color: #555;
	line-height: 1.7;
}

.seo-caution-box p { margin: 0; }

/* --- SEO-статья: рейтинг --- */
.seo-rating-box {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #fff;
	border: 1px solid #dde7f7;
	border-radius: 8px;
	padding: 14px 20px;
	margin: 12px 0 18px;
}

.seo-rating__score {
	font-size: 1.8rem;
	font-weight: 700;
	color: #1a5aad;
	white-space: nowrap;
}

.seo-rating__label {
	font-size: 13px;
	color: #666;
	line-height: 1.5;
}

/* --- SEO-статья: блок с ценой --- */
.seo-price-box {
	background: #fff;
	border: 2px solid #1a5aad;
	border-radius: 10px;
	padding: 18px 22px;
	margin: 14px 0 20px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.seo-price__current {
	font-size: 2rem;
	font-weight: 700;
	color: #1a5aad;
}

.seo-price__old {
	font-size: 14px;
	color: #999;
	text-decoration: line-through;
}

.seo-price__note {
	font-size: 13px;
	color: #555;
}

/* --- Секция экспертов --- */
.section_experts-extra {
	padding: 60px 0;
	background: #f8f9fb;
}

.experts-section-title {
	text-align: center;
	margin-bottom: 35px;
}

/* --- FAQ: CTA-секция перед формой --- */
.section_faq-cta {
	background: #eef3fb;
	padding: 40px 20px;
	text-align: center;
}

.faq-cta-inner {
	max-width: 620px;
	margin: 0 auto;
}

.faq-cta-inner .section__title {
	margin-bottom: 14px;
}

.faq-cta-inner p {
	color: #555;
	line-height: 1.7;
	margin-bottom: 24px;
}

/* --- FAQ: список внутри ответов --- */
.faq-answer-list {
	padding-left: 20px;
	margin: 12px 0;
	line-height: 1.8;
}

/* --- Алерт / важное уведомление --- */
.alarm {
	background: #fff3cd;
	border-top: 3px solid #f59f00;
	border-bottom: 3px solid #f59f00;
}

.alarm-wrap {
	max-width: 1100px;
	margin: 0 auto;
	padding: 18px 20px;
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

.alarm-title {
	color: #856404;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	margin: 0;
}

.alarm-text {
	color: #555;
	font-size: 14px;
	line-height: 1.6;
	margin: 0;
}

/* --- Ошибка формата телефона в форме заказа --- */
.form__error {
	display: block;
	color: #c62828;
	font-size: 13px;
	margin: -6px 0 10px;
}
