* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #fafaf9;
    color: #1e1e1e;
    line-height: 1.5;
    overflow-x: hidden;
    max-width: 100vw;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #0b3b2c;
}

h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-top: 60px;
    margin-bottom: 30px;
    color: #0b3b2c;
    border-left: 6px solid #4f7a4b;
    padding-left: 20px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #2d5336;
}

p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* ===== КОМПОНЕНТЫ ===== */
.btn {
    display: inline-block;
    background-color: #0b3b2c;
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    transition: background 0.25s, transform 0.1s;
    box-shadow: 0 6px 14px rgba(11, 59, 44, 0.2);
    text-align: center;
}

.btn-light {
    background-color: #ffffff;
    color: #0b3b2c;
    border: 2px solid #0b3b2c;
    box-shadow: none;
}

.btn:hover {
    background-color: #1f6e4a;
    transform: translateY(-2px);
}

.btn-light:hover {
    background-color: #ebf3eb;
}

.card {
    background: white;
    padding: 28px 20px;
    border-radius: 24px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
    border: 1px solid #eaefea;
    height: 100%;
}

.card strong {
    font-size: 1.35rem;
    display: block;
    margin-bottom: 12px;
    color: #0b3b2c;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    margin: 32px 0;
}

.badge-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 25px 0;
}

.badge {
    background: #0b3b2c;
    color: white;
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== ВЕРХНЯЯ ПАНЕЛЬ ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 30, 20, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 10px 0;
    border-bottom: 2px solid #2e8b57;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.site-header.hidden {
    transform: translateY(-100%);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.btn-header {
    background: linear-gradient(135deg, #2e8b57, #1a5c3a);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 28px;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
}

/* ===== ВИДЕОФОН ===== */
.video-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: 70px; /* высота шапки */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none; /* чтобы видео не перехватывало клики */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.video-title {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(46, 139, 87, 0.5);
    margin-bottom: 20px;
    letter-spacing: 4px;
    animation: fadeInUp 1.5s ease;
}

.video-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.5s ease 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ЧЕК-ЛИСТ ===== */
.checklist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin: 40px 0;
}

.checklist-item {
    background: #f8fbf8;
    border-radius: 24px;
    padding: 30px 25px;
    position: relative;
    border: 1px solid #e0ede0;
    transition: 0.2s;
}

.step-number {
    position: absolute;
    top: -10px;
    left: 20px;
    background: #0b3b2c;
    color: white;
    font-weight: 800;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 60px;
    border: 3px solid white;
}

.step-title {
    margin-top: 20px;
    font-size: 1.45rem;
    font-weight: 700;
    color: #1e422e;
}

.step-desc {
    color: #2c3e31;
    line-height: 1.6;
}

.tip-block {
    background: #e9f2e6;
    border-left: 8px solid #2e8b57;
    border-radius: 28px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
    box-shadow: 0 6px 14px rgba(30, 80, 40, 0.15);
}

.tip-icon {
    font-size: 2.6rem;
    background: white;
    width: 70px;
    height: 70px;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== СТАТИСТИКА ===== */
.stats {
    background-color: #1f3b34;
    color: white;
    padding: 40px 24px;
    border-radius: 32px;
    margin: 48px 0;
}

.stats .card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
}

.stats .card strong {
    color: #ffdb8e;
    font-size: 2rem;
}

/* ===== ФОРМЫ ===== */
.form-section {
    background: #f4f8f3;
    padding: 48px 0;
    border-radius: 40px;
    margin: 48px 0;
    background-size: cover;
    background-position: center;
}

.form-card {
    background: white;
    padding: 40px;
    border-radius: 32px;
    max-width: 700px;
    margin: 0 auto;
}

input,
textarea,
select {
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 20px;
    border: 2px solid #e0e8e0;
    border-radius: 50px;
    font-size: 1rem;
    background: white;
    font-family: inherit;
}

textarea {
    border-radius: 24px;
    min-height: 100px;
}

select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%230b3b2c" stroke-width="2"><polyline points="6 9 12 15 18 9"/></svg>');
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
}

/* ===== FAQ (Аккордеон) ===== */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 40px 0;
}

.faq-item {
    background: white;
    border: 1px solid #e0ede0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.faq-question {
    background: #f8fbf8;
    padding: 20px 25px;
    font-weight: 700;
    font-size: 1.2rem;
    color: #0b3b2c;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #e0f0e0;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    font-size: 1.8rem;
    font-weight: 300;
    color: #2e8b57;
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.2s ease;
    background: white;
    color: #2c3e31;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px 25px;
    max-height: 500px;
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #0b3b2c, #1f6e4a);
    color: white;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

.modal-close {
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    opacity: 0.8;
}

.modal-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 30px 25px;
}

.modal-benefits {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8fbf8;
    border-radius: 12px;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d5a3d;
}

.benefit-icon {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 2px solid #e0e8e0;
    border-radius: 12px;
    font-size: 1rem;
}

.modal-submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    margin-top: 10px;
}

.modal-phone {
    text-align: center;
    margin-top: 20px;
}

/* ===== ФИКСИРОВАННАЯ КНОПКА ===== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0b3b2c, #1f6e4a);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(11, 59, 44, 0.4);
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
    border: 2px solid #ffd700;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: scale(1.1) translateY(-3px);
    background: #1f6e4a;
}

/* ===== УВЕДОМЛЕНИЯ ===== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    z-index: 20000;
    animation: slideInRight 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.notification.success {
    background: #2e8b57;
}

.notification.error {
    background: #dc3545;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(200%);
    width: 90%;
    max-width: 600px;
    background: rgba(26, 46, 36, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid #2e8b57;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    transition: transform 0.5s ease;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cookie-consent.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.cookie-content {
    text-align: center;
    color: white;
}

.cookie-content p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #e0e8e0;
}

.cookie-btn {
    background: #2e8b57;
    border: none;
    padding: 12px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
    color: white;
    border-radius: 50px;
    border: none;
}

.cookie-btn:hover {
    background: #3a9f67;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 139, 87, 0.5);
}

.cookie-link {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #3a5442;
    text-align: center;
}

.cookie-link a {
    color: #c0d0c0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-bottom: 1px dotted #5a7a62;
    padding-bottom: 2px;
    display: inline-block;
}

.cookie-link a:hover {
    color: #ffd700;
    border-bottom-color: #ffd700;
}

/* ===== FOOTER ===== */
footer {
    background: #1a2e24;
    color: #e0e8e0;
    padding: 40px 0 30px;
    margin-top: 60px;
    border-top: 4px solid #2e8b57;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}

footer .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

footer p {
    margin-bottom: 10px;
    color: #c0d0c0;
}

footer p:first-child {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
}

footer p:last-child {
    margin-bottom: 0;
    padding-top: 20px;
    border-top: 1px solid #3a5442;
    color: #90a090;
    font-size: 0.85rem;
}

/* ===== АДАПТАЦИЯ ===== */
@media (max-width: 1024px) {
    .video-title {
        font-size: 3rem;
    }
    .video-subtitle {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .checklist-grid {
        grid-template-columns: 1fr;
    }
    .modal-trigger {
        bottom: 80px;
        right: 20px;
        padding: 12px 16px;
    }
    .trigger-text {
        display: none;
    }
    .modal-benefits {
        flex-direction: column;
        gap: 10px;
    }
    .video-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    .video-subtitle {
        font-size: 1.2rem;
    }
    .logo-text {
        font-size: 1rem;
    }
    .btn-header {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    .logo-area {
        gap: 15px;
    }
    .logo-image {
        height: 40px;
    }
    footer {
        padding: 30px 0 20px;
        font-size: 0.85rem;
    }
    footer .container {
        padding: 0 16px;
    }
    footer p:first-child {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .video-title {
        font-size: 1.5rem;
    }
    .video-subtitle {
        font-size: 1rem;
    }
    .logo-icon {
        font-size: 2rem;
    }
    .logo-text {
        font-size: 0.9rem;
    }
    .logo-image {
        height: 35px;
    }
    .logo-first .logo-image {
        height: 35px;
    }
    .logo-second .logo-image {
        height: 30px;
    }
    .btn {
        padding: 14px 24px;
        font-size: 1rem;
    }
    .cookie-consent {
        width: 95%;
        bottom: 15px;
        padding: 15px;
    }
    .cookie-content p {
        font-size: 0.85rem;
    }
    .cookie-btn {
        padding: 10px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .logo-area {
        gap: 5px;
    }
    .logo-image {
        height: 30px;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}


.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 32px 0;
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .grid-5 {
        grid-template-columns: 1fr;
    }
}


.steps-two-rows {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.step-item {
    background: #f8fbf8;
    border: 2px solid #e0ede0;
    border-radius: 60px;
    padding: 20px 25px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: #0b3b2c;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.step-item:hover {
    background: #0b3b2c;
    color: white;
    border-color: #ffd700;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(11, 59, 44, 0.2);
}

/* Адаптивность */
@media (max-width: 768px) {
    .steps-two-rows {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .step-item {
        padding: 15px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .steps-two-rows {
        grid-template-columns: 1fr;
    }
}

input.error-highlight {
    border-color: #dc3545 !important;
    background-color: #fff8f8 !important;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}