/*
Theme Name: Astra Child
Template: astra
*/

a {
	text-decoration: none !important;
}

#header {
  display: flex !important;
}

footer#site-footer {
	display: block !important;
	padding: 0;
}

footer#site-footer svg {
	max-width: 32px;
}

.ta-sticky-header,
.turbo-header-template.ta-header-scroll-animation {
  top: 0;
}

.tahefobu-nav-menu {
  text-align: right !important;
}

.contacts__text {
	color: #1e293b !important;
	font-weight: 600;
}

.form__checkbox-link {
	color: var(--primary) !important;
}


/* Chained QUIZ */

#chained-quiz-action-1 {
	background: var(--Tertiary);
}

/* ===== КАСТОМНЫЕ РАДИО-КНОПКИ ДЛЯ CHAINED QUIZ (рабочая версия для input внутри label) ===== */

.chained-quiz-choices{
	display: flex;
	flex-wrap: wrap;
}

.chained-quiz-choice {
    position: relative;
    margin-bottom: 16px;
}

/* Скрываем стандартную радио-кнопку */
.chained-quiz-choice .chained-quiz-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Стилизация самого label - ОСНОВНОЙ БЛОК */
.chained-quiz-choice .chained-quiz-label {
    display: block !important;
    cursor: pointer;
    padding: 18px 20px 18px 55px !important;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    background: white;
    transition: all 0.25s ease;
    position: relative;
}

/* Кастомная кнопка (всегда видна) */
.chained-quiz-choice .chained-quiz-label::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #c0c0c0;
    border-radius: 50%;
    background: white;
    transition: all 0.2s ease;
    z-index: 1;
}

/* Выбранное состояние - через :has() (современные браузеры) */
.chained-quiz-choice .chained-quiz-label:has(.chained-quiz-radio:checked) {
    border-color: #1A365D;
    background: #f0f4fa;
}

.chained-quiz-choice .chained-quiz-label:has(.chained-quiz-radio:checked)::before {
    border-color: #1A365D;
    background: #1A365D;
    box-shadow: inset 0 0 0 4px white;
}

/* Hover эффект */
.chained-quiz-choice .chained-quiz-label:hover {
    border-color: #1A365D;
    background: #f8fafc;
}

/* Контент внутри */
.chained-quiz-choice .custom-answer {
    margin: 0;
}

.chained-quiz-choice .custom-answer h3 {
    color: #1A365D;
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
}

.chained-quiz-choice .custom-answer div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chained-quiz-choice .custom-answer span {
    font-size: 14px;
    color: #444;
    line-height: 1.4;
}

/* title question */

.chained-quiz-question{
	font-size: 1.875rem;
  	font-weight: 600;
  	line-height: 1.3em;
	color: var(--ast-global-color-2);
}



/* ========================================
   RESULT BLOCK STYLES - Психолог Квиз
   Цвет бренда: #1A365D
   ======================================== */

/* Основной контейнер результата */
/* .result-container {} */

/* Заголовок */
.result-title {
    font-size: 28px;
    font-weight: 300;
    color: #1A365D;
    margin: 0 0 8px 0;
    letter-spacing: -0.3px;
}

/* Декоративная линия под заголовком */
.result-title-line {
    width: 50px;
    height: 3px;
    background: #1A365D;
    margin: 0 0 30px 0;
}

/* Основной карточка-блок */
.result-card {
    border: 1px solid #eaeaea;
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 20px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

/* Секция-заголовок (например "Ваша реальность", "Ваша база") */
.result-section-label {
    font-size: 13px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px 0;
    font-weight: 500;
}

/* Строка с галочкой (позитив) */
.result-check-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
    padding: 6px 0 6px 8px;
}

.result-check-icon {
    font-size: 18px;
    color: #1A365D;
}

.result-check-text {
    font-size: 16px;
    color: #333;
}

/* Строка с крестиком (проблема) */
.result-cross-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
    padding: 8px 0 8px 8px;
/*     border-left: 3px solid #1A365D; */
}

.result-cross-icon {
    font-size: 18px;
    color: #1A365D;
}

.result-cross-text {
    font-size: 16px;
    color: #333;
}

.result-cross-text strong {
    color: #1A365D;
}

/* Строка с дефисом (обычный список) */
.result-dash-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
    padding: 6px 0 6px 8px;
}

.result-dash-icon {
    font-size: 18px;
    color: #1A365D;
}

.result-dash-text {
    font-size: 16px;
    color: #333;
}

/* Блок "НО" разделитель */
.result-but-divider {
    text-align: center;
    margin: 8px 0 20px 0;
}

.result-but-badge {
    font-size: 20px;
    font-weight: 600;
    color: #1A365D;
    background: #f0f4fa;
    padding: 4px 20px;
    border-radius: 30px;
    letter-spacing: 1px;
}

/* Акцентный блок (светлый фон) */
.result-accent-block {
    background: #f0f4fa;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 20px 0 20px 0;
}

.result-accent-title {
    font-size: 15px;
    font-weight: 500;
    color: #1A365D;
    margin: 0 0 12px 0;
    letter-spacing: -0.2px;
    text-transform: uppercase;
}

.result-accent-text {
    font-size: 18px;
    font-weight: 600;
    color: #1A365D;
    margin: 0;
    text-align: center;
}

/* Центрированный акцент */
.result-accent-centered {
	display: flex;
  	align-items: center;
  	justify-content: center;
    background: #f0f4fa;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 20px 0 20px 0;
}

.result-accent-centered-text {
    font-size: 18px;
    letter-spacing: -0.2px;
}

/* Разделительная линия с градиентом */
.result-divider {
    height: 1px;
    background: linear-gradient(90deg, #eaeaea 0%, #1A365D 50%, #eaeaea 100%);
    margin: 24px 0 24px 0;
}

/* Статусные строки (например "Вы не новичок → но нет роста") */
.result-status-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
    padding: 4px 0;
}

.result-status-icon {
    font-size: 18px;
    color: #1A365D;
}

.result-status-text {
    font-size: 16px;
    color: #888;
}

/* Кавычки для ощущений */
.result-quote-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
    padding: 6px 0 6px 8px;
/*     border-left: 3px solid #1A365D; */
}

.result-quote-icon {
    font-size: 18px;
    color: #1A365D;
}

.result-quote-text {
    font-size: 16px;
    color: #333;
    font-style: italic;
}

/* Схема (например продукт → деньги) */
.result-scheme {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.result-scheme-item {
    font-size: 16px;
    color: #333;
}

.result-scheme-arrow {
    font-size: 20px;
    color: #1A365D;
}

.result-scheme-contrast {
    font-size: 18px;
    font-weight: 600;
    color: #1A365D;
    margin: 0;
    text-align: center;
}

/* ГЛАВНЫЙ СИНИЙ БЛОК (Что изменится / На диагностике) */
.result-main-blue {
    background: #1A365D;
    border-radius: 16px;
    padding: 24px 28px;
    margin: 16px 0 28px 0;
}

.result-main-blue-label {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 16px 0;
    font-weight: 500;
}

.result-main-blue-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.result-main-blue-icon {
    font-size: 18px;
    color: #ffffff;
}

.result-main-blue-text {
    font-size: 16px;
    color: #ffffff;
}

/* Список в синем блоке */
.result-blue-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Кнопка */
.result-button-wrapper {
    text-align: left;
    margin-top: 8px;
}

.result-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: #1A365D;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 28px;
    border: 2px solid #1A365D;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.result-button:hover {
    background: #1A365D;
    color: #ffffff;
}

.result-button-arrow {
    font-size: 20px;
    transition: transform 0.25s ease;
}

.result-button:hover .result-button-arrow {
    transform: translateX(4px);
}

/* Подпись под кнопкой */
.result-button-note {
    font-size: 12px;
    color: #aaa;
    margin: 12px 0 0 0;
}

/* Список с точками */
.result-dot-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.result-dot-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-dot {
    width: 6px;
    height: 6px;
    background: #1A365D;
    border-radius: 50%;
}

.result-dot-text {
    font-size: 15px;
    color: #333;
}

.result-dot-item p {
	margin: 0;
}

/* Блок с тремя пунктами (для начинающего) */
.result-three-items {
    margin-bottom: 20px;
}

/* Contact form 7  */

#site__form-block p{
	margin: 0 0 5px 0;
}

.form__label{
  font-size: 14px;
  color: #6C757D;
  letter-spacing: 1px;
}

.form__btn,
input[type="submit"]{
	background-color: var(--Tertiary);
	border-radius: 30px;
}

/* Elementor base  */
.elementor img {
	border-radius: 10px !important;
}
.e-heading-base{
	text-wrap: balance;
}

.footer__items {
	display: flex;
	align-items: center;
	justify-content: center;
}

.turbo-footer-template .e-svg-base{
	max-width: 32px !important;
  max-height: 32px !important;
}

#scroll-btn {
	font-size: 16px;
	font-weight: 600;
	padding-right: 2.5rem;
	opacity: 0;
	visibility: hidden;
	box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
	transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
	z-index: 1000;
}
#scroll-btn.visible {
	opacity: 1;
	visibility: visible;
}
