/* --- СБРОС И ОСНОВНЫЕ НАСТРОЙКИ --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #2D3748;
    background-color: #F7FAFC;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- HEADER --- */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    padding-bottom: 15px;
}

.logo {
    display: flex;
    flex-direction: column;
    font-weight: 800;
    font-size: 1.2rem;
    color: #2F855A;
}

.logo span {
    letter-spacing: 1px;
}

.logo small {
    font-size: 0.75rem;
    font-weight: 500;
    color: #718096;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    font-weight: 500;
    font-size: 0.95rem;
}

nav a:hover {
    color: #2F855A;
}

.buttons {
    display: flex;
    gap: 10px;
}

.buttons button {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s ease, border 0.3s ease;
}

.buttons .login {
    background: transparent;
    border: 1px solid #CBD5E0;
    color: #2D3748;
}

.buttons .login:hover {
    background-color: #EDF2F7;
}

.buttons .register {
    background-color: #2F855A;
    border: 1px solid #2F855A;
    color: #ffffff;
}

.buttons .register:hover {
    background-color: #276749;
}

/* --- HERO SECTION --- */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #F0FFF4 0%, #FFFFFF 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1A202C;
}

.hero-text p {
    font-size: 1.1rem;
    color: #4A5568;
    margin-bottom: 30px;
}

.advantages {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 35px;
}

.advantages .item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.advantages .item i {
    color: #2F855A;
    font-size: 1.2rem;
    width: 24px;
}

.main-btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: #2F855A;
    color: #ffffff;
    border-radius: 6px;
    font-weight: 600;
}

.main-btn:hover {
    background-color: #276749;
}

.hero-image img {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* --- STEPS SECTION --- */
.steps {
    padding: 80px 0;
    background-color: #ffffff;
}

.steps h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.step {
    background-color: #F7FAFC;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    border: 1px solid #E2E8F0;
}

.step .number {
    position: absolute;
    top: 15px;
    right: 15px;
    font-weight: 800;
    font-size: 1.2rem;
    color: #CBD5E0;
}

.step i {
    font-size: 2.5rem;
    color: #2F855A;
    margin-bottom: 20px;
}

.step h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.step p {
    font-size: 0.9rem;
    color: #718096;
}

/* --- CONDITIONS & FORM SECTION --- */
.conditions {
    padding: 80px 0;
}

.conditions .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.conditions h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
}

/* Table */
.left table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.left table td {
    padding: 12px 15px;
    border-bottom: 1px solid #E2E8F0;
}

.left table td:first-child {
    font-weight: 600;
    color: #4A5568;
    width: 40%;
}

.download {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid #2F855A;
    color: #2F855A;
    border-radius: 6px;
    font-weight: 600;
}

.download:hover {
    background-color: #2F855A;
    color: #ffffff;
}

/* Form */
.right {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

#offerForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#offerForm input[type="text"],
#offerForm input[type="tel"],
#offerForm input[type="email"],
#offerForm input[type="file"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #CBD5E0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
}

#offerForm input:focus {
    border-color: #2F855A;
}

.check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #4A5568;
    cursor: pointer;
}

#offerForm button {
    padding: 14px;
    background-color: #2F855A;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

#offerForm button:hover {
    background-color: #276749;
}

/* --- FOOTER --- */
footer {
    background-color: #1A202C;
    color: #CBD5E0;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

footer h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

footer p, footer a {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

footer a:hover {
    color: #68D391;
}

.social {
    display: flex;
    gap: 15px;
}

.social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: #2D3748;
    color: #ffffff;
    border-radius: 50%;
}

.social a:hover {
    background-color: #2F855A;
}

/* --- АДАПТИВНОСТЬ (RESPONSIVE) --- */
@media (max-width: 992px) {
    .hero-grid, 
    .conditions .container {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}