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

body {
    font-family: 'Poiret One', cursive;
    background-color: #FAFDF2;
    color: #333333;
    line-height: 1.5;
}

.container {
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
}

.section-padding {
    padding-left: 162px;
    padding-right: 162px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #1A3129;
}

.top-banner {
    background-color: #1A3129;
    border-bottom: 1px solid #234338;
    padding: 14px 162px;
    
}

.banner-content {
    background-color: #234338;
    border: 1px solid #2C5446;
    border-radius: 6px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    overflow: visible;
    flex-wrap: wrap;
}

.banner-text {
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    font-weight: 500;
    font-size: 18px;
    flex-wrap: wrap;
}

.banner-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.navbar {
    background-color: #1A3129;
    border-bottom: 1px solid #EEF8D3;
    padding: 20px 162px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: visible;
}

.logo {
    height: 45px;
    width: 194.625px;
    position: relative;
}

.logo-text {
    color: #CBEA7B;
    font-weight: 600;
    font-size: 24px;
}

    .nav-links {
        display: flex;
        align-items: center;
        gap: 26px;
    }

    @media (max-width: 768px) {
        .nav-links {
            display: none;
        }
    }

.mobile-menu-btn {
    display: none;
    width: 34px;
    height: 34px;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-links a {
    color: #FAFDF2;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-links a.active {
    color: #CBEA7B;
}

.nav-links a:hover {
    color: #CBEA7B;
}

.btn-primary {
    background-color: #CBEA7B;
    color: #262626;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    display: inline-block;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.btn-primary:hover {
    background-color: #DCF1A7;
}

.btn-secondary {
    background-color: #F6FBE9;
    border: 1px solid #E5F5BD;
    color: #262626;
    padding: 16px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    display: inline-block;
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background-color: #EEF8D3;
}

.hero-section {
    margin-top: 166px;
    display: flex;
    gap: 50px;
    padding: 0 162px 0 0;
    align-items: center;
    overflow: visible;
}

.hero-image {
    width: 949px;
    height: 832px;
    border-radius: 0 0 50px 0;
    background: linear-gradient(to right, #DCF1A7, #DCF1A7);
    position: relative;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.hero-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-label {
    border-bottom: 3px solid #CBEA7B;
    padding-bottom: 10px;
    font-weight: 600;
    font-size: 28px;
    color: #1A3129;
}

.hero-title {
    font-weight: 800;
    font-size: 58px;
    line-height: 1.2;
    color: #1A3129;
}

.hero-description {
    font-weight: 500;
    font-size: 18px;
    color: #333333;
}

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

.hero-customers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.customer-avatars {
    display: flex;
    border: 1px solid #CBEA7B;
    border-radius: 58px;
    padding: 8px 30px 8px 10px;
    align-items: center;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-left: -20px;
    border: 2px solid #FAFDF2;
}

.avatar:first-child {
    margin-left: 0;
}

.customer-text {
    font-weight: 600;
    font-size: 20px;
    color: #333333;
}

.customer-text .number {
    font-weight: 800;
    color: #468671;
}

.section {
    margin-top: 80px;
    padding: 0 162px;
}

.section-header {
    text-align: center;
    padding: 0 300px;
}

.section-title {
    font-weight: 800;
    font-size: 48px;
    color: #262626;
    margin-bottom: 10px;
}

.section-subtitle {
    font-weight: 500;
    font-size: 18px;
    color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.section-subtitle-icon {
    width: 36px;
    height: 36px;
    color: #468671;
    flex-shrink: 0;
    vertical-align: middle;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.feature-card {
    background-color: #F6FBE9;
    border: 1px solid #E5F5BD;
    border-radius: 12px;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.feature-icon {
    background-color: #CBEA7B;
    padding: 14px;
    border-radius: 8px;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
}

.feature-title {
    font-weight: 600;
    font-size: 24px;
    color: #262626;
}

.feature-description {
    font-weight: 500;
    font-size: 18px;
    color: #333333;
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.blog-card {
    background-color: #F6FBE9;
    border: 1px solid #EEF8D3;
    border-radius: 12px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.blog-image {
    width: 100%;
    height: 428px;
    border-radius: 12px;
    object-fit: cover;
}

.blog-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blog-category {
    font-weight: 500;
    font-size: 18px;
    color: #333333;
}

.blog-title {
    font-weight: 600;
    font-size: 26px;
    color: #262626;
}

.blog-excerpt {
    font-weight: 500;
    font-size: 18px;
    color: #4C4C4D;
}

.blog-author {
    background-color: #FAFDF2;
    border: 1px solid #EEF8D3;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 20px;
    color: #1A3129;
}

.author-date {
    font-weight: 500;
    font-size: 18px;
    color: #59595A;
}

.blog-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    background-color: #F6FBE9;
    border: 1px solid #EEF8D3;
    border-radius: 8px;
    padding: 18px;
    cursor: pointer;
}

.testimonials-section {
    margin-top: 80px;
}

.testimonials-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
    margin-top: 20px;
}

.testimonial-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: #F6FBE9;
    border: 1px solid #EEF8D3;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-image-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.testimonial-image {
    width: 100%;
    height: 400px;
    display: block;
    object-fit: cover;
}

.testimonial-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
}

.testimonial-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.testimonial-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 12px;
}

.testimonial-modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color 0.3s;
}

.testimonial-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.pricing-section {
    margin-top: 80px;
}

.pricing-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: 50px 0;
}

.toggle-container {
    border: 1px solid #DCF1A7;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    gap: 0;
}

.toggle-btn {
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    border: none;
    background: transparent;
    color: #4C4C4C;
}

.toggle-btn.active {
    background-color: #234338;
    color: white;
}

.toggle-save {
    font-weight: 500;
    font-size: 18px;
    color: #4C4C4D;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-card {
    background-color: #F6FBE9;
    border: 1px solid #EEF8D3;
    border-radius: 12px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.pricing-title {
    font-weight: 600;
    font-size: 30px;
    color: #262626;
}

.pricing-subtitle {
    font-weight: 500;
    font-size: 18px;
    color: #4C4C4D;
}

.pricing-description {
    font-weight: 500;
    font-size: 18px;
    color: #262626;
}

.pricing-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.price-amount {
    font-weight: 800;
    font-size: 50px;
    color: #2C5446;
    line-height: 0.875;
}

.ruble {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-weight: 300;
    font-size: 50px;
    color: #2C5446;
}

.price-period {
    font-weight: 500;
    font-size: 18px;
    color: #333333;
}

.footer {
    background-color: #1A3129;
    border-top: 1px solid #262626;
    padding: 50px 162px;
    margin-top: 80px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 26px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    white-space: nowrap;
}

.back-to-top {
    display: flex;
    align-items: center;
    gap: 20px;
    
}

.back-to-top-text {
    color: white;
    font-weight: 600;
    font-size: 18px;
    white-space: nowrap;
}

.back-to-top-btn {
    background-color: #234338;
    border-radius: 73px;
    padding: 14px;
    cursor: pointer;
    height: 62px;
    width: 62px;
}

.footer-bottom {
    background-color: #234338;
    border: 1px solid #2C5446;
    border-radius: 8px;
    padding: 16px 30px 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-contacts {
    display: flex;
    gap: 20px;
}

.contact-item {
    border: 1px solid #2C5446;
    border-radius: 6px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s, border-color 0.3s;
}

.contact-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: #468671;
}

.contact-item:visited {
    color: inherit;
}

.contact-icon {
    width: 24px;
    height: 24px;
}

.contact-text {
    color: white;
    font-weight: 500;
    font-size: 18px;
    white-space: nowrap;
    text-decoration: none;
}

.footer-copyright {
    color: #F2F2F2;
    font-weight: 400;
    font-size: 18px;
    white-space: nowrap;
}

@media (max-width: 1600px) {
    .section-padding {
        padding-left: 80px;
        padding-right: 80px;
    }

    .hero-section {
        padding-right: 80px;
    }

    .hero-image {
        width: 600px;
        height: 600px;
    }
}

@media (max-width: 1200px) {
    .hero-section {
        flex-direction: column;
        padding: 0 20px;
    }

    .hero-image {
        width: 100%;
        max-width: 600px;
        height: 500px;
    }

    .features-grid,
    .blogs-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding-left: 16px;
        padding-right: 16px;
    }

    .top-banner {
        display: none;
    }

    .banner-content {
        padding: 8px 12px;
        gap: 8px;
    }

    .banner-text {
        font-size: 12px;
        gap: 4px;
    }

    .banner-icon {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

    .navbar {
        padding: 16px;
        position: relative;
        flex-wrap: wrap;
        gap: 12px;
    }

    .navbar > div {
        gap: 12px;
    }

    .logo {
        height: 34px;
        width: 147.05px;
    }

    .logo-text {
        font-size: 18px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: none;
    }

    .navbar .btn-primary {
        display: inline-block;
    }

    .btn-primary {
        padding: 14px 16px;
        font-size: 14px;
    }

    .hero-section {
        margin-top: 80px;
        flex-direction: column;
        padding: 0;
        gap: 0;
    }

    .hero-image {
        width: 100%;
        height: 374px;
        border-radius: 0 0 30px 30px;
        margin-bottom: -28px;
    }

    .hero-content {
        padding: 0 16px 28px;
        gap: 30px;
    }

    .hero-text {
        gap: 30px;
    }

    .hero-title-wrapper {
        gap: 10px;
        align-items: center;
    }

    .hero-label {
        font-size: 18px;
        padding-bottom: 8px;
    }

    .hero-title {
        font-size: 38px;
        text-align: center;
    }

    .hero-description {
        font-size: 14px;
        text-align: center;
    }

    .hero-buttons {
        gap: 14px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn-secondary {
        padding: 14px 20px;
        font-size: 14px;
    }

    .hero-customers {
        flex-direction: column;
        gap: 4px;
    }

    .customer-avatars {
        padding: 6px 25px 6px 8px;
    }

    .avatar {
        width: 40px;
        height: 40px;
        margin-left: -17px;
    }

    .avatar:first-child {
        margin-left: 0;
    }

    .customer-text {
        font-size: 16px;
    }

    .section {
        margin-top: 50px;
        padding: 0 16px;
    }

    .section-header {
        padding: 0;
        margin-bottom: 30px;
    }

    #about > div {
        padding: 0 16px;
    }

    #about > div > div {
        padding: 30px 20px !important;
        margin-top: 30px !important;
    }

    #about > div > div > h3 {
        font-size: 20px !important;
        margin-bottom: 15px !important;
    }

    #about > div > div > ul {
        font-size: 16px !important;
    }

    #about > div > div > ul > li {
        margin-bottom: 12px !important;
    }

    #about > div > p {
        font-size: 16px !important;
        padding: 0 10px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 14px;
        gap: 10px;
    }

    .section-subtitle-icon {
        width: 28px;
        height: 28px;
    }

    .features-grid {
        gap: 20px;
    }

    .feature-card {
        padding: 30px;
        gap: 16px;
    }

    .feature-header {
        gap: 10px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        padding: 12px;
    }

    .feature-icon svg {
        width: 24px;
        height: 24px;
    }

    .feature-title {
        font-size: 18px;
    }

    .feature-description {
        font-size: 14px;
    }

    .blogs-grid {
        gap: 20px;
    }

    .blog-card {
        padding: 24px;
        gap: 20px;
    }

    .blog-image {
        height: 200px;
    }

    .blog-content {
        gap: 18px;
    }

    .blog-category {
        font-size: 14px;
    }

    .blog-title {
        font-size: 20px;
    }

    .blog-excerpt {
        font-size: 14px;
    }

    .blog-author {
        flex-direction: column;
        gap: 20px;
        padding: 16px 14px 16px 16px;
    }

    .author-info {
        width: 100%;
        gap: 14px;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
    }

    .author-name {
        font-size: 16px;
    }

    .author-date {
        font-size: 14px;
    }

    .blog-actions {
        align-self: flex-end;
        gap: 8px;
    }

    .action-btn {
        padding: 14px;
    }

    .action-btn svg {
        width: 20px;
        height: 20px;
    }

    .testimonials-section {
        margin-top: 50px;
    }

    .testimonials-gallery {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 30px;
    }

    .testimonial-image {
        height: 300px;
    }

    .testimonial-modal-close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 30px;
    }

    .pricing-section {
        margin-top: 50px;
    }

    .pricing-toggle {
        gap: 10px;
    }

    .toggle-container {
        padding: 8px;
        flex-wrap: wrap;
    }

    .toggle-btn {
        padding: 10px 16px;
        font-size: 14px;
        white-space: nowrap;
    }

    .toggle-save {
        font-size: 16px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-card {
        padding: 24px 20px;
        gap: 20px;
    }

    .pricing-card .pricing-description ul {
        font-size: 14px !important;
    }

    .pricing-card .pricing-description p {
        font-size: 14px !important;
    }

    .pricing-title {
        font-size: 22px;
    }

    .pricing-subtitle {
        font-size: 14px;
    }

    .pricing-description {
        font-size: 14px;
    }

    .price-amount {
        font-size: 40px;
    }

    .ruble {
        font-size: 40px;
    }

    .price-period {
        font-size: 16px;
    }

    .footer {
        padding: 30px 16px;
        margin-top: 50px;
    }

    .footer-top {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .footer .logo {
        height: 30px;
        width: 129.75px;
    }

    .footer-nav {
        position: static;
        transform: none;
        flex-wrap: wrap;
        gap: 16px;
        font-size: 14px;
    }

    .back-to-top {
        width: 100%;
        justify-content: space-between;
    }

    .back-to-top-text {
        font-size: 16px;
    }

    .back-to-top-btn {
        padding: 12px;
            height: 50px;
    width: 50px;
    }

    .back-to-top-btn svg {
        width: 24px;
        height: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .footer-contacts {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .contact-item {
        width: 100%;
        justify-content: center;
        padding: 12px;
        gap: 8px;
    }

    .contact-icon {
        width: 20px;
        height: 20px;
    }

    .contact-text {
        font-size: 16px;
    }

    .footer-copyright {
        font-size: 14px;
        text-align: center;
    }

    .btn-health-path .btn-text-short {
        display: none;
    }

    .btn-health-path .btn-text-long {
        display: inline;
    }
}

@media (max-width: 390px) {
    .btn-health-path {
        padding: 14px 20px !important;
        font-size: 16px !important;
    }

    .btn-health-path .btn-text-long {
        display: none;
    }

    .btn-health-path .btn-text-short {
        display: inline;
    }
}
