
:root {
    --accent-color: #00BBFF;
    --text-dark: var(--text-dark);
}

#main {
    background-color: #F4F4F4;
}

.container-sm {
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 100px;
    padding-right: 100px;
    width: 100%;
}

.hero {
    background-color: #00BBFF;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 0;
    min-height: 600px;
    overflow: hidden;
}

.hero::after {
    content: '';
    background-image: url('/upload/dev2fun.imagecompress/webp/images/hero-circles.webp');
    width: 718px;
    height: 722px;
    background-position: right;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    min-height: 722px;
    pointer-events: none;
}

.hero__content {
    max-width: 610px;
    position: relative;
    z-index: 2;
}

.hero__title {
    color: #fff;
    font-weight: 400;
    font-size: 64px;
    letter-spacing: 2%;
    text-transform: uppercase;
    max-width: 610px;
    line-height: 120%;
}

.hero__desc {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 40px;
    line-height: 120%;
    letter-spacing: 2%;
    text-transform: uppercase;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Кнопки */
.button {
    text-decoration: none;
    display: inline-block;
}

.button--primary {
    background: #fff;
    padding: 24px 32px;
    border-radius: 8px;
    color: #00BBFF;
    font-weight: 700;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 2%;
}

.button--outline {
    padding: 24px 32px;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 2%;
    border: 1px solid #fff;
    border-radius: 8px;
}

/* Отступы */
.m-t64 {
    margin-top: 64px;
}

.m-t32 {
    margin-top: 32px;
}

/* Секция услуг */
.services {
    padding: 80px 0;
}

.block__title {
    font-weight: 500;
    font-size: 40px;
    line-height: 120%;
    letter-spacing: 2%;
    text-transform: uppercase;
    color: var(--text-dark);
}

.block__title span {
    color: #00BBFF;
}

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

.services__card {
    height: 250px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    background-color: #fff;
}

.services__card:hover {
    background: #00BBFF;
}

.services__card-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 2%;
    text-transform: uppercase;
    color: var(--text-dark);
}

.services__card-desc {
    color: var(--text-dark);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
}

.services__card::before {
    content: '';
    position: absolute;
    width: 34px;
    height: 11px;
    background-image: url("data:image/svg+xml,%3Csvg width='34' height='11' viewBox='0 0 34 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5.1488H32M32 5.1488L28.1628 0.648804M32 5.1488L28.1628 9.6488' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    left: 20px;
    bottom: 10px;
}

.about {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.about::after {
    content: '';
    background-image: url('/images/circles-blue.png');
    width: 718px;
    height: 722px;
    background-position: right;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    min-height: 650px;
    pointer-events: none;
}

.bck-white {
    background-color: #fff;
}

.about__content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.about__list {
    margin-left: 30px;
}

.about__item {
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    padding: 10px 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
}

.about__stats {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.about__stat-item {
    flex: 1;
    padding: 20px;
}

.about__stat-number {
    display: block;
    color: #00BBFF;
    font-weight: 500;
    font-size: 48px;
    line-height: 120%;
}

.about__stat-text {
    font-size: 16px;
    line-height: 150%;
    color: var(--text-dark);
    font-weight: 400;
}

.main-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    overflow: hidden;
    min-height: 600px;
    margin-top: 32px;
}

.tabs-nav {
    width: 400px;
    min-width: 400px;
    display: flex;
    flex-direction: column;
    position: relative;
}


.tab-btn {
    position: relative;
    display: flex;
    gap: 14px;
    padding: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    text-align: left;
    height: 98px;
}

.tab-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #00BBFF;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tab-btn::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 60%;
    border-radius: 0 4px 4px 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-btn:hover::before {
    opacity: 0.5;
}

.tab-btn.active::before {
    opacity: 1;
}

.tab-btn.active::after {
    transform: translateY(-50%) scaleY(1);
}

.tab-text {
    position: relative;
    z-index: 1;
    flex: 1;
}

.tab-title {
    color: var(--text-dark);
    transition: color 0.4s ease;
    letter-spacing: -0.01em;
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 2%;
    text-transform: uppercase;
}

.tab-btn.active .tab-title,
.tab-btn:hover .tab-title {
    color: #fff;
}

.tab-arrow {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

.tab-arrow svg {
    width: 18px;
    height: 18px;
    stroke: rgba(255, 255, 255, 0.6);
}

.tab-btn.active .tab-arrow {
    opacity: 1;
    transform: translateX(0);
}

.tabs-content {
    flex: 1;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.tab-panel {
    position: absolute;
    inset: 32px 40px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}


.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.card-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
            rgba(99, 102, 241, 0.2) 0%,
            rgba(168, 85, 247, 0.2) 100%);
    border-radius: 10px;
}

.card-icon svg {
    width: 18px;
    height: 18px;
    stroke: #a78bfa;
}

.card-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

.card-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.7;
}

.tabs-container {
    display: flex;
    max-width: 100%;
    background: #fff;
    min-height: 500px;
}

input[type="radio"] {
    display: none;
}

.tabs-menu {
width: 100%;
max-width: 400px;
}

.tab-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 2%;
    text-transform: uppercase;
    }   

.tab-label:hover {
    background-color: #e8e8e8;
}

.tab-label .arrow {
    opacity: 0.3;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.tabs-content {
    width: 65%;
    padding: 0 20px;
    position: relative;
}

.content-item {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.info-row {
display: grid;
padding: 40px 0;
border-bottom: 1px solid #DADADA;
grid-template-columns: 295px 1fr;
gap: 20px;
}

.info-row:last-child {
border-bottom: none;
}
.info-title {
color: var(--text-dark);
font-weight: 500;
font-size: 18px;
line-height: 120%;
}
.info-text {
color: #595959;
font-weight: 400;
font-size: 16px;
line-height: 150%;
}


#tab-1:checked~.tabs-menu .tab-label[for="tab-1"],
#tab-2:checked~.tabs-menu .tab-label[for="tab-2"],
#tab-3:checked~.tabs-menu .tab-label[for="tab-3"] {
    background-color: var(--accent-color);
    color: white;
}

#tab-1:checked~.tabs-menu .tab-label[for="tab-1"] .arrow,
#tab-2:checked~.tabs-menu .tab-label[for="tab-2"] .arrow,
#tab-3:checked~.tabs-menu .tab-label[for="tab-3"] .arrow {
    opacity: 1;
    transform: translateX(5px);
}

#tab-1:checked~.tabs-content #content-1,
#tab-2:checked~.tabs-content #content-2,
#tab-3:checked~.tabs-content #content-3 {
    display: block;
}
.directions-section {
    background-color: var(--bg-section);
    padding: 80px 20px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-dark);
    text-transform: uppercase;
}

.directions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: transparent;
}

.direction-item {
    text-decoration: none;
    background-color: transparent; 
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 182px;
    position: relative;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-sizing: border-box;
    z-index: 1;
}

.item-icon {
	width: 64px;
	height: 64px;
	margin-bottom: 35px;
	display: flex;
	align-items: baseline;
	justify-content: center;
	overflow: visible;
}

.item-icon svg {
    width: 32px;
    height: 32  px;
    object-fit: contain;
    filter: grayscale(1) opacity(0.6);
    transition: all 0.4s ease;
}

.item-title {
	font-weight: 600;
	font-size: 20px;
	line-height: 120%;
	letter-spacing: 2%;
	text-transform: uppercase;
	display: flex;
	align-items: center;
    position: relative;
}

.item-arrow {
    position: absolute;
    right: 35px;
    bottom: 35px;
    color: #ccc;
    font-size: 24px;
    transition: all 0.3s ease;
}


.direction-item:hover {
    background-color: #ffffff;
    z-index: 10; 
    border-color: transparent; 
    color: var(--accent-color);
}
.item-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #DADADA; 
    transition: color 0.4s ease, transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.item-icon svg {
    width: 31px;
    height: 32px;
    transition: 
        transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
        color 0.5s ease, 
        filter 0.5s ease;
    
    will-change: transform;
    transform: translateZ(0); 
    backface-visibility: hidden;
}

.direction-item:hover .item-icon svg {
    transform: scale(2); 
    filter: grayscale(0) opacity(1);
    color: var(--brand-blue);
}   

.direction-item:hover .item-icon svg path {
    stroke: var(--accent-color);
}
.direction-item:hover .item-icon {
	color: var(--brand-blue);
	transform: translateY(-5px);
	padding: 0;
}   

.direction-item:hover .item-title {
    color: var(--accent-color);
    transition: color 0.4s ease;
}

.direction-item:hover .item-arrow {
    color: var(--brand-blue);
    transform: translateX(10px);
    transition: all 0.4s ease;
}

.direction-item .item-title::after {
    content:"";
    background: url('/images/arrow-new.svg') no-repeat;
    width: 16px;
    height: 10px;


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

@media (max-width: 600px) {
    .directions-grid {
        grid-template-columns: 1fr;
    }
    .direction-item {
        padding: 40px 30px;
        min-height: auto;
    }
    .section-title {
        font-size: 24px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media(max-width:1200px) {
    .info-row {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
}
@media(max-width:1000px) {
    .tabs-container {
        flex-direction: column;
    }
    .tabs-menu {
        max-width: none;
    }
    .tabs-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .tabs-container {
        flex-direction: column;
    }

    .tabs-menu,
    .tabs-content {
        width: 100%;
    }

    .info-row {
        flex-direction: column;
    }

    .info-title {
        width: 100%;
        margin-bottom: 10px;
    }

    .info-text {
        width: 100%;
    }
}



@media screen and (max-width: 1200px) {
    .container-sm {
        padding-left: 60px;
        padding-right: 60px;
    }

    .hero__title {
        font-size: 54px;
    }

    .hero__desc {
        font-size: 34px;
    }

    .hero::after {
        width: 550px;
        height: 550px;
        min-height: auto;
    }

    .about::after {
        width: 550px;
        height: 550px;
        min-height: auto;
    }
}

@media screen and (max-width: 992px) {
    .container-sm {
        padding-left: 40px;
        padding-right: 40px;
    }

    .hero {
        padding: 60px 0;
        min-height: 500px;
    }

    .hero__title {
        font-size: 44px;
        max-width: 500px;
    }

    .hero__desc {
        font-size: 28px;
    }

    .hero::after {
        width: 450px;
        height: 450px;
        opacity: 0.7;
    }

    .about::after {
        width: 450px;
        height: 450px;
        opacity: 0.7;
    }

    .block__title {
        font-size: 36px;
    }

    .services__cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .button--primary,
    .button--outline {
        padding: 20px 28px;
    }

    .about__stats {
        gap: 15px;
    }

    .about__stat-number {
        font-size: 40px;
    }
}

@media screen and (max-width: 768px) {
    .container-sm {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero {
        padding: 40px 0;
        min-height: auto;
    }

    .hero::after {
        width: 100%;
        height: 100%;
        opacity: 0.3;
        background-position: center;
        top: 0;
        transform: none;
    }

    .about::after {
        width: 100%;
        height: 100%;
        opacity: 0.3;
        background-position: center;
        top: 0;
        transform: none;
    }

    .hero__content {
        max-width: 100%;
        text-align: center;
    }

    .hero__title {
        font-size: 36px;
        max-width: 100%;
    }

    .hero__desc {
        font-size: 24px;
    }

    .hero__actions {
        justify-content: center;
    }

    .block__title {
        font-size: 32px;
        text-align: center;
    }

    .services {
        padding: 50px 0;
    }

    .services__cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .services__card {
        height: auto;
        min-height: 200px;
    }

    .button {
        width: 100%;
        text-align: center;
    }

    .about {
        padding: 50px 0;
        text-align: center;
    }

    .about__content {
        max-width: 100%;
    }

    .about__list {
        text-align: left;
    }

    .about__stats {
        flex-direction: column;
        gap: 20px;
    }

    .about__stat-item {
        padding: 15px;
        background: #f5f5f5;
        border-radius: 8px;
    }

    .about__stat-number {
        font-size: 36px;
    }

    .m-t64 {
        margin-top: 40px;
    }

    .m-t32 {
        margin-top: 20px;
    }
}

@media screen and (max-width: 480px) {
    .hero__title {
        font-size: 28px;
    }

    .hero__desc {
        font-size: 20px;
    }

    .block__title {
        font-size: 24px;
    }

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

    .services__card-desc {
        font-size: 14px;
    }

    .hero__actions {
        flex-direction: column;
        gap: 10px;
    }

    .button--primary,
    .button--outline {
        width: 100%;
        padding: 16px 20px;
    }

    .about__stat-number {
        font-size: 32px;
    }

    .about__stat-text {
        font-size: 14px;
    }
}