/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Open Sans', sans-serif;
    color: #2c3e50;
    background: #fdf8f3;
    line-height: 1.6;
    scroll-behavior: smooth;
}
a {
    text-decoration: none;
}
ul {
    list-style: none;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
h1, h2, h3, h4 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    line-height: 1.2;
}
.btn {
    display: inline-block;
    background: #e67e22;
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 14px 36px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.3);
}
.btn:hover {
    background: #d35400;
    transform: translateY(-3px);
}
.btn-secondary {
    background: #5b8c5a;
    box-shadow: 0 8px 20px rgba(91, 140, 90, 0.3);
}
.btn-secondary:hover {
    background: #3d6b3c;
}
.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 1rem;
}
.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}
.highlight {
    color: #e67e22;
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(253, 248, 243, 0.95);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    z-index: 1000;
    padding: 12px 0;
    transition: all 0.3s;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: #4a6fa5;
}
.logo span {
    color: #e67e22;
}
.nav-menu {
    display: flex;
    gap: 28px;
    align-items: center;
}
.nav-menu a {
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}
.nav-menu a:hover {
    color: #e67e22;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e67e22;
    transition: width 0.3s;
}
.nav-menu a:hover::after {
    width: 100%;
}
.nav-cta {
    background: #e67e22;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
}
.nav-cta::after {
    display: none !important;
}
.nav-cta:hover {
    background: #d35400;
    color: #fff !important;
}
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
}
.menu-toggle span {
    width: 28px;
    height: 3px;
    background: #2c3e50;
    border-radius: 3px;
    transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f9f1e6 0%, #fdf8f3 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}
.hero-content h1 span {
    color: #e67e22;
}
.hero-content .subtitle {
    font-size: 1.2rem;
    color: #4a6fa5;
    font-weight: 600;
    margin-bottom: 1rem;
}
.hero-content p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 1.8rem;
}
.hero-bullets {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 2rem;
}
.hero-bullets li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}
.hero-bullets li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #5b8c5a;
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-image svg {
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* ===== PROBLEM ===== */
.problem {
    padding: 80px 0;
    background: #fff;
}
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.problem-item {
    background: #fdf8f3;
    padding: 25px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    border-left: 4px solid #e67e22;
}
.problem-item .emoji {
    font-size: 2.2rem;
    margin-bottom: 8px;
}
.problem-item h4 {
    font-weight: 700;
    margin-bottom: 6px;
}
.problem-item p {
    font-size: 0.95rem;
    color: #555;
}

/* ===== SOLUTION ===== */
.solution {
    padding: 80px 0;
    background: #f9f1e6;
}
.solution-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}
.solution-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    text-align: center;
}
.solution-card:hover {
    transform: translateY(-8px);
}
.solution-card .icon {
    font-size: 2.8rem;
    margin-bottom: 12px;
}
.solution-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.solution-card p {
    color: #555;
    font-size: 0.98rem;
}

/* ===== CONTENT ===== */
.content-list {
    padding: 80px 0;
    background: #fff;
}
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.content-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.content-item .num {
    background: #4a6fa5;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.content-item h4 {
    font-weight: 700;
    margin-bottom: 4px;
}
.content-item p {
    color: #555;
    font-size: 0.95rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 80px 0;
    background: #fdf8f3;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 20px;
}
.testimonial-card {
    background: #fff;
    padding: 25px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    position: relative;
}
.testimonial-card::before {
    content: "“";
    font-size: 3rem;
    color: #e67e22;
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 15px;
    font-family: serif;
}
.testimonial-card p {
    font-style: italic;
    padding-left: 10px;
    margin-bottom: 12px;
    color: #333;
}
.testimonial-card .author {
    font-weight: 700;
    color: #4a6fa5;
    display: block;
    text-align: right;
}

/* ===== FOR WHOM ===== */
.forwhom {
    padding: 80px 0;
    background: #fff;
}
.forwhom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.forwhom-item {
    background: #f9f1e6;
    padding: 20px 16px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
}

/* ===== AUTHOR ===== */
.author {
    padding: 80px 0;
    background: #f9f1e6;
}
.author-wrap {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}
.author-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #4a6fa5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 4rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    flex-shrink: 0;
}
.author-text {
    max-width: 600px;
}
.author-text h3 {
    font-size: 1.8rem;
}
.author-text p {
    margin-top: 10px;
    color: #444;
}

/* ===== FAQ ===== */
.faq {
    padding: 80px 0;
    background: #fff;
}
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    border-bottom: 1px solid #e8d5c4;
    padding: 16px 0;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    color: #2c3e50;
    transition: color 0.3s;
}
.faq-question:hover {
    color: #e67e22;
}
.faq-question .arrow {
    font-size: 1.5rem;
    transition: transform 0.3s;
}
.faq-item.active .faq-question .arrow {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    color: #555;
    padding-top: 0;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding-top: 12px;
}

/* ===== CTA ===== */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #4a6fa5 0%, #2c3e50 100%);
    color: #fff;
    text-align: center;
}
.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 2rem;
}
.cta .btn {
    background: #e67e22;
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.4);
}
.cta .btn:hover {
    background: #d35400;
}
.cta .small {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ===== FOOTER ===== */
footer {
    background: #1a2634;
    color: #ccc;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* ===== MODAL ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.modal-overlay.active {
    display: flex;
}
.modal {
    background: #fff;
    max-width: 440px;
    width: 90%;
    padding: 40px 35px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    animation: fadeUp 0.4s ease;
}
@keyframes fadeUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 1.8rem;
    cursor: pointer;
    color: #aaa;
    transition: color 0.3s;
    background: none;
    border: none;
}
.modal-close:hover {
    color: #333;
}
.modal h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}
.modal p {
    color: #555;
    margin-bottom: 1.5rem;
}
.modal input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
    margin-bottom: 14px;
    outline: none;
    transition: border 0.3s;
}
.modal input:focus {
    border-color: #e67e22;
}
.modal .btn {
    width: 100%;
    text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-bullets li {
        justify-content: center;
    }
    .hero-image {
        order: -1;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
}
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        background: #fdf8f3;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 20px;
        gap: 18px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-radius: 0 0 20px 20px;
    }
    .nav-menu.open {
        display: flex;
    }
    .menu-toggle {
        display: flex;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .hero {
        padding: 120px 0 60px;
    }
    .author-wrap {
        flex-direction: column;
        text-align: center;
    }
    .cta h2 {
        font-size: 2rem;
    }
    .modal {
        padding: 30px 20px;
    }
}
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
}
/* Додаткові стилі для полів форми */
.modal input[type="text"],
.modal input[type="email"],
.modal input[type="tel"] {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
    margin-bottom: 14px;
    outline: none;
    transition: border 0.3s, box-shadow 0.3s;
    background: #fafafa;
}
.modal input[type="text"]:focus,
.modal input[type="email"]:focus,
.modal input[type="tel"]:focus {
    border-color: #e67e22;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
    background: #fff;
}