/* Fonts */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');


/* Reset */

* {padding: 0;	margin: 0; -webkit-tap-highlight-color:transparent;}
*, *:before, *:after {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
:focus, :active, a:focus, a:active {outline: none;}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
html, body {
	width: 100%;
	min-height: 100%;
	font-size: 100%;
	line-height: normal;
	-webkit-text-size-adjust: none
}
html {
	display: flex; /* это растягивает body на всю высоту */
}

input, button, textarea, select {
	font-family: inherit;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	border-radius: 0;
}
input::placeholder {opacity: 1;}
input::-ms-clear {display: none;}
button::-moz-focus-inner {padding: 0; border: 0;}
button, .button, input[type="button"], input[type=submit] {cursor: pointer;}
button[disabled], input[disabled] {cursor: default;}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {display: none;}

a, a:hover, a:visited {text-decoration: none;}
img {vertical-align: top; max-width: 100%;}

h1,h2,h3,h4,h5,h6 {font-size: inherit; font-weight: normal;}

ol, ul {list-style: none;}
ol {counter-reset: myCounter;}
ol li:before {
	counter-increment: myCounter;
	content:counter(myCounter);
	margin-right: 5px;
}

table {border-collapse: collapse; border-spacing: 0;}
th {font-weight: inherit;}


/* Global */

:root {
	--white: #FFFFFF;
	--black: #000000;
	--gray: #EDEDED;
	--blue: #E31E24;
	--green: #219653;
	--red: #E31E24;
	--yellow: #F2C94C;
}

body {
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	font-size: 16px;
	color: var(--black);
	background: var(--gray);
	overflow-x: hidden;
	padding-top: env(safe-area-inset-top, 0);
	padding-bottom: env(safe-area-inset-bottom, 0);
	padding-left: env(safe-area-inset-left, 0);
	padding-right: env(safe-area-inset-right, 0);
}

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

.container {
	max-width: 100%;
	overflow-x: hidden;
}

.page {
	width: 100%;
	min-width: 320px;
	min-height: 100%;
	display: flex;
	flex-direction: column;
	position: relative;
}

a, a:before, button {
	transition: 0.3s;
}
a {
	color: var(--blue);
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}


/* Main */

.main {
	flex: 1;
	display: grid;
	align-items: center;
	width: 100%;
	max-width: 1365px;
	padding: 30px;
	margin: 0 auto;
}
.main_columns {
	grid-template-columns: repeat(2, auto);
	grid-gap: 30px;
	align-items: stretch;
}
.main_columns .social {
	margin-bottom: -25px;
}
.main_columns + .footer {
	position: absolute;
	bottom: 0;
	right: 0;
}
.main__sticky {
	min-height: calc(100vh - 60px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: sticky;
	top: 30px;
}


/* Header */

.header_center {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.header__logo {
	font-weight: 500;
	font-size: 40px;
	display: grid;
	grid-template-columns: repeat(2, auto);
	grid-gap: 0.25em;
	align-items: center;
	justify-content: start;
	margin-bottom: 25px;
}
.header__logo img {
	width: 6em;
}
.header__title {
	font-weight: 700;
	font-size: 46px;
	max-width: 900px;
	margin-bottom: 25px;
}
.header__desc {
	font-weight: 500;
	font-size: 24px;
	max-width: 900px;
	margin-bottom: 25px;
}


/* Checklist */

.checklist {
	display: flex;
	flex-wrap: wrap;
	width: calc(100% + 7px);
	margin-bottom: 25px;
}
.checklist_center {
	justify-content: center;
}
.checklist__item {
	display: block;
	background: #fff;
	border-radius: 10px;
	padding: 15px;
	font-family: 'Roboto';
	font-weight: 300;
	font-size: 18px; /* Увеличенный размер шрифта */
	line-height: 1.4;
	margin: 0 7px 7px 0;
}
.checklist__item::before {
	content: '';
	display: none;
	margin: 0 5px -2px 0;
}
.checklist__item_big {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-gap: 12px;
	align-items: center;
}
.checklist__item_big::before {
	width: 32px;
	height: 32px;
	margin: 0;
}


/* Social */

.social {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	width: calc(100% + 25px);
}
.social_center {
	justify-content: center;
}
.social__item {
	display: block;
	border-radius: 20px;
	background: var(--white);
	box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.08), 0px 4px 4px 0px rgba(0, 0, 0, 0.04);
	padding: 15px 10px;
	width: fit-content;
	max-width: 211px;
	margin: 0 25px 25px 0;
	display: grid;
	grid-template-columns: 48px 1fr;
	grid-gap: 5px;
	align-items: center;
	text-decoration: none;
	color: var(--black);
	font-family: 'Roboto', sans-serif;
}
.social__item_big {
	max-width: 286px;
	grid-template-columns: 82px 1fr;
}
.social__item_red {
	color: var(--white);
	background: var(--red);
}
.social__item_green {
	color: var(--white);
	background: var(--green);
}
.social__icon img {
	width: 100%;
}
.social__icons {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}
.social__icons a {
    display: inline-block;
}
.social__icons img {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    object-fit: contain;
    display: block;
}

/* приятный hover */
.social__icons a:hover img {
    transform: scale(1.1);
}

.social__item_messengers {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    max-width: 286px;
    padding: 15px;
}

/* адаптив для плашки мессенджеров */
@media (max-width:767px) {
	.social__item_messengers {
		max-width: 100%;
		width: 100%;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
	.social__icons img {
		width: 36px !important;
		height: 36px !important;
		max-width: 36px !important;
	}
}
@media (max-width:414px) {
	.social__item_messengers {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		padding: 12px 10px;
	}
	.social__icons {
		gap: 8px;
	}
	.social__icons img {
		width: 32px !important;
		height: 32px !important;
		max-width: 32px !important;
	}
	.social__text b {
		font-size: 14px;
	}
	.social__text {
		font-size: 9px;
	}
}

.social__text {
	font-weight: 300;
	font-size: 10px;
	line-height: 1.2em;
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 5px;
}
.social__text b {
	font-weight: 700;
	font-size: 16px;
	line-height: normal;
	display: block;
}
@media (hover: hover) {
	.social__item:hover {
		transform: scale(1.07);
	}
}


/* Media */

.media {
	display: block;
	position: relative;
	width: 100%;
	height: 0;
	border-radius: 20px;
	overflow: hidden;
	isolation: isolate;
	background: #fff;
}
.media_big {
	padding-bottom: 45%;
	margin-bottom: 25px;
}
.media_square {
	width: 600px;
	padding-bottom: 100%;
}
.media_portrait {
	width: 400px;
	padding-bottom: 150%;
}
.media_landscape {
	width: 600px;
	padding-bottom: 65%;
}
.media__image,
.media__video,
.media__slider {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}
.media__image img,
.media__video video {
	object-fit: cover;
	object-position: center;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.slick-list,
.slick-track,
.slick-slide {
	height: 100%;
}
.slick-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.media__video iframe {
	width: 100%;
	height: 100%;
}
.media__sound {
	width: 40px;
	height: 40px;
	position: absolute;
	bottom: 30px;
	right: 30px;
	border: none;
	background: url(../img/sound-off.svg) center no-repeat;
	background-size: contain;
}
.media__sound_on {
	background: url(../img/sound-on.svg) center no-repeat;
	background-size: contain;
}
@media (hover: hover) {
	.media__sound:hover {
		filter: brightness(150%);
	}
}
.media__slider .media__sound {
	bottom: 60px;
}


/* Slider */

.slick-list {
	height: 100%;
	overflow: hidden;
}
.slick-track {
	height: 100%;
	display: flex;
}
.slick-slide {
	position: relative;
}

.media__slide {
	position: relative;
}

.slick-arrow {
	position: absolute;
   top: 20%;
	bottom: 25%;
	width: 20%;
	cursor: pointer;
	border: none;
	background: none;
	font-size: 0;
	z-index: 1000;
}
.slick-next {
	right: 0;
}
.slick-prev {
	left: 0;
}

.progress {
	position: absolute;
	bottom: 25px;
	left: 30px;
	right: 30px;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	grid-gap: 18px;
	z-index: 1001;
}
.progress__item {
	cursor: pointer;
}
.progress__bar {
	width: 100%;
	height: 10px;
	background: var(--white);
	border-radius: 50px;
	opacity: 0.7;
}

.progress__bar:hover {
	opacity: 1;
}
.progress__line {
	height: 10px;
	background: var(--blue);
	border-radius: 50px;
}


/* Quiz Styles - Merged from quiz.css and verga_new.css */

.quiz-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: none; /* Using the display property from verga_new.css */
    justify-content: center;
    align-items: center;
    z-index: 99999; /* Using higher z-index from verga_new.css */
    opacity: 0;
    visibility: hidden; /* Keeping visibility:hidden from quiz.css */
    transition: all 0.3s ease;
    /* Добавлено для лучшего центрирования */
    inset: 0;
}

.quiz-overlay.active {
    display: flex; /* Changed to flex to make it visible */
    opacity: 1;
    visibility: visible;
}

.quiz-popup {
    background: white;
    border-radius: 15px;
    width: 95%;
    max-width: 700px; /* Using value from verga_new.css (was 800px in quiz.css) */
    max-height: 95vh; /* Taking the higher value from verga_new.css */
    overflow-y: auto;
    padding: 50px 40px; /* Taking the higher value from quiz.css */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    z-index: 100000; /* Using higher value from verga_new.css */
    transform: scale(0.9); /* Taking the scale transform from quiz.css */
    transition: transform 0.3s ease;
    position: fixed; /* Для точного центрирования */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9); /* Обновлено для центрирования */
    margin: 0; /* Убираем auto margin */
}

.quiz-overlay.active .quiz-popup {
    transform: translate(-50%, -50%) scale(1); /* Обновлено для правильного увеличения */
}

.quiz-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    z-index: 100001; /* Using value from verga_new.css */
}

.quiz-close:hover {
    color: #000;
}

.quiz-question {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    color: #E31E24;
}

.quiz-progress {
    text-align: center;
    margin-bottom: 20px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill {
    height: 100%;
    width: 20%;
    background: linear-gradient(90deg, #E31E24, #b0151a);
    transition: width 0.3s ease;
}

.options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Using value from quiz.css */
    margin-bottom: 20px;
    justify-content: center; /* Taking this from quiz.css */
}

.option {
    flex: 1;
    min-width: 200px; /* Using value from quiz.css */
    padding: 12px;
    background: #f5f5f5;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border: 2px solid transparent;
}

.option:hover {
    background: #e9e9e9;
    transform: translateY(-2px); /* Using transform from verga_new.css */
}

.option.selected {
    background: #E31E24;
    color: white;
    border-color: #b0151a;
}

.quiz-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 5px;
}

.next-btn, .submit-btn {
    background: #E31E24;
    color: white;
}

.next-btn:hover, .submit-btn:hover {
    background: #b0151a;
    transform: translateY(-2px);
}

.submit-btn i {
    margin-right: 8px;
}

.submit-btn .btn-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
    display: inline-block;
    background: transparent;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.prev-btn {
    background: #e0e0e0;
    color: #333;
}

.prev-btn:hover {
    background: #d0d0d0;
    transform: translateY(-2px); /* Using transform from verga_new.css */
}

.quiz-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.quiz-navigation {
    display: flex;
    justify-content: space-between; /* Using value from quiz.css */
    margin-top: 15px;
}

/* Для случая, когда в навигации только одна кнопка (например, на первом шаге) */
.quiz-navigation:has(.quiz-btn:only-child) {
    justify-content: flex-end;
}

/* Альтернативное решение для браузеров, не поддерживающих :has() */
.quiz-navigation .quiz-btn:only-child {
    margin-left: auto;
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
    animation: fadeIn 0.3s ease; /* Using animation from verga_new.css */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Contact form styles from quiz.css */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Using larger gap from quiz.css */
    margin: 20px 0;
    padding: 20px 0; /* From quiz.css */
}

.contact-input {
    padding: 15px 20px; /* Using values from quiz.css */
    border: 2px solid #e0e0e0; /* Using values from quiz.css */
    border-radius: 12px; /* Using values from quiz.css */
    font-size: 1rem;
    transition: all 0.3s ease; /* From quiz.css */
    background-color: #fafafa; /* From quiz.css */
    font-family: inherit;
}

.contact-input:focus {
    outline: none;
    border-color: #E31E24;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.2);
}

.contact-input::placeholder {
    color: #aaa; /* From quiz.css */
    opacity: 0.7; /* From quiz.css */
}

/* Additional form styles from quiz.css */
.contact-input {
    position: relative; /* From quiz.css */
    z-index: 1; /* From quiz.css */
}

.contact-input:focus {
    transform: translateY(-2px); /* From quiz.css */
}

/* Media queries for desktop */
@media (min-width: 769px) {
    .quiz-popup {
        padding: 60px 50px;
        max-width: 900px; /* Increasing width further */
    }

    .quiz-question {
        font-size: 1.4rem;
        margin-bottom: 25px;
    }

    .options {
        gap: 12px;
    }

    .option {
        padding: 16px;
        font-size: 1.05rem;
        min-width: 250px;
    }

    .contact-input {
        padding: 18px 24px;
        font-size: 1.1rem;
        min-height: 55px;
    }

    .quiz-btn {
        padding: 14px 25px;
        font-size: 1.05rem;
        border-radius: 30px;
    }

    .contact-form {
        gap: 25px;
    }
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .quiz-popup {
        width: 98%;
        padding: 30px 20px;
    }

    .options {
        gap: 8px;
    }

    .option {
        flex: 1;
        min-width: 100%;
        padding: 10px;
        font-size: 0.85rem;
    }

    .quiz-question {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .quiz-btn {
        padding: 10px 15px;
        font-size: 0.95rem;
        margin: 3px;
    }
}

@media (max-width: 480px) {
    .quiz-popup {
        padding: 25px 15px;
        width: 99%;
    }

    .quiz-close {
        top: 5px;
        right: 10px;
        font-size: 24px;
    }

    .quiz-navigation {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .prev-btn, .next-btn, .submit-btn {
        width: 100%;
    }
}


/* Footer */

.footer {
	padding: 10px 30px;
	font-size: 10px;
	text-align: right;
}


/* Responsive */

/* 1280 */

@media (max-width:1365px) {
	.main {max-width: 1280px;}

	.header__logo, .header__title {font-size: 38px;}
	.header__desc {font-size: 22px;}

	.media_square, .media_landscape {width: 650px;}
	.media_portrait {width: 430px;}
}

/* ========================================
   ПЛАНШЕТНАЯ АДАПТАЦИЯ (до 1023px)
   ======================================== */

@media (max-width:1023px) {
	/* Основной контейнер */
	.main {
		max-width: 100%;
		width: 100%;
		padding: 25px 20px;
	}

	.main_columns {
		grid-template-columns: 1fr;
		grid-gap: 25px;
	}

	.main_columns .social {
		margin-bottom: 0;
	}

	.main_columns + .footer {
		position: static;
	}

	.main__sticky {
		min-height: auto;
		top: 0;
		position: static;
	}

	/* Слайдер наверху */
	.main_mediatop {display: flex; flex-direction: column;}
	.main_mediatop .main__sidebar {order: -1; margin-bottom: 25px; margin-top: 0;}
	.main_mediatop .main__sidebar .main__sticky {position: static; display: block;}

	.header {text-align: left;}
	.header__logo {justify-content: start; margin-bottom: 15px;}

	.header__logo img {
		width: 4.5em;
	}

	.header__title {
		font-size: 28px;
		margin-bottom: 15px;
	}

	.header__desc {
		font-size: 17px;
		margin-bottom: 15px;
	}

	.checklist {width: 100%; margin-bottom: 20px;}
	.checklist__item {width: auto; padding: 14px 12px; font-size: 15px;}

	.social {width: 100%; justify-content: flex-start; align-items: flex-start;}
	.social__item {margin: 0 15px 15px 0; max-width: 320px; width: auto;}
	.social__item_big {grid-template-columns: 60px 1fr; max-width: 380px;}
	.social__item_messengers {max-width: 320px; width: auto; padding: 14px 12px;}
	.social__icons {justify-content: flex-start; gap: 12px;}
	.social__icons img {width: 38px !important; height: 38px !important; max-width: 38px !important;}

	.social__text b {
		font-size: 16px;
	}

	.social__text {
		font-size: 10px;
	}

	.media {width: 100%; max-width: 500px; margin: 0; border-radius: 20px;}

	.media_square,
	.media_landscape,
	.media_portrait {
		width: 100%;
		max-width: 500px;
	}

	.media_big {
		padding-bottom: 60%;
	}

	.progress {
		bottom: 12px;
		left: 20px;
		right: 20px;
		grid-gap: 8px;
	}

	.progress__bar,
	.progress__line {
		height: 5px;
	}

	/* Текст на слайдах — позиционирование */
	.slide-description {
		bottom: 40px;
		left: 50%;
		transform: translateX(-50%);
		width: 90%;
		max-width: 450px;
		padding: 0 12px;
	}

	.slide-title {
		font-size: 26px;
		margin-bottom: 5px;
	}

	.slide-subtitle {
		font-size: 17px;
	}

	.slide-overlay {
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		height: 100px;
		background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
		z-index: 999;
	}

	.footer {padding: 10px 20px; text-align: left;}
}

/* ========================================
   МОБИЛЬНАЯ АДАПТАЦИЯ (до 767px)
   ======================================== */

@media (max-width:767px) {
	/* Основной контейнер */
	.main {
		max-width: 100%;
		width: 100%;
		padding: 20px 15px;
	}

	.main_columns {
		grid-template-columns: 1fr;
		grid-gap: 20px;
	}

	.main_columns .social {
		margin-bottom: 0;
	}

	.main_columns + .footer {
		position: static;
	}

	.main__sticky {
		min-height: auto;
		top: 0;
		position: static;
	}

	/* Слайдер наверху */
	.main_mediatop {display: flex; flex-direction: column;}
	.main_mediatop .main__sidebar {order: -1; margin-bottom: 20px; margin-top: 0;}
	.main_mediatop .main__sidebar .main__sticky {position: static; display: block;}

	.header {text-align: left;}
	.header__logo {justify-content: start; margin-bottom: 12px;}

	.header__logo img {
		width: 4em;
	}

	.header__title {
		font-size: 24px;
		margin-bottom: 12px;
	}

	.header__desc {
		font-size: 15px;
		margin-bottom: 12px;
	}

	.checklist {width: 100%; margin-bottom: 15px;}
	.checklist__item {width: auto; padding: 12px 10px; font-size: 13px;}

	.social {width: 100%; justify-content: flex-start; align-items: flex-start;}
	.social__item {margin: 0 10px 10px 0; max-width: 280px; width: auto;}
	.social__item_big {grid-template-columns: 55px 1fr; max-width: 340px;}
	.social__item_messengers {max-width: 280px; width: auto; padding: 12px 10px;}
	.social__icons {justify-content: flex-start; gap: 10px;}
	.social__icons img {width: 36px !important; height: 36px !important; max-width: 36px !important;}

	.social__text b {
		font-size: 15px;
	}

	.social__text {font-size: 10px;}

	.media {width: 100%; max-width: 400px; margin: 0; border-radius: 20px;}

	.media_square,
	.media_landscape,
	.media_portrait {
		width: 100%;
		max-width: 400px;
	}

	.media_big {
		padding-bottom: 60%;
	}

	.progress {
		bottom: 10px;
		left: 15px;
		right: 15px;
		grid-gap: 6px;
	}

	.progress__bar,
	.progress__line {
		height: 4px;
	}

	/* Текст на слайдах — позиционирование */
	.slide-description {
		bottom: 35px;
		left: 50%;
		transform: translateX(-50%);
		width: 90%;
		max-width: 360px;
		padding: 0 10px;
	}

	.slide-title {
		font-size: 22px;
		margin-bottom: 4px;
	}

	.slide-subtitle {
		font-size: 15px;
	}

	.slide-overlay {
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		height: 90px;
		background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
		z-index: 999;
	}

	.footer {padding: 10px 15px; text-align: left;}
}

/* Мобильные landscape */
@media (max-width:767px) and (orientation: landscape) {
	.main {padding: 10px 15px;}
	.header__title {font-size: 20px; margin-bottom: 8px;}
	.header__desc {font-size: 13px; margin-bottom: 8px;}
	.checklist {margin-bottom: 10px;}
	.checklist__item {padding: 8px; font-size: 11px;}
	.social__item {margin-bottom: 8px;}
	.media {max-width: 300px;}
	.media_big {padding-bottom: 45%;}
	.slide-title {font-size: 18px;}
	.slide-subtitle {font-size: 13px;}
}

/* iPhone 12 Pro и подобные (390px) */
@media (max-width:430px) and (min-width:375px) {
	.main {
		padding: 20px 16px;
	}

	.header__title {
		font-size: 24px;
	}

	.header__desc {
		font-size: 15px;
	}

	.checklist__item {
		font-size: 13px;
		padding: 12px 10px;
	}

	.social__text b {
		font-size: 15px;
	}

	.media {
		max-width: 380px;
	}

	.slide-title {
		font-size: 22px;
	}

	.slide-subtitle {
		font-size: 15px;
	}
}

/* iPhone SE и меньше */
@media (max-width:385px) {
	.main {padding: 18px 14px;}
	.header__logo, .header__title {font-size: 22px;}
	.header__desc {font-size: 14px;}
	.checklist__item {font-size: 12px; padding: 10px 8px;}
	.checklist__item br {display: none;}
	.social__item {padding: 12px 8px;}
	.social__item_big {grid-template-columns: 50px 1fr;}
	.social__text b {font-size: 14px;}
	.social__text {font-size: 9px;}
	.social__icons img {width: 32px !important; height: 32px !important; max-width: 32px !important;}
	.media {max-width: 350px;}
	.slide-title {font-size: 20px;}
	.slide-subtitle {font-size: 14px;}
	.slide-description {bottom: 30px;}
}

/* iPhone 12 mini и меньше */
@media (max-width:374px) {
	.main {padding: 15px 12px;}
	.header__logo, .header__title {font-size: 20px;}
	.header__desc {font-size: 13px;}
	.checklist__item {font-size: 11px; padding: 8px 6px;}
	.social__item {padding: 10px 6px;}
	.social__item_big {grid-template-columns: 45px 1fr;}
	.social__text b {font-size: 13px;}
	.social__text {font-size: 8px;}
	.social__icons img {width: 30px !important; height: 30px !important; max-width: 30px !important;}
	.media {max-width: 340px;}
	.slide-title {font-size: 18px;}
	.slide-subtitle {font-size: 13px;}
	.slide-description {bottom: 28px; width: 92%;}
}

/* Очень маленькие экраны */
@media (max-width:340px) {
	.main {padding: 12px 10px;}
	.header__logo, .header__title {font-size: 18px;}
	.header__desc {font-size: 12px;}
	.checklist__item {font-size: 10px; padding: 6px 5px;}
	.social__item {padding: 10px 5px;}
	.social__item_big {grid-template-columns: 40px 1fr;}
	.social__text b {font-size: 12px;}
	.social__text {font-size: 8px;}
	.social__icons img {width: 28px !important; height: 28px !important; max-width: 28px !important;}
	.media {max-width: 300px;}
	.slide-title {font-size: 16px;}
	.slide-subtitle {font-size: 12px;}
	.slide-description {bottom: 25px;}
}

/* Slide container for descriptions */
.slide-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Slide descriptions */
.slide-description {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    color: black;
    text-align: center;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Убрали градиент */
.slide-overlay {
    display: none;
}

/* Title in slide description */
.slide-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 5px;
    color: white;
    text-shadow: 0 0 3px #000, 0 0 5px #000, 2px 2px 10px rgba(0,0,0,1), 4px 4px 15px rgba(0,0,0,1);
}

/* Subtitle in slide description */
.slide-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: white;
    text-shadow: 0 0 3px #000, 0 0 5px #000, 2px 2px 10px rgba(0,0,0,1), 4px 4px 15px rgba(0,0,0,1);
}

/* Privacy policy checkbox styles */

.privacy-policy {
    margin: 15px 0;
    font-size: 0.85rem;
    color: #555;
}

.privacy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.privacy-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #E31E24;
    border-radius: 4px;
    appearance: auto;
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    border: 2px solid #ccc;
}

.checkbox-text {
    line-height: 1.5;
}

.checkbox-text a {
    color: #E31E24;
    text-decoration: underline;
}

.checkbox-text a:hover {
    text-decoration: none;
}

/* Remove scrollbar from quiz popup */
.quiz-popup {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.quiz-popup::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

@media (max-width:370px) {
	.main, .footer {
		padding-left: 15px;
		padding-right: 15px;
		text-align: center; /* Центрируем текст на экранах шириной до 370px */
	}
}

/* 320 */

@media (max-width:350px) {
	.header__logo,	.header__title {font-size: 22px;}
	.header__desc {font-size: 15px;}
}

