:root {
    --primary-color: #0a2540;
    --secondary-color: #00d084;
    --text-color: #333333;
    --light-bg: #f4f7f6;
    --white: #ffffff;
    --grey: #e0e0e0;
    --hover-color: #00b874;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

section {
    padding: 80px 0;
}

h1,
h2,
h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

h2.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

h2.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.btn-primary,
.btn-secondary,
.btn-submit,
.btn-header {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

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

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-secondary:hover {
    opacity: 0.9;
}

.btn-submit {
    background-color: var(--secondary-color);
    color: var(--white);
    width: 100%;
    font-size: 1rem;
}

.btn-submit:hover {
    background-color: var(--hover-color);
}

.btn-text {
    background: none;
    border: none;
    color: var(--secondary-color);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-top: 10px;
}

.btn-text:hover {
    text-decoration: underline;
}

.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.nav-list {
    display: flex;
    gap: 25px;
}

.nav-link {
    font-weight: 500;
    color: var(--primary-color);
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.btn-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    font-size: 0.9rem;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: 0.4s;
}

.hero {
    background: linear-gradient(135deg, #f9fbfd 0%, #eef2f5 100%);
    padding-top: 140px;
    padding-bottom: 100px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin: 20px 0 30px;
}

.hero-benefits {
    margin-bottom: 40px;
}

.hero-benefits li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.hero-benefits i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about {
    background-color: var(--white);
}

.section-mission {
    text-align: center;
    font-size: 1.1rem;
    font-style: italic;
    color: #666;
    max-width: 800px;
    margin: 0 auto 40px;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-text {
    font-size: 1.05rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 20px;
}

.about-icons {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.about-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.about-icon-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.about-icon-item span {
    font-weight: 600;
}

.audience,
.services,
.reviews {
    background-color: var(--light-bg);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    text-align: left;
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.directions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.direction-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.direction-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.disclaimer-text-small {
    text-align: center;
    font-size: 0.85rem;
    color: #888;
    margin-top: 40px;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 180px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 15px;
}

.step-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: block;
}

.plan-cta {
    text-align: center;
    margin-top: 50px;
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #555;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.article-card {
    border: 1px solid var(--grey);
    padding: 25px;
    border-radius: 8px;
}

.cases {
    background-color: var(--white);
}

.case-item {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.case-item.reverse {
    flex-direction: row-reverse;
}

.case-image {
    flex: 1;
}

.case-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.case-content {
    flex: 1;
}

.reviews-header {
    text-align: center;
    margin-bottom: 40px;
}

.review-star {
    color: #ffc107;
    font-size: 1.2rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-author i {
    font-size: 2.5rem;
    color: #ccc;
}

.review-author h4 {
    margin-bottom: 2px;
    color: var(--primary-color);
}

.review-author span {
    font-size: 0.85rem;
    color: #777;
}

.faq {
    background-color: var(--white);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid var(--grey);
}

.accordion-header {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 20px 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.accordion-header.active::after {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 10px;
}

.accordion-content p {
    padding-bottom: 20px;
    color: #555;
}

.contact {
    background-color: var(--primary-color);
    color: var(--white);
}

.contact h2,
.contact h3 {
    color: var(--white);
}

.contact h2.section-title::after {
    background-color: var(--secondary-color);
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 5px;
}

.contact-legal {
    margin-top: 50px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    margin-top: 5px;
}

.checkbox-group label {
    font-weight: 400;
    font-size: 0.85rem;
    line-height: 1.4;
}

.footer {
    background-color: #061a2d;
    color: #8da2b5;
    padding: 40px 0;
    font-size: 0.9rem;
}

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

.footer-links a {
    margin: 0 10px;
    text-decoration: underline;
}

.footer-disclaimer {
    max-width: 900px;
    font-size: 0.8rem;
    line-height: 1.5;
    border-top: 1px solid #1c3550;
    padding-top: 20px;
}

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
    z-index: 900;
}

#backToTop:hover {
    background-color: var(--hover-color);
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav {
        position: absolute;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        transition: 0.3s;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 20px;
    }

    .burger {
        display: block;
    }

    .btn-header {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-benefits li {
        justify-content: center;
    }

    .directions-grid {
        grid-template-columns: 1fr;
    }

    .case-item {
        flex-direction: column;
    }

    .case-item.reverse {
        flex-direction: column;
    }
}

.legal-page {
    padding-top: 120px;
    padding-bottom: 80px;
    background-color: var(--light-bg);
    min-height: 100vh;
}

.legal-content {
    background-color: var(--white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    border-bottom: 2px solid var(--grey);
    padding-bottom: 20px;
}

.legal-date {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 40px;
    font-style: italic;
}

.legal-block {
    margin-bottom: 30px;
}

.legal-block h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.legal-block p {
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.7;
}

.legal-block ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-block ul li {
    list-style-type: disc;
    margin-bottom: 8px;
    color: var(--text-color);
    padding-left: 5px;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 30px 20px;
    }

    .legal-content h1 {
        font-size: 1.8rem;
    }
}