:root {
    --primary: #254d46;    /* Темно-зеленый */
    --teal: #5d8c83;       /* Бирюзовый */
    --yellow: #f5d779;     /* Акцентный желтый */
    --light: #fcfaf2;      /* Фон */
    --white: #ffffff;
    --text: #1d1d1b;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.small-container { max-width: 700px; }

.section { padding: 80px 0; }
.bg-light { background-color: var(--light); }
.bg-teal { background-color: var(--teal); }
.text-white { color: var(--white) !important; }

/* Typography */
h1, h2, h3 { font-weight: 700; line-height: 1.2; }
.section-title { 
    text-align: center; 
    font-size: 2.5rem; 
    margin-bottom: 50px; 
    color: var(--primary);
}

/* Header */
.header {
    background: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
}
.logo span { color: var(--teal); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--teal); }

.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 50px;
}

/* Hero Section */
.hero { padding: 100px 0; background: var(--light); }
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.hero h1 { font-size: 3.5rem; margin-bottom: 20px; color: var(--primary); }
.highlight { color: var(--teal); }
.hero-description { font-size: 1.25rem; margin-bottom: 40px; opacity: 0.9; }

.hero-btns { display: flex; gap: 20px; }

/* Buttons */
.btn {
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--teal); transform: translateY(-3px); }

.btn-yellow { background: var(--yellow); color: var(--primary); width: 100%; }
.btn-yellow:hover { background: #e8cc70; }

.btn-outline { border: 2px solid var(--primary); color: var(--primary); }

/* Cards (Style from Screenshot 2) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.card {
    background: var(--teal);
    padding: 40px;
    border-radius: 20px;
    color: var(--white);
    transition: var(--transition);
}

.card h3 { color: var(--yellow); margin-bottom: 15px; font-size: 1.5rem; }
.card p { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 15px; }

/* Steps (Style from Screenshot 1) */
.steps-list { display: flex; flex-direction: column; gap: 15px; }
.step-item {
    background: var(--yellow);
    padding: 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.step-num {
    background: var(--primary);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

/* FAQ */
.faq-item {
    background: var(--white);
    margin-bottom: 10px;
    border-radius: 10px;
    border: 1px solid #eee;
}
.faq-item summary { padding: 20px; cursor: pointer; font-weight: 700; color: var(--primary); }
.faq-item p { padding: 0 20px 20px; opacity: 0.8; }

/* Form */
.form-wrapper {
    background: var(--light);
    padding: 50px;
    border-radius: 30px;
}
.form-input {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
}

/* Footer */
.footer { background: var(--primary); color: var(--white); padding: 40px 0; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}
.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
}

/* Adaptive Layout */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 2.5rem; }
    .hero-btns { justify-content: center; }
    .hero-image-wrapper { order: -1; }
    .hero-img { max-width: 300px; }
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background: var(--white);
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        padding: 40px;
        transition: 0.4s;
    }
    .nav-links.active { right: 0; }
    .section-title { font-size: 2rem; }
    .step-item { flex-direction: column; text-align: center; }
}
