.services-find-section {
    padding-top: 60px;
    z-index: 2;
}

.services-wrapper-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

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

.about-title-wrapper .about-title-content .count-services {
    margin: 0;
    color: #AEAEB2;
    font-size: 14px;
    font-weight: 400;
}

.about-title-wrapper .about-title {
    font-size: 30px;
    font-weight: 600;
    margin: 0;
    color: #000;
}

.about-title-wrapper .about-title-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-title-wrapper .about-title-content .services-view-switcher-wrapper {
    background: #FAFAFA;
    border-radius: 8px;
    padding: 3px;
}

.about-title-wrapper .about-title-content .services-view-switcher-wrapper .services-view-switcher {
    gap: 8px;
    display: flex;
    align-items: center;
}

.about-title-wrapper .about-title-content .services-view-switcher-wrapper .services-view-switcher a, .about-title-wrapper .about-title-content .services-view-switcher-wrapper .services-view-switcher span {
    padding: 8px 10px;
    font-size: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.about-title-wrapper .about-title-content .services-view-switcher-wrapper .services-view-switcher a {
    font-weight: 600;
    color: #333333;
}

.about-title-wrapper .about-title-content .services-view-switcher-wrapper .services-view-switcher span {
    font-weight: 400;
    color: #fff;
    background: #00AECB;
}


.services-search-wrapper {
    position: relative;
    z-index: 100;
}

.services-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid #D2D2D2;
    border-radius: 10px;
    padding: 0 15px;
    box-shadow: 0px 1px 1px 1px rgba(0, 0, 0, 0.08) inset;
}

.services-search-input-wrapper:focus-within {
    border-color: #00AECB;
}

.search-icon {
    margin-right: 12px;
    flex-shrink: 0;
}

.services-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 0;
    font-size: 14px;
    color: #333333;
    background: transparent;
}

.services-search-input::placeholder {
    color: #999999;
}

.search-reset-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #AEAEB2;
    font-weight: 400;
    font-size: 14px;
    flex-shrink: 0;
}

.search-reset-btn svg {
    flex-shrink: 0;
}

.services-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: #FFFFFF;
    border: 1px solid #F9F9F9;
    border-radius: 10px;
    max-height: 500px;
    padding: 20px 0;
    overflow-y: auto;
    box-shadow: -4px 16px 32px -4px rgba(12, 12, 13, 0.1), 
    4px 4px 4px -4px rgba(12, 12, 13, .05);
    scrollbar-width: thin;
    scrollbar-color: #F0F0F0 #FFFFFF;
}

/* Firefox */
.services-search-results {
    scrollbar-width: thin;
    scrollbar-color: #F0F0F0 #FFFFFF;
}

/* Chrome, Edge, Safari */
.services-search-results::-webkit-scrollbar {
    width: 2px;
    background: #FFFFFF;
    border-radius: 9em !important;
}

.services-search-results::-webkit-scrollbar-thumb {
    background: #F0F0F0;
    border-radius: 9em !important;
}

.services-search-results::-webkit-scrollbar-track {
    background: #FFFFFF;
    border-radius: 9em !important;
}

.services-search-results-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-search-result-item {
    cursor: pointer;
    transition: background-color 0.2s;
    padding: 7.5px 25px;
}

.services-search-result-item:hover {
    background-color: #F8F8F8;
}

.services-search-result-type {
    font-size: 14px;
    color: #D2D2D2;
    margin-bottom: 4px;
    font-weight: 400;
}

.services-search-result-name {
    font-size: 14px;
    color: #292929;
}

.services-search-result-name .highlight {
    background-color: #00AECB1F;
    color: #00AECB;
    border-radius: 2px;
}

.services-search-results-empty {
    padding: 20px;
    text-align: center;
    color: #999999;
    font-size: 14px;
}

.services-section .show-more-services {
    padding-top: 20px;
}

.services-section .show-more-services a {
    all: unset;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F5F5F5;
    font-size: 14px;
    font-weight: 400;
    color: #292929;
    border-radius: 9px;
    padding: 10px 16px;
    transition: .2s ease-in-out;
}

.services-section .show-more-services a:hover {
    background: #E9E9E9;
}

.services-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 20px;
}

.services-grid-new .services-grid-new-item {
    padding: 25px 32px;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}

.services-grid-new .services-grid-new-item .servieces-grid-new-item-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
    height: 100%;
    position: relative;
    z-index: 2;
}

.services-grid-new .services-grid-new-item .servieces-grid-new-item-content .servieces-grid-new-item-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.services-grid-new .services-grid-new-item .servieces-grid-new-item-content .servieces-grid-new-item-text h2 {
    font-size: 22px;
    font-weight: 600;
    max-width: 174px;
}

.services-grid-new .services-grid-new-item .servieces-grid-new-item-content .servieces-grid-new-item-text p {
    font-size: 16px;
    font-weight: 400;
    max-width: 260px;
}

.services-grid-new .services-grid-new-item .servieces-grid-new-item-content .read-more-service {
    font-size: 14px;
    font-weight: 400;
    display: inline;
    width: max-content;
}

.services-grid-new .services-grid-new-item img {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    z-index: 1;
}

.services-grid-new-item:nth-child(1) {
    grid-row: span 2 / span 2;
}

.services-grid-new-item:nth-child(2) {
    grid-row: span 2 / span 2;
    grid-column-start: 1;
    grid-row-start: 3;
}

.services-grid-new-item:nth-child(3) {
    grid-row: span 4 / span 4;
    grid-column-start: 2;
    grid-row-start: 1;
}

.services-grid-new-item:nth-child(4) {
    grid-row: span 2 / span 2;
    grid-column-start: 3;
    grid-row-start: 1;
}


.services-grid-new-item:nth-child(5) {
    grid-column-start: 3;
    grid-row-start: 3;
}

.services-grid-new-item:nth-child(6) {
    grid-column-start: 3;
    grid-row-start: 4;
}

/* Popular Services Section */
.popular-services-section {
    padding: 130px 0;
    background: #FFFFFF;
}

.popular-services-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.popular-services-title {
    font-size: 24px;
    font-weight: 600;
    color: #000000;
    margin: 0;
}

.popular-services-all-link {
    font-size: 14px;
    font-weight: 400;
    color: #00AECB;
    text-decoration: none;
    padding: 10px 16px;
    background: #EBF7FF;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.popular-services-all-link:hover {
    background: #DFF3FC !important;
}

.popular-services-all-link.mobile {
    display: none;
    margin-top: 12px;
    width: 100%;
}

.popular-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.popular-service-card {
    background: #F5F5F5;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    height: 100px;
    display: flex;
    align-items: center;
    transition: .2s ease-in-out;
    cursor: pointer;
}

.popular-service-card:hover {
    background: #EDEDED;
}

.popular-service-icon {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 52px;
    height: 72px;
}

.popular-service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 280px;
    gap: 4px;
    z-index: 1;
}

.popular-service-direction {
    font-size: 14px;
    font-weight: 400;
    color: #00AECB;
    line-height: 1.4;
}

.popular-service-name {
    font-size: 16px;
    font-weight: 600;
    color: #292929;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.services-grid-new .services-grid-new-item img.mobile {
    display: none;
}

@media (max-width: 1200px) {
    .services-grid-new {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(6, 1fr) !important;
    }

    .services-find-section .container {
        width: unset;
    }

    .alphabetical-services-list a {
        width: auto !important;
        display: inline !important;
    }

    .alphabetical-services-desktop .container {
        width: unset;
    }

    .services-grid-new-item:nth-child(1) {
        grid-row: span 2 / span 2 !important;
    }

    .services-grid-new-item:nth-child(2) {
        grid-row: span 2 / span 2 !important;
        grid-column-start: 1 !important;
        grid-row-start: 3 !important;
    }

    .services-grid-new-item:nth-child(3) {
        grid-row: span 4 / span 4 !important;
        grid-column-start: 2 !important;
        grid-row-start: 1 !important;
    }

    .services-grid-new-item:nth-child(4) {
        grid-row: span 2 / span 2 !important;
        grid-row-start: 5 !important;
        grid-column-start: unset !important;
    }

    .services-grid-new-item:nth-child(5) {
        grid-row-start: 5 !important;
        grid-column-start: unset !important;

    }

    .services-grid-new-item:nth-child(6) {
        grid-column-start: 2 !important;
        grid-row-start: 6 !important;

    }
}

@media (max-width: 992px) {
    .popular-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid-new .services-grid-new-item {
        border-radius: 10px;
    }

    .popular-services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .services-grid-new .services-grid-new-item .servieces-grid-new-item-content .servieces-grid-new-item-text p {
        display: none;
    }

    .services-grid-new {
        grid-template-columns: repeat(1, 1fr) !important;
        grid-template-rows: repeat(6, 1fr) !important;
    }

    .services-grid-new-item:nth-child(n) {
        grid-column-start: unset !important;
        grid-row-start: unset !important;
        grid-column-end: unset !important;
        grid-row-end: unset !important;
        grid-column-span: unset !important;
        grid-row-span: unset !important;
        grid-column-start: unset !important;
        grid-row-start: unset !important;
        grid-column-end: unset !important;
        grid-row-end: unset !important;
        grid-row-span: unset !important;
        grid-column-start: unset !important;
        grid-row-start: unset !important;
    }

    .popular-services-header {
        margin-bottom: 30px;
    }

    .popular-services-header .popular-services-all-link {
        display: none;
    }

    .popular-services-grid .popular-service-card:nth-child(n+5) {
        display: none;
    }

    .popular-services-all-link.mobile {
        display: flex;
    }

    .popular-services-title {
        font-size: 24px;
    }

    .services-grid-new {
        padding: 0 15px;
    }

    .services-section .show-more-services {
        padding: 20px 15px 0 15px;
    }

    .popular-services-section {
        padding-top: 60px;
    }

    .services-search-results {
        max-height: 350px;
    }

    .circle-napravlenie {
        height: 105% !important;
        width: 200% !important;
    }
}

@media (max-width: 650px) {
    .services-grid-new-item {
        height: 100px;
        padding: 15px 20px !important;
    }

    .services-grid-new .services-grid-new-item .servieces-grid-new-item-content {
        justify-content: center !important;
        gap: 12px !important;
    }

    .about-title-wrapper .about-title-content {
        gap: 20px;
        width: 100%;
        flex-wrap: wrap;
        margin-top: -33px;
        justify-content: end;
    }

    .services-grid-new .services-grid-new-item .servieces-grid-new-item-content .servieces-grid-new-item-text h2 {
        font-size: 18px;
        max-width: 250px;
    }

    .services-grid-new {
        display: flex;
        flex-direction: column;
    }

    .services-grid-new .services-grid-new-item .servieces-grid-new-item-content {
        gap: 10px;
    }

    .about-title-wrapper .about-title-content, .about-title-wrapper .about-title-content .services-view-switcher-wrapper, .about-title-wrapper .about-title-content .services-view-switcher-wrapper .services-view-switcher, .about-title-wrapper .about-title-content .services-view-switcher-wrapper .services-view-switcher span, .about-title-wrapper .about-title-content .services-view-switcher-wrapper .services-view-switcher a {
        width: 100%;
    }

    .services-wrapper-main {
        gap: 20px;
    }

    .services-section--width-about {
        padding-top: 30px;
    }

    .services-grid-new {
        gap: 12px;
    }

    .about-title-wrapper {
        flex-wrap: wrap;
    }

    .about-title-wrapper .about-title-content .services-view-switcher-wrapper .services-view-switcher a, .about-title-wrapper .about-title-content .services-view-switcher-wrapper .services-view-switcher span {
        padding: 8px 3px;
    }

    .about-title-wrapper .about-title-content .services-view-switcher-wrapper .services-view-switcher {
        gap: 4px;
    }

    .services-grid-new .services-grid-new-item img {
        display: none;
    }

    .services-grid-new .services-grid-new-item img.mobile {
        display: block;
    }
}

@media (max-width: 480px) {
    .about-title-wrapper .about-title-content .services-view-switcher-wrapper .services-view-switcher a, .about-title-wrapper .about-title-content .services-view-switcher-wrapper .services-view-switcher span {
        font-size: 11px;
    }
}

/* Services Cards Section */
.services-cards-section {
    padding: 60px 0;
    position: relative;
}

.services-cards-grid {
    z-index: 2;
    position: relative;
    column-count: 3;
    column-gap: 20px;
}

.circle-napravlenie {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(50% 50% at 50% 50%, rgba(67, 218, 239, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 50%;
    z-index: 1;
}

.service-card-item {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    break-inside: avoid;
    page-break-inside: avoid;
    min-height: 340px;
    margin-bottom: 20px;
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    position: relative;
}

.service-card-icon {
    width: 40px;
    height: 40px;
}

.service-card-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.service-card-title {
    font-size: 16px;
    font-weight: 600;
    max-width: 200px;
    color: #000000;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.service-card-count {
    font-size: 14px;
    font-weight: 400;
    color: #00AECB;
    white-space: nowrap;
}

.service-card-content {
    flex: 1;
    margin-bottom: 16px;
}

.service-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card-list > li {
    margin-bottom: 12px;
}

.service-card-list > li:last-child {
    margin-bottom: 0;
}

.service-card-list a {
    font-size: 14px !important;
    font-weight: 400;
    color: #000;
    line-height: 1.5;
    display: inline;
    border-bottom: 1px dotted #D2D2D2;
}

.service-card-list a:hover {
    color: #00AECB;
}

.service-card-list-item-expandable {
    display: flex;
    align-items: center;
    width: max-content;
    cursor: pointer;
    border-bottom: 1px dotted #D2D2D2;
}

.service-card-list-item-expandable a {
    border-bottom: none !important;
}

.expand-icon {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 8px solid #00AECB;
    vertical-align: middle;
    cursor: pointer;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.expand-icon.active {
    transform: rotate(180deg);
}

.service-card-sublist {
    list-style: none;
    padding: 8px 0 0 20px;
    margin: 0;
    display: none;
}

.service-card-sublist li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 18px;
}

.service-card-sublist li::before {
    content: "";
    display: inline-block;
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00AECB;
}

.service-card-sublist li:last-child {
    margin-bottom: 0;
}

.service-card-sublist a {
    font-size: 13px;
    color: #7C7C7C;
}

.service-card-footer {
    margin-top: auto;
}

.service-card-toggle {
    font-size: 14px;
    color: #00AECB;
    text-decoration: none;
    display: inline-block;
    transition: color 0.2s;
    cursor: pointer;
}

.service-card-toggle:hover {
    color: #008BA3;
}

.service-card-toggle.clicked {
    color: #969694;
}

.service-card-item-all {
    width: 100%;
    justify-content: center;
    align-items: center;
    color: #292929;
    font-size: 14px;
    font-weight: 400;
    padding: 10px 16px;
    background: #fff;
    border-radius: 9px;
    display: none;
}

/* Responsive */
@media (max-width: 992px) {
    .services-cards-grid {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .about-title-wrapper .about-title {
        font-size: 24px;
    }

    .services-cards-grid {
        column-count: 1;
    }

    .service-card-item {
        margin-bottom: 12px;
    }

    .services-cards-section {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .service-card-item {
        padding: 20px;
        background: #FAFAFA;
        min-height: 100px;
    }

    .service-card-item:nth-child(n+6) {
        display: none;
    }

    .services-cards-grid.active .service-card-item:nth-child(n+6) {
        display: flex;
    }

    .service-card-item-all {
        display: flex;
    }

    .service-card-item-all.hidden {
        display: none;
    }
}


.expand-icon {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 8px solid #00AECB;
    vertical-align: middle;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.expand-icon.active {
    transform: rotate(180deg);
}

.service-card-sublist {
    list-style: none;
    padding: 8px 0 0 20px;
    margin: 0;
    display: none;
}

.service-card-sublist.active {
    display: block;
}

/* Alphabetical Services Desktop Section (3 columns) */
.alphabetical-services-desktop {
    display: block;
    padding: 60px 0;
}

.alphabetical-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.alphabetical-services-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.alphabetical-category-card {
    background: #FAFAFA;
    border-radius: 20px;
    padding: 30px;
}

.alphabetical-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #D9D9D9;
}

.alphabetical-letter {
    font-size: 30px;
    font-weight: 600;
    color: #00AECB;
    line-height: 1;
}

.alphabetical-count {
    font-size: 14px;
    color: #969694;
    font-weight: 400;
}

.alphabetical-category-content {
    margin-top: 16px;
}

.alphabetical-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.alphabetical-services-list li {
    margin-bottom: 12px;
}

.alphabetical-services-list li:last-child {
    margin-bottom: 0;
}

.alphabetical-services-list a {
    font-size: 14px;
    color: #000000;
    text-decoration: none;
    line-height: 1.5;
    display: inline;
    border-bottom: 1px dashed #D2D2D2;
    transition: color 0.2s;
}

.alphabetical-services-list a:hover {
    color: #00AECB;
}

/* Alphabetical Services Mobile Section (Accordion) */
.alphabetical-services-mobile {
    display: none;
    padding: 40px 0;
}

.alphabetical-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.alphabetical-accordion-item {
    background: #FAFAFA;
    padding: 20px;
    border-radius: 8px;
}

.alphabetical-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background-color 0.2s;
}

.alphabetical-accordion-item.active .alphabetical-accordion-header {
    padding-bottom: 16px;
}

.alphabetical-accordion-item.active .alphabetical-accordion-header .alphabetical-accordion-count {
    color: #00AECB;
}

.alphabetical-accordion-header:hover {
    background-color: #F8F8F8;
}

.alphabetical-accordion-letter {
    font-size: 32px;
    font-weight: 600;
    color: #00AECB;
    line-height: 1;
    flex: 0 0 auto;
}

.alphabetical-accordion-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.alphabetical-accordion-count {
    font-size: 14px;
    color: #7C7C7C;
    font-weight: 400;
}

.alphabetical-accordion-arrow {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #00AECB;
    flex: 0 0 auto;
    transition: transform 0.3s ease;
    transform: rotate(0deg);
}

.alphabetical-accordion-item.active .alphabetical-accordion-arrow {
    transform: rotate(180deg);
}

.alphabetical-accordion-content {
    display: none;
    overflow: hidden;
}

.alphabetical-accordion-content .alphabetical-services-list {
    padding-top: 16px;
    border-top: 1px solid #D9D9D9;
}

/* Responsive */
@media (max-width: 768px) {
    .alphabetical-services-desktop {
        display: none;
    }
    
    .alphabetical-services-mobile {
        display: block;
    }
}
