a,
svg,
path,
button {
	transition: all 0.2s;
}

body {
	margin: 0;
	padding: 0;
	background: 100% 0% / auto url(../img/bg.svg) no-repeat,
-webkit-linear-gradient( 116deg, rgb(48,53,57) 0%, rgb(69,77,83) 100%);
}

.red {
	color: #ff7c75;
}

.green {
	color:#05C947;
}

.yellow {
	color: var(--theme-add);
}

.section-header {
	position: relative;
	z-index: 5;
	padding: 1em 0;
}


.section-first {
	padding: 0;
	min-height: 750px;
}

.header {
	min-height: 80px;
	display: grid;
	grid-auto-flow: column;
	column-gap: 2.5em;
	align-items: center;
	padding-bottom: 0;
	grid-template-columns: 145px auto auto 1fr 1fr;
}

.header__descriptor {
	font-family: var(--theme-font);
	color: var(--theme-light);
	font-weight: 200;
}

.header__delivery {
	display: grid;
	grid-template-columns: 150px 1fr;
	align-items: center;
	font-family: var(--theme-font);
	color: var(--theme-light);
	font-weight: 200;
}

.contacts {
	display: grid;
	grid-auto-flow: row;
	row-gap: 0.5em;
	align-items: center;
	text-align: right;
	font-family: var(--theme-font);
	color: var(--theme-dark);
}

.contacts__backcall {
	transition: 0.3s;
	background: transparent;
	border: none;
	text-align: right;
	font-size: large;
	font-weight: 500;
	color: var(--theme-light-80);
}

.contacts__backcall:hover {
	color: var(--theme-accent);
}

.inner-first {
	padding: 5vh 0 5vh 0;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: 100% 100%;
}

.content-first {
	display: grid;
	row-gap: 1.5em;
	align-content: start;
	width: 55%;
	grid-auto-flow: row;
}

.tip {
	width: fit-content;
	padding: 0.5em 0.5em 0.5em 2em;
	border: 1px solid #565c62;
	border-radius: 8px;
	background: 0% 50% / contain url(/img/check.png) no-repeat;
	font-family: var(--theme-font);
	font-size: 1.2em;
	color: var(--theme-light);
	font-weight: 200;
}

.title {
	color: #fff;
	text-transform: uppercase;
}

.subtitle {
	color: #fff;
	font-size: 1.7em;
	padding: 0.1em;
}

.adv-dynamic {
	padding: 1em 0 1em 0;
	display: grid;
	justify-items: start;
	justify-content: start;
	text-align: center;
	grid-auto-flow: row;
	row-gap: 0.5em;
}

.underline {
	border-bottom: 2px solid var(--theme-dark-50);
}

.thin {
	font-weight: 500;
}

.buttons-group {
	position: relative;
	margin-top: 1.5em;
	display: grid;
	grid-template-rows: 1fr 1fr;
	row-gap: 2em;
}

.cta {
	position: absolute;
	top: 0;
	left: 500px;
	font-size: 1.25em;
}

.cta:before {
	background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 58 58' style='enable-background:new 0 0 58 58;' xml:space='preserve'%3E%3Cg%3E%3Cpath fill='%23ffe375' d='M21,14h-5V9c0-0.553-0.448-1-1-1s-1,0.447-1,1v5H9c-0.552,0-1,0.447-1,1s0.448,1,1,1h5v5c0,0.553,0.448,1,1,1s1-0.447,1-1 v-5h5c0.552,0,1-0.447,1-1S21.552,14,21,14z'/%3E%3Cpath fill='%23ffe375' d='M49,14H37c-0.552,0-1,0.447-1,1s0.448,1,1,1h12c0.552,0,1-0.447,1-1S49.552,14,49,14z'/%3E%3Cpath fill='%23ffe375' d='M30,0h-2H0v28v2v28h28h2h28V30v-2V0H30z M2,2h26v26H2V2z M2,56V30h26v26H2z M56,56H30V30h26V56z M30,28V2h26v26H30z'/%3E%3Cpath fill='%23ffe375' d='M37,47h12c0.552,0,1-0.447,1-1s-0.448-1-1-1H37c-0.552,0-1,0.447-1,1S36.448,47,37,47z'/%3E%3Cpath fill='%23ffe375' d='M37,41h12c0.552,0,1-0.447,1-1s-0.448-1-1-1H37c-0.552,0-1,0.447-1,1S36.448,41,37,41z'/%3E%3Cpath fill='%23ffe375' d='M20.707,37.293c-0.391-0.391-1.023-0.391-1.414,0L15,41.586l-4.293-4.293c-0.391-0.391-1.023-0.391-1.414,0 s-0.391,1.023,0,1.414L13.586,43l-4.293,4.293c-0.391,0.391-0.391,1.023,0,1.414C9.488,48.902,9.744,49,10,49 s0.512-0.098,0.707-0.293L15,44.414l4.293,4.293C19.488,48.902,19.744,49,20,49s0.512-0.098,0.707-0.293 c0.391-0.391,0.391-1.023,0-1.414L16.414,43l4.293-4.293C21.098,38.316,21.098,37.684,20.707,37.293z'/%3E%3C/g%3E%3C/svg%3E%0A");
	content: "";
	display: block;
	width: 30px;
	height: 30px;
	background-repeat: no-repeat;
	background-position: center;
	position: absolute;
	top: 10px;
	left: -45px;
}
.cta:after {
	content: "";
	display: block;
	width: 93px;
	height: 35px;
	background-image: url(../img/arrow.png);
	background-repeat: no-repeat;
	background-position: center;
	position: absolute;
	bottom: -50px;
	left: -50px;
}

.complexButton {
	width: fit-content;
	min-width: 400px;
	display: grid;
	align-items: center;
	height: 95px;
	border-radius: 15px;
	transition: 0.3s;
	background-image: -moz-linear-gradient(
		90deg,
		rgba(244, 60, 57, 0.6) 0%,
		rgba(244, 79, 79, 0.6) 100%
	);
	background-image: -webkit-linear-gradient(
		90deg,
		rgba(244, 60, 57, 0.6) 0%,
		rgba(244, 79, 79, 0.6) 100%
	);
	background-image: -ms-linear-gradient(
		90deg,
		rgba(244, 60, 57, 0.6) 0%,
		rgba(244, 79, 79, 0.6) 100%
	);
	box-shadow: 0px 5px 0px 0px rgb(212 71 69 / 0%),
		0px 17px 57px 0px rgb(212 71 69 / 68%);
	text-transform: uppercase;
	padding: 0 1em;
}

.complexButton:hover {
}

.complexButton h4 {
	color: #fff;
	font-family: Futura;
	font-weight: 400;
}

.complexButton--secondary {
	background: transparent;
	background-image: none;
	box-shadow: none;
	border: 3px solid var(--theme-add);
}

.complexButton--secondary:hover {
	background-color: var(--theme-add);
}

.complexButton--secondary h4 {
	color: var(--theme-add);
	font-family: Futura;
	font-weight: 400;
}

.complexButton--secondary:hover h4 {
	color: var(--theme-dark);
}

.complexButtonGroup {
	display: grid;
	grid-auto-flow: row;
	text-align: left;
}

.ns-blicked::after {
	visibility: hidden;
}

.complexButtonGroup__img {
	display: grid;
	grid-auto-flow: row;
	text-align: left;
	padding: 0 2em;
	background: 95% 50% / contain url("/img/arrow-right.svg") no-repeat;
}

.complexButton__title {
	align-self: end;
	font-weight: 800;
	text-transform: uppercase;
	line-height: 1.5em;
	color: var(--theme-dark);
	transition: 0.3s;
}

.complexButton__subtitle {
	align-self: start;
	font-weight: bold;
	color: var(--theme-dark-33);
	transition: 0.3s;
}

/*section-separator*/

.section-separator {
	background: var(--theme-dark);
}

.separator-messengers {
	height: auto;
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-template-areas:
		"separator__title messengersBlock"
		"separator__desc messengersBlock";
	row-gap: 0.5em;
	column-gap: 3em;
}
.separator__title {
	grid-area: separator__title;
	color: var(--theme-light);
}
.separator__desc {
	grid-area: separator__desc;
	color: var(--theme-light-80);
}
.messengerGroup {
	grid-area: messengersBlock;
	display: grid;
	column-gap: 1em;
	row-gap: 1em;
	align-self: center;
	grid-template-columns: 1fr auto;

}
.messengerGroup__whatsapp {
	width: auto;
	height: 55px;
	line-height: 55px;
	border-radius: 99px;
	border: none;
	padding: 0 0 0 45px;
	background-color: rgb(5, 201, 71);
	background-image: url("/img/messenger-whatsapp.svg");
	background-position: 5% 50%;
	background-size: contain;
	background-repeat: no-repeat;
	box-shadow: 0px 5px 0px 0px rgb(212 71 69 / 0%),
		0px 17px 57px 0px rgba(5, 201, 71, 0.3);
	font-size: 1.4em;
	font-weight: 400;
	color:#fff;
	transition: 0.3s;
}

.whatsapp-await {
	opacity: 0.75;
	font-size: smaller;
}

.messengerGroup__whatsapp:hover {
	color: white;
}

.messengerGroup__telegram {
	width: 55px;
	height: 55px;
	border-radius: 99px;
	border: none;
	background-color: rgb(0, 161, 230);
	color: var(--theme-light);
	background-image: url("/img/messenger-telegram.svg");
	box-shadow: 0px 5px 0px 0px rgb(212 71 69 / 0%),
	0px 17px 57px 0px rgba(0, 161, 230, 0.3);
	background-position: 50% 50%;
	background-size: contain;
	background-repeat: no-repeat;
	transition: 0.3s;
}

.messengerGroup__telegram:hover {
	color: white;
}

.messengerGroup__offer {
	grid-row-start: 2;
	grid-row-end: 3;
	grid-column-start: 1;
	grid-column-end: 3;
	color: var(--dark-3);
}

/**/

.tooltipItem {
	position: relative;
	display: grid;
	row-gap: 1em;
	justify-items: center;
	align-items: center;
	text-align: center;
	cursor: help;
}

.tooltipItem__img {
	width: 70%;
}

.tooltipItem__title {
	mix-blend-mode: overlay;
	color: rgb(255, 255, 255, 0.75) !important;
	font-weight: bold;
}

[data-tooltip] {
}
[data-tooltip]::after {
	content: attr(data-tooltip);
	position: absolute;
	width: 150px;
	left: calc((100% - 150px - 2em) / 2);
	top: -50%;
	padding: 1em;
	border-radius: 15px;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	font-size: smaller;
	font-weight: 500;
	font-family: var(--theme-font);
	opacity: 0;
	pointer-events: none;
	transition: 0.3s;
}
[data-tooltip]:hover::after {
	opacity: 1;
	top: -70%;
}

/*section methods*/

.inner-methods{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	column-gap: 3em;
	
}

.method{
	display: grid;
	grid-auto-flow: row;
	row-gap: 0.75em;
	position: relative;
	align-items: start;
	align-content: start;
}

.method__title {
	margin: 0.3em 0;
	font-weight: 400;
}

.method h4 {
	margin-left: 0.25em;
}

.method h6 {
	margin-left: 0.25em;
	font-weight: 400;
}

.method:last-child h4 {
	color:var(--theme-dark);
}

.badge-new{
	position: absolute;
	background: var(--theme-accent);
	color: #fff!important;
	padding:0.25em 0.5em;
	border-radius: 20px;
	top:-0.75em;
	left:-0.75em;

}


.method__img{
	border-radius: 15px;
	height: 285.5px;
	border:2px solid #3A4045;
}

/*section gallery*/

.gallery_img {
	object-fit: cover;
	height: 310px;
	position: relative;
}

.gallery_info {
	position: absolute;
	z-index: 5;
	top: 2em;
	left: 2em;
	display: grid;
	grid-auto-flow: row;
	row-gap: 0.75em;
	justify-items: start;
}

.gallery_info-text {
	color: var(--theme-light);
}

.gallery_info-cta {
	color: var(--theme-light);
	margin-top: 2em;
}

.gallery_info-btn {
	color: var(--theme-dark-80);
	font-weight: 700;
	transition: 0.3s;
}

.gallery_info-btn:hover {
	color: var(--theme-dark);
}

.gallery_info-title {
	width: auto;
	padding: 0.5em;
	background: var(--theme-accent);
	margin-bottom: 2em;
	border-radius: 10px;
}

.overlay {
	background: rgba(0, 0, 0, 0.5);
	position: absolute;
	height: 500px;
	z-index: 4;
	width: 100%;
}

/*section contacts*/

.section-contacts {
	background-color: rgba(2, 48, 71, 0.03);
	background-size: auto;
	background-position: 50% 0%;
	background-repeat: no-repeat;
}

.inner-contacts {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: start;
}

.block-row {
	min-height: 400px;
	display: grid;
	grid-auto-flow: row;
	row-gap: 1em;
	align-items: center;
	align-content: flex-start;
	justify-items: start;
	background: #fff;
	padding: 2em;
}

.block__header{
	display: grid;
	grid-template-columns: 100px auto;
	align-items: center;
	column-gap: 2em;
}

.block__header .header__descriptor{
	color:var(--theme-dark-80);
}

.contactsBlock__backcall {
	width: auto;
	display: inline-block;
	background: none;
	border: none;
	text-align: left;
	color: var(--theme-dark-80);
	text-decoration: underline;
	font-size: 1.2em;
	font-weight: 400;
}

.contactsBlock__backcall:hover {
	color: var(--theme-accent);
}

.messengers {
	display: grid;
	justify-content: center;
	grid-template-columns: 50px 50px;
	column-gap: 2em;
}

.messengers__icon {
	transition: 0.3s;
	border-radius: 99px;
}

.messenger__whatsapp {
	box-shadow: 0px 5px 0px 0px rgb(212 71 69 / 0%),
	0px 17px 57px 0px rgba(5, 201, 71, 0.3);
}

.messenger__telegram {
	box-shadow: 0px 5px 0px 0px rgb(212 71 69 / 0%),
	0px 17px 57px 0px rgba(0, 161, 230, 0.3);
}

.messengers__icon:hover {
}

.favoritesBlock {
	justify-self: end;
	max-width: 80%;
	font-family: var(--theme-font);
	display: grid;
	grid-auto-flow: row;
	row-gap: 1.1em;
	align-items: center;
	align-content: flex-start;
	border: 3px dashed var(--theme-accent);
	color: var(--theme-dark-80);
	padding: 2em;
}

.favoritesBlock__btn {
}

/**/

.section-footer {
	padding: 1em 0;
	background-color: rgba(2, 48, 71, 0.03);
}

.phone-footer {
	color: var(--theme-dark);
}

.footerCredits {
	display: grid;
	grid-template-columns: 1fr 2fr 1fr;
	font-family: var(--theme-font);
	font-weight: 200;
	align-items: center;
	padding-top: 0.75em;
	border-top: 2px solid var(--theme-outline);
}

.footerCredits__disclaimer {
	font-size: 0.9em;
	justify-self: start;
	text-align: left;
	font-weight: 200;
	color: var(--theme-light-80);
}

.footerCredits__copyright {
	justify-self: center;
	text-align: center;
	font-weight: 200;
	color: var(--theme-light);
}

.footerCredits__author {
	justify-self: end;
	text-align: right;
	font-weight: 200;
	color: var(--theme-dark);
}

.footerCredits__author-link {
	font-weight: 400;
	color: var(--theme-dark);
	transition: color 0.3s;
}

/**/

.form__bg {
	width: 330px;
	height: auto;
	position: absolute;
	top: -10%;
	right: -29%;
	transform: rotate(27deg);
	filter: blur(0);
}

.form__bg-inline {
	width: 330px;
	height: auto;
	position: absolute;
	top: 3%;
	left: 23%;
	transform: rotate(32deg);
	filter: blur(0.5px);
}

.check-medium {
	width: 100px;
	height: 100px;
}


@media screen and (min-width: 2050px) {
	.method:last-child h4 {
		color:var(--theme-light);
	}	
	.footerCredits__author {
		color:var(--theme-light);
	}

	.footerCredits__author-link{
		color:var(--theme-light);
	}
}
/* ============================================================
   НОВЫЕ ЭЛЕМЕНТЫ (Telegram и контакты) - Добавлено 23.01.2026
   ============================================================ */

/* --- 1. Кнопка "Обратный звонок" в шапке (синяя с трубкой) --- */
.header__btn-blue {
    background-color: #2db2e6;
    color: #ffffff !important;
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 8px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(45, 178, 230, 0.3);
    text-decoration: none;
}
.header__btn-blue:hover {
    background-color: #259ac7;
    transform: translateY(-1px);
}
/* --- Логика скрытия текста (Компьютер vs Телефон) --- */

/* 1. По умолчанию (на ПК) скрываем короткое слово "Звонок" */
.mobile-only {
    display: none !important;
	width: 100px;
}

/* 2. Если экран меньше 768px (телефон), меняем правила: */
@media (max-width: 768px) {
    /* Скрываем длинную надпись */
    .desktop-only {
        display: none !important;
    }
    /* Показываем короткую */
    .mobile-only {
        display: inline-block !important;
    }
}

/* --- 2. Кнопка Telegram в шапке (маленькая овальная) --- */
.header-tg-oval {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #2db2e6;
    color: #fff !important;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 12px;
    transition: 0.3s;
    text-transform: uppercase;
    margin-bottom: 5px; /* Отступ снизу до телефонов */
}
.header-tg-oval:hover {
    background-color: #259ac7;
}

/* Адаптив шапки для мобильных */
@media (max-width: 768px) {
    .header__btn-blue { padding: 6px 12px; font-size: 11px; }
    .contacts { align-items: center !important; } /* Центрируем контакты */
}


/* --- 3. Блок-разделитель "Нужна консультация?" (separator.php) --- */

.section-separator {
    background-color: #383838;
    padding: 40px 0;
}

.separator-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Стили для текста (чтобы перебивать глобальные, если нужно) */
.separator-text {
    text-align: left;
}
.separator__title {
    margin: 0;
    text-align: left;
    color: #fff;
}
.separator__desc {
    margin: 10px 0 0 0;
    text-align: left;
    max-width: 500px;
    color: #fff;
}

.separator-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Кнопка Telegram */
.sep-btn-tg {
    background-color: #2db2e6;
    color: #ffffff !important;
    border-radius: 50px;
    padding: 12px 30px;      /* Аккуратные отступы */
    font-weight: 600;
    font-size: 16px;         /* Читабельный размер шрифта */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    transition: 0.3s;
    white-space: nowrap !important; /* ГЛАВНОЕ: Текст всегда в одну строку */
    height: 54px;            /* Фиксированная высота */
    box-sizing: border-box;
}

.sep-btn-tg:hover {
    background-color: #259ac7;
    transform: translateY(-2px);
}

/* Кнопка Телефона */
.sep-btn-phone {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: 0.3s;
    flex-shrink: 0;          /* Запрещаем кнопке сжиматься */
    width: 54px;             /* Ровный круг */
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sep-btn-phone svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.sep-btn-phone:hover {
    transform: scale(1.1);
}

/* --- МОБИЛЬНАЯ ВЕРСИЯ (Адаптив) --- */
@media (max-width: 900px) {
    .separator-wrapper {
        flex-direction: column;
        text-align: center; /* Центрируем всё */
        align-items: center;
    }

    .separator-text {
        text-align: center;
        margin-bottom: 20px;
        width: 100%;
    }
    
    .separator__title, 
    .separator__desc {
        text-align: center !important;
    }

    .separator-buttons {
        width: 100%;
        justify-content: center;
    }

    .sep-btn-tg {
        flex-grow: 1; /* Кнопка растягивается на ширину */
        font-size: 14px;
        padding: 12px 15px;
    }
}
/* --- ФИКС ДЛЯ ШАПКИ (Усмиряем гигантский самолет) --- */

/* Находим кнопку с ссылкой на Telegram в шапке */
.header a[href*="t.me"], 
.header a[href*="telegram"] {
    width: 40px !important;       /* Фиксируем ширину кружка */
    height: 40px !important;      /* Фиксируем высоту кружка */
    border-radius: 50% !important; /* Делаем идеальный круг */
    padding: 0 !important;        /* Убираем лишние отступы */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #2db2e6 !important; /* Синий фон */
    box-shadow: none !important;
    margin-right: 10px !important; /* Отступ от номера телефона */
}

/* Находим саму картинку-самолет внутри */
.header a[href*="t.me"] svg, 
.header a[href*="telegram"] svg {
    width: 20px !important;       /* Маленький размер иконки */
    height: 20px !important;
    transform: none !important;   /* Убираем лишние сдвиги */
}

/* Эффект при наведении */
.header a[href*="t.me"]:hover, 
.header a[href*="telegram"]:hover {
    background-color: #259ac7 !important;
    transform: translateY(-2px);
}
/* ============================================================
   ФИНАЛЬНЫЕ ШТРИХИ: Убираем наезд текста на желтый фон
   Для экранов ноутбуков (1000px - 1500px)
   ============================================================ */
@media (min-width: 1000px) and (max-width: 1550px) {

    /* 1. ГЛАВНЫЙ ЭКРАН: Текст с калькулятором */
    /* Сужаем блок контента, чтобы текст перенесся раньше */
    .content-first {
        width: 48% !important; /* Было 55%. Ставим 48%, чтобы не лезло на желтое */
    }

    /* 2. ЗАГОЛОВОК "Взгляните на фотографии..." */
    /* Ограничиваем ширину всех заголовков, чтобы буква "т" не отрезалась */
    .title, 
    h2, 
    .section-header {
        max-width: 85% !important; /* Текст будет занимать только 85% ширины блока */
        line-height: 1.2 !important;
    }
}

/* ============================================================
   ФИНАЛЬНЫЙ ШТРИХ: ГРАНИЦЫ ТЕКСТА (Чтобы не лезло на желтое)
   Для ноутбуков (1000px - 1550px)
   ============================================================ */
@media (min-width: 1000px) and (max-width: 1550px) {

    /* 1. ГЛАВНЫЙ ЭКРАН: Поджимаем текст слева */
    .content-first {
        width: 45% !important; /* Сужаем зону контента (было шире) */
        min-width: 450px;      /* Но не даем совсем схлопнуться */
    }

    /* 2. ЗАГОЛОВКИ: "Взгляните на фотографии..." */
    /* Ставим барьер, чтобы длинные фразы переносились раньше */
    h2, .title, .section-title {
        max-width: 530px !important; /* Текст упрется в невидимую стену и перенесется */
        line-height: 1.2 !important;
    }

    /* 3. ТЕКСТ ВОЗЛЕ КНОПКИ (Про расчет стоимости) */
    /* Если он сделан отдельным блоком, тоже ограничиваем его */
    .tip-text, 
    .buttons-group + div { 
        max-width: 250px !important; /* Чтобы не наезжал на картинку */
    }
}

/* ============================================================
   КНОПКА: СКАЧАТЬ КАТАЛОГ (В желтой зоне)
   ============================================================ */
.btn-download-catalog {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    /* Красный фон (как у других кнопок) */
    background-color: #f43c39; 
    background-image: linear-gradient(90deg, #f43c39 0%, #ff6b6b 100%);
    
    color: #ffffff !important;
    font-family: 'Futura', sans-serif; /* Твой фирменный шрифт */
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 14px;
    
    padding: 18px 35px;       /* Размер кнопки */
    border-radius: 10px;      /* Скругление */
    box-shadow: 0 10px 20px rgba(244, 60, 57, 0.3); /* Тень */
    transition: 0.3s;
    
    /* Отступы, чтобы она не прилипала */
    margin-top: 20px;
    margin-bottom: 20px;
}

.btn-download-catalog:hover {
    background-image: linear-gradient(90deg, #ff6b6b 0%, #f43c39 100%);
    transform: translateY(-3px); /* Легкий подъем при наведении */
    box-shadow: 0 15px 25px rgba(244, 60, 57, 0.4);
}

/* Адаптив для мобильных (на всякий случай) */
@media (max-width: 768px) {
    .btn-download-catalog {
        width: 100%;       /* На телефоне во всю ширину */
        box-sizing: border-box;
    }
}
/* ============================================================
   ФИНАЛЬНЫЙ ФИКС: КНОПКА КАТАЛОГА (ЖЕЛЕЗОБЕТОННО)
   ============================================================ */

/* 1. Настраиваем контейнер (Шапку) */
.header-methods {
    display: flex !important;              /* Включаем Flexbox */
    justify-content: space-between !important; /* Текст влево, Кнопка вправо */
    align-items: center !important;        /* Центрируем по вертикали */
    flex-direction: row !important;        /* СТРОГО В РЯД (не в колонку!) */
    flex-wrap: nowrap !important;          /* Запрещаем перенос */
    gap: 30px;
    padding-bottom: 20px;
}

/* 2. Защищаем текст */
.header-text-wrapper {
    width: auto !important;
    max-width: 65% !important;             /* Текст не больше 65% ширины */
    text-align: left !important;
}

/* 3. Усмиряем кнопку (САМОЕ ВАЖНОЕ) */
.btn-download-catalog {
    width: auto !important;                /* ЗАПРЕЩАЕМ быть на весь экран! */
    display: inline-flex !important;
    flex-shrink: 0 !important;             /* Не сжиматься */
    white-space: nowrap !important;        /* Текст в одну строку */
    margin: 0 !important;
    
    /* Красота кнопки */
    background-color: #f43c39; 
    background-image: linear-gradient(90deg, #f43c39 0%, #ff6b6b 100%);
    color: #ffffff !important;
    font-family: 'Futura', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 13px;
    padding: 18px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(244, 60, 57, 0.3);
    transition: 0.3s;
}

.btn-download-catalog:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(244, 60, 57, 0.4);
}

/* 4. МОБИЛЬНАЯ ВЕРСИЯ (Вот тут разрешаем на весь экран) */
/* Срабатывает ТОЛЬКО на планшетах и телефонах (меньше 991px) */
@media (max-width: 991px) {
    .header-methods {
        flex-direction: column !important; /* Ставим друг под другом */
        align-items: flex-start !important;
    }
    
    .header-text-wrapper {
        max-width: 100% !important;
    }

    .btn-download-catalog {
        width: 100% !important;       /* На мобилке - во всю ширину */
        margin-top: 15px !important;
        box-sizing: border-box;
        justify-content: center;
    }
}

    .footer-tg-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        
        background-color: #2db2e6;
        color: #ffffff !important;
        
        /* Размеры подгоняем под существующий блок */
        width: 90%;           
        height: 40px;
        border-radius: 50px;
        padding: 0 10px; 
        box-sizing: border-box; /* Важно! Паддинги не увеличивают ширину */
        
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;       /* Оптимальный шрифт */
        white-space: nowrap;   /* Текст в одну строку */
        
        transition: 0.3s;
        box-shadow: 0 4px 10px rgba(45, 178, 230, 0.3);
    }
    
    .footer-tg-btn:hover {
        background-color: #259ac7;
        transform: translateY(-2px);
    }

    /* Исправление для контейнера мессенджеров */
    .messengers {
        display: block !important; 
    }

	 /* --- 1. СТИЛИ ДЛЯ КНОПКИ (Клон кнопки "Следующий шаг") --- */
    .quiz-call-btn {
        height: 60px !important;             
        border-radius: 10px !important;      
        padding: 0 30px !important;          
        margin-top: 0 !important;
        float: left;                         
        
        font-family: 'Futura', sans-serif !important;
        font-size: 1.25em !important;        
        font-weight: 400 !important;
        text-transform: uppercase !important;
        
        display: flex; 
        align-items: center !important;
        justify-content: center !important;
        
        background-color: #2db2e6 !important;
        color: #ffffff !important;
        box-shadow: none !important;         
        border: none !important;
        cursor: pointer !important;
        white-space: nowrap !important;
    }
    .quiz-call-btn:hover {
        background-color: #259ac7 !important;
        opacity: 1 !important;
    }

    /* --- 2. СТИЛИ ДЛЯ ТЕКСТА "ИЛИ" --- */
    .quiz-or-text {
        float: left;
        height: 60px;
        line-height: 60px;
        margin: 0 15px;
        font-family: 'Futura', sans-serif;
        font-weight: bold;
        color: #999;
        text-transform: uppercase;
        font-size: 14px;
        user-select: none;
    }

    /* --- 3. МОБИЛЬНАЯ ВЕРСИЯ (Лечим верстку) --- */
    @media (max-width: 600px) {
        /* Принудительно ставим кнопки в колонку */
        .buttons {
            display: flex !important;
            flex-direction: column !important; /* Вертикальный стек */
            align-items: center !important;
            gap: 0 !important;
        }

        /* Красная кнопка (Далее) */
        .next-btn {
            width: 100% !important;
            margin-bottom: 0 !important;
            order: 1; /* Первая сверху */
        }

        /* Текст ИЛИ */
        .quiz-or-text {
            width: 100% !important;
            float: none !important;
            text-align: center !important;
            height: auto !important;
            line-height: normal !important;
            margin: 15px 0 !important; /* Отступы сверху и снизу */
            order: 2; /* Второй по счету */
        }

        /* Синяя кнопка (Звонок) */
        .quiz-call-btn {
            width: 100% !important;
            float: none !important;
            margin: 0 !important;
            height: 60px !important; 
            order: 3; /* Третья снизу */
        }
        
        /* Кнопка Назад (на будущее, если появится) */
        .back-btn {
            width: 100% !important;
            margin-top: 15px !important;
            order: 4;
        }
    }