@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
:root {
--primary-yellow: #ffcf00;
--secondary-yellow: #e6b800;
--primary-green: #2b9654;
--secondary-green: #9de600;
--light-gray: #f8f9fa;
--dark-gray: #343a40;
--rounded: 20px;
--primary-dark: #2c3e50;
--primary-light: #34495e;
}

body {
font-family: 'Rubik', sans-serif;
color: #333;
scroll-behavior: smooth;
font-size: 18px; 
}

/* Контейнер 1500px */
.container-wide {
max-width: 1500px;
padding-right: 15px;
padding-left: 15px;
margin-right: auto;
margin-left: auto;
}

.section-bubble {
background-color: #f5f7fa;
border-radius: var(--rounded);
padding: 50px 60px;
margin-bottom: 60px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}


.btn {
border-radius: 50px;
padding: 15px 35px;
font-weight: 600;
transition: all 0.3s ease;
font-size: 1.1rem;
}

.btn-primary {
background-color: var(--primary-yellow);
border-color: var(--primary-yellow);
color: #000;
}

.btn-primary:hover {
background-color: var(--secondary-yellow);
border-color: var(--secondary-yellow);
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(255, 207, 0, 0.3);
color: #000;
}

.btn-success {
background-color: var(--primary-green);
border-color: var(--primary-green);
color: #fff;
}

.btn-success:hover {
background-color: var(--secondary-green);
border-color: var(--secondary-green);
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(176, 255, 0, 0.3);
color: #000;
}

h1, h2, h3, h4, h5, h6 {
font-weight: 700;
color: #000;
}

h1 {
font-size: 3rem;
margin-bottom: 2rem;
line-height: 1.2;
}

h2 {
font-size: 3rem;
margin-bottom: 2.5rem;
color: #000;
}

h3 {
font-size: 2.2rem;
margin-bottom: 1.5rem;
}

.highlight-bg {
background-color: var(--primary-yellow);
padding: 5px 15px;
border-radius: 10px;
display: inline-block;
}

.highlight-yellow {
    background: var(--primary-yellow);
    font-weight: 800;
    padding-left: 3px;
    padding-right: 3px;
}

.highlight-green {
color: var(--primary-green);
font-weight: 800;
}

/* Шапка */

header {
    position: absolute;
    z-index: 1;
    width: 100%;
}


.navbar {
background-color: rgba(255, 255, 255, 0.95);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
padding: 20px 0;
position: absolute;
top: 0;
left: 0;
right: 0;
z-index: 1030;
}

.navbar-brand {
font-weight: 800;
font-size: 1.8rem;
color: #000;
}


.navbar-brand img, .footer-logo img {
	width: 50px;
}

.navbar-brand span {
    color: #fff;
}

.navbar-nav {
gap: 10px;
}

.navbar-nav .nav-link {
color: #000;
font-weight: 500;
padding: 10px 20px;
border-radius: 50px;
transition: all 0.3s ease;
font-size: 1rem;
}

.navbar-nav .nav-link:hover {
background-color: rgba(255, 207, 0, 0.2);
color: #000;
}

/* Контакты в шапке */
.header-contacts {
display: flex;
align-items: center;
gap: 30px;
margin-left: auto;
margin-right: 30px;
}

.contact-item {
font-size: 1.4rem;
    font-weight: 500;
    color: #fff;
}
.contact-item a {
	color: #fff;
}
.contact-item a:hover {
	color: var(--primary-yellow);
}
/* Главный баннер */
.hero-section {
background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
background-size: cover;
padding: 200px 0 120px;
position: relative;
color: white;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}
.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  pointer-events: none; 
}

.button-container, .custom-button, #detach-button-host {
	display: none!important;
} 
video::-webkit-media-controls {
display: none; 
}
video::media-controls {
    display: none !important;
}  
  
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(13, 12, 20, 0.4), rgba(13, 12, 20, 0.9));
    z-index: 0;
}

.hero-content {
position: relative;
z-index: 2;
}

.hero-title {
color: white;
}

.hero-title .highlight-bg {
background-color: var(--primary-yellow);
color: #000;
}

/* Преимущества в баннере */
.benefits-list {
list-style: none;
padding-left: 0;
margin-bottom: 2.5rem;
}

.benefits-list li {
margin-bottom: 1.2rem;
font-size: 1.3rem;
display: flex;
align-items: flex-start;
color: white;
}

.benefits-list li i {
color: #ffcf00;
margin-right: 15px;
margin-top: 5px;
flex-shrink: 0;
font-size: 1.5rem;
}

/* Иконки преимуществ */
.advantages-section {
/*margin-top: -60px;*/
position: relative;
z-index: 5;
}

.icon-box {
display: flex;
flex-direction: column;
align-items: center;
padding: 30px 20px;
height: 100%;
transition: transform 0.3s ease;
text-align: center;
}

.icon-box:hover {
transform: translateY(-10px);
}

.icon-box i {
font-size: 3.5rem;
color: var(--primary-green);
margin-bottom: 20px;
}

.icon-box img {
	width: 120px;
    margin-bottom: 10px;
}

.icon-box h5 {
font-size: 1.3rem;
margin-bottom: 15px;
color: #000;
}

.icon-box p {
font-size: 1rem;
color: #666;
}

/* Планы эвакуации в шахматном порядке */
.plan-item {
background-color: white;
border-radius: var(--rounded);
padding: 50px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
margin-bottom: 60px;
}


.plan-content {
padding: 0 40px;
}

.plan-content h3 {
color: #000;
margin-bottom: 20px;
}

/* Карточки "С планами эвакуации часто заказывают" */
.additional-product {
text-align: center;
margin-bottom: 30px;
}

.additional-product img {
border-radius: 15px;
margin-bottom: 20px;
height: 200px;
width: 100%;
object-fit: cover;
}

.additional-product h4 {
color: #000;
margin-bottom: 15px;
}

/* Шаги работы */
.step-box {
background-color: white;
border-radius: var(--rounded);
padding: 40px 30px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
height: 100%;
position: relative;
overflow: hidden;
}

.step-number {
position: absolute;
top: 15px;
right: 20px;
font-size: 5rem;
font-weight: 800;
color: rgba(43, 150, 84, 0.4);
line-height: 1;
}

.step-box i {
color: var(--primary-green);
font-size: 2.5rem;
margin-bottom: 20px;
}

.step-box img {
	width: 100px;
	margin-bottom: 10px;
}

/* Блок проблем и решений */
.problems-table {
width: 100%;
border-collapse: collapse;
background-color: white;
border-radius: var(--rounded);
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.problems-table img {
    width: 100px;
}

.problems-table tr {
border-bottom: 1px solid #eee;
}

.problems-table tr:last-child {
border-bottom: none;
}

.problems-table td {
padding: 30px;
vertical-align: top;
}

.problem-cell {
border-right: 1px solid #eee;
}

.problem-cell h5, .solution-cell h5 {
margin-bottom: 10px;
color: #000;
}

.problem-cell i {
color: #ff4d4d;
margin-right: 10px;
}

.solution-cell i {
color: var(--primary-green);
margin-right: 10px;
}
.dark-form-section {
	position: relative;
    overflow: hidden;
	border-radius: var(--rounded);
}	
	
.dark-form-section::before {
content:"";
background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8)), no-repeat center center;
background-size: cover;
padding: 100px 0;
color: white;
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 0;
}

.form-content {
	z-index: 1;
	position: relative;
}


.dark-form-section h2, .dark-form-section h3, .dark-form-section p {
color: white;
}

.dark-form-section .form-control {
background-color: rgba(255, 255, 255, 0.9);
border: none;
}

.inline-form {
display: flex;
flex-wrap: wrap;
gap: 15px;
align-items: flex-end;
justify-content: center;
margin-top: 40px;
}

.inline-form .form-group {
flex: 1;
min-width: 200px;
}

.inline-form .btn {
min-width: 250px;
}

/* FAQ */
.faq-item {
background-color: white;
border-radius: var(--rounded);
padding: 25px;
margin-bottom: 20px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
font-weight: 700;
font-size: 1.3rem;
color: #000;
text-transform: uppercase;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
}

.faq-answer {
padding-top: 15px;
display: none;
}

.faq-answer.show {
display: block;
}

.form-container {
background-color: white;
border-radius: var(--rounded);
padding: 50px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
color: #333;
font-size: 1.1rem;
}

.form-container i {
	color: var(--primary-green);
	margin-right: 10px;
}

.form-control {
border-radius: 10px;
padding: 15px;
border: 1px solid #ddd;
font-size: 1.1rem;

}

.form-control:focus {
border-color: var(--primary-yellow);
box-shadow: 0 0 0 0.25rem rgba(255, 207, 0, 0.25);
}

/* Футер */
footer {
background-color: #111;
color: white;
padding: 40px 0 20px;
}

.footer-content {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
padding-bottom: 20px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
margin-bottom: 20px;
}

.footer-logo {
font-weight: 800;
font-size: 1.8rem;
color: white;
}

.footer-logo span {
color: var(--primary-yellow);
}

.footer-contacts {
display: flex;
gap: 30px;
align-items: center;
}

.footer-contacts a {
color: white;
text-decoration: none;
font-weight: 500;
font-size: 1.1rem;
transition: color 0.3s ease;
}

.footer-contacts a:hover {
color: var(--primary-yellow);
}

.footer-contacts i {
color: var(--primary-yellow);
margin-right: 10px;
}

.copyright {
display: flex;
justify-content: space-between;
align-items: center;
color: rgba(255, 255, 255, 0.6);
font-size: 0.9rem;
}

.copyright a {
color: rgba(255, 255, 255, 0.6);
text-decoration: none;
transition: color 0.3s ease;
}

.copyright a:hover {
color: white;
}

.modal-content {
border-radius: var(--rounded);
}

/* Стили для квиза */
.quiz-option {
    position: relative;
    cursor: pointer;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    padding: 10px;
    text-align: center;
    border: 2px solid transparent;
}

.quiz-option img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 8px;
}

.quiz-option .quiz-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 5px;
    border-radius: 5px;
}

.quiz-option.selected {
    border-color: #ffcf00;
    background-color: rgba(255, 207, 0, 0.2);
}

.quiz-option.selected .quiz-label {
    background-color: #ffcf00;
    color: #000;
}

.selected-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background-color: #ffcf00;
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    color: #000;
    font-size: 1rem;
}

.quiz-option.selected .selected-check {
    display: flex;
}

#quizPrevBtn:disabled, #quizNextBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 1200px) {
h1 {
	font-size: 2.8rem;
}

h2 {
	font-size: 2.5rem;
}

.container-wide {
	max-width: 100%;
	padding-right: 30px;
	padding-left: 30px;
}

.plan-item {	
	padding: 40px;
}

.plan-content {
	padding: 40px 0 0 0;
}
}

@media (max-width: 992px) {
	.contact-item {
	font-size: 1.2rem;
	}
	    .plan-item {
        padding: 0;
        background: transparent;
        box-shadow: 0 0 0;
    }
	.step-box {
    background-color: transparent;
    border-radius: var(--rounded);
    padding: 0;
    box-shadow: 0 0 0;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.lead {
    font-size: 1rem;
    font-weight: 300;
}
.video-background {
    /*position: fixed;*/
}
.hero-title {
    color: white;
    text-align: center;
}

h1 {
	font-size: 1.4rem;
}
h2 {
	font-size: 1.5rem;
}
h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.section-bubble {
	padding: 60px 40px;
}

.hero-section {
	padding: 160px 0 0px;
}

.navbar-nav {
	margin-top: 20px;
	gap: 5px;
}

.header-contacts {
	margin: 20px 0;
	display: block;
	text-align: center;
}

.inline-form {
	flex-direction: column;
}

.inline-form .form-group {
	width: 100%;
	min-width: 100%;
}

.problems-table {
	display: block;
}

.problems-table tr {
	display: block;
	margin-bottom: 20px;
	border-bottom: none;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	border-radius: var(--rounded);
	overflow: hidden;
}

.problems-table td {
	display: block;
	width: 100%;
	border-right: none;
}

.problem-cell {
	border-right: none;
	border-bottom: 1px solid #eee;
}

.footer-content {
	flex-direction: column;
	gap: 20px;
	text-align: center;
}

.footer-contacts {
	flex-direction: column;
	gap: 10px;
}

.copyright {
	flex-direction: column;
	gap: 10px;
	text-align: center;
}
    .section-bubble {
        padding: 30px 15px;
		margin-bottom: 0;
    }
	.btn {
	padding: 12px 25px;
	font-size: 1rem;
}

.navbar-nav .nav-link {
	font-size: 1rem;
	padding: 8px 15px;
}
.faq-question {
    font-size: 1rem;
}
.icon-box {
    padding: 0;
}
}

