/*
Theme Name: UI Agency RTL
Description: RTL stylesheet for Hebrew, Arabic and other RTL languages.
This file is automatically loaded by WordPress when the site language is set to RTL.
*/

:root {
    font-size: 20px;
    
    /* Colors */
    --primary-color: #924DFF;
    --primary-hover: #a366ff;
    --secondary-color: #B06CFF;
    --background: #130032;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.85);
    
    /* Glass effect */
    --glass-border: rgba(255, 255, 255, 0.09);
    --glass-bg: rgba(255, 255, 255, 0.12);
    
    /* Shadows */
    --shadow-button: 0 0.5rem 1.5rem rgba(146, 77, 255, 0.3);
    --shadow-button-hover: 0 0.75rem 2rem rgba(146, 77, 255, 0.4);
    
    /* Transitions */
    --transition-fast: 0.3s;
    --transition-medium: 0.5s;
    --transition-slow: 1s;
}

@media (max-width: 1680px) {
  :root {
    font-size: 18px;
}  
}
@media (max-width: 1440px) {
  :root {
    font-size: 16px;
}  
}
@media (max-width: 1280px) {
  :root {
    font-size: 16px;
}  
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
  height: 100%;
}

body {
  margin: 0;
}


#smooth-wrapper {
  height: 100%;
  overflow: hidden;
}

#smooth-content {
  will-change: transform;
}
body {
    font-family: 'Noto Sans Hebrew', sans-serif;
    background: var(--background);
    color: var(--text-primary);
    /*overflow-x: hidden;*/
    line-height: 1.6;
    direction: rtl;
    text-align: right;
}
/* Только для теста диагностики! */
.wpcf7 {
    pointer-events: none;
}
.wpcf7 form * {
    pointer-events: auto;
}
/* Разрешаем скролл поверх формы */
.wpcf7, .wpcf7 form, .wpcf7 input, .wpcf7 textarea {
    touch-action: pan-y !important; 
}
/* WordPress Core Styles - RTL */
.alignnone {
    margin: 0.3125rem 0 1.25rem 1.25rem;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 0.3125rem auto 1.25rem;
}

.alignright {
    float: left;
    margin: 0.3125rem 1.25rem 1.25rem 0;
}

.alignleft {
    float: right;
    margin: 0.3125rem 0 1.25rem 1.25rem;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    padding: 0.625rem 0;
}

/* Screen reader text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* RTL Specific Adjustments */
body.rtl-layout {
    direction: rtl;
    text-align: right;
}

/* Lists RTL */
ul, ol {
    padding-right: 1.25rem;
    padding-left: 0;
}

/* Blockquote RTL */
blockquote {
    border-right: 4px solid var(--primary-color);
    border-left: none;
    padding-right: 1.5rem;
    padding-left: 0;
    margin-right: 0;
}

/* Navigation RTL */
.nav-link::after {
    left: 0;
    right: auto;
}

/* Buttons and Forms RTL */
input[type="checkbox"],
input[type="radio"] {
    margin-left: 0.5rem;
    margin-right: 0;
}

/* Table RTL */
table {
    direction: rtl;
}

th, td {
    text-align: right;
}

/* Float clearfix RTL */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Media Queries RTL specific */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
}

/* Admin Bar RTL adjustment */
body.admin-bar {
    margin-top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar {
        margin-top: 46px;
    }
}

/* Icons RTL flip */
.icon-arrow-left {
    transform: scaleX(-1);
}

.icon-arrow-right {
    transform: scaleX(-1);
}

/* WordPress Gallery RTL */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.gallery-item {
    flex: 1 1 auto;
}

/* Comments RTL */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment-list .children {
    padding-right: 2rem;
    padding-left: 0;
}

.comment-metadata {
    text-align: right;
}

/* Search Form RTL */
.search-form {
    display: flex;
    direction: rtl;
}

.search-form input[type="search"] {
    border-radius: 0 4px 4px 0;
}

.search-form button {
    border-radius: 4px 0 0 4px;
}

/* Pagination RTL */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    direction: rtl;
}

/* Post Navigation RTL */
.post-navigation .nav-previous {
    float: right;
}

.post-navigation .nav-next {
    float: left;
}

/* Widget RTL */
.widget {
    margin-bottom: 2rem;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget ul ul {
    padding-right: 1rem;
    padding-left: 0;
}

/* Footer RTL */
.footer-widget-area {
    direction: rtl;
}

/* Menu RTL */
.menu {
    list-style: none;
    padding: 0;
}

.menu .sub-menu {
    padding-right: 1.5rem;
    padding-left: 0;
}

/* Breadcrumbs RTL */
.breadcrumbs {
    direction: rtl;
}

.breadcrumbs .separator {
    margin: 0 0.5rem;
}

/* Custom RTL utilities */
.text-right {
    text-align: right !important;
}

.text-left {
    text-align: left !important;
}

.float-right {
    float: right !important;
}

.float-left {
    float: left !important;
}

.mr-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

.ml-auto {
    margin-left: auto !important;
    margin-right: 0 !important;
}

/* WPML Language Switcher RTL */
.wpml-ls {
    direction: rtl;
}

.wpml-ls-legacy-list-horizontal {
    text-align: right;
}

/* ACF RTL Support */
.acf-field {
    direction: rtl;
}

.acf-label {
    text-align: right;
}

/* Gutenberg Editor RTL */
.wp-block {
    direction: rtl;
}

.wp-block[data-align="right"] {
    text-align: right;
}

.wp-block[data-align="left"] {
    text-align: left;
}

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

/* Print RTL */
@media print {
    body {
        direction: rtl;
        text-align: right;
    }
}
    

    .home-container {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 3.5rem 3.5rem;
        background: url(images/home-bg.png);
    }

.glass-container {
    position: relative;
    width: calc(100vw - 7rem);
    max-width: 100%;
    height: calc(100vh - 7rem);
    padding: 2rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: visible;
    z-index: 10;
    border-radius: 28px;
    border: 5.025px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8.399999618530273px);
}

    .header-home {
        position: absolute;
        top: 2rem;
        left: 0;
        right: 0;
        display: flex;
        justify-content: flex-start;
        align-items: center;
       padding: 0 2.5rem;
        z-index: 100;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 0.7rem;
    }

    .lang-switcher {
        background: transparent;
        color: var(--text-primary);
        letter-spacing: -0.36px;
        width: 2.75rem;
        height: 2.75rem;
        border-radius: 50%;
        font-size: 0.9rem;
        font-weight: 600;
        cursor: pointer;
        transition: all var(--transition-medium) cubic-bezier(0.4, 0, 0.2, 1);
        border: 2px solid var(--primary-color);
    }

    .lang-switcher:hover {
        border-color: rgba(255, 255, 255, 0.4);
        background: rgba(255, 255, 255, 0.05);
        transform: translateY(-0.125rem);
    }

    .cta-button {
        background: var(--primary-color);
        border: none;
        color: var(--text-primary);
        padding: 0.6rem 2rem;
        border-radius: 3.125rem;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all var(--transition-medium) cubic-bezier(0.4, 0, 0.2, 1);
        font-family: 'Noto Sans Hebrew', sans-serif;
        box-shadow: var(--shadow-button);
        text-decoration: none;
        display: inline-block;
    }

    .cta-button:hover {
        transform: translateY(-0.25rem);
        box-shadow: var(--shadow-button-hover);
        background: var(--primary-hover);
    }

    .main-content {
        text-align: center;
        z-index: 10;
        position: relative;
    }

    .main-logo {
        margin-bottom: 1.25rem;
        opacity: 0;
        transform: scale(1);
    }

    .main-logo svg {
        width: 5rem;
        height: auto;
    }

    h1 {
        font-size: 4.5rem;
        font-weight: 800;
        margin-bottom: 0rem;
        line-height: 1;
        letter-spacing: -1.8px;
    }

    .home h1 {
        font-size: 5rem;
        font-weight: 800;
        margin-bottom: 1.1rem;
        line-height: 1.05;
        opacity: 0;
        letter-spacing: 0px;
    }

.subtitle {
    font-size: 1.2rem;
    line-height: 1.66;
    opacity: 0;
    color: var(--text-primary);
    font-weight: 400;
    max-width: 43rem;
    margin: 0 auto 3.5rem;
    direction: ltr;
}

    .categories {
        display: flex;
        justify-content: center;
        gap: 1.25rem;
        flex-wrap: wrap;
        opacity: 0;
        flex-direction: row-reverse;
    }

    .category-btn {
        background: transparent;
        color: var(--text-primary);
        padding: 0;
        font-size: 1.1rem;
        font-weight: 500;
        cursor: pointer;
        transition: all var(--transition-medium) cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        text-decoration: none;
        display: inline-block;
        border-radius: 100px;
    border: 2px solid var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12.550000190734863px);
    text-transform: capitalize;
    width: 11rem;
    height: 3.8rem;
    line-height: 3.6rem;
    }

    .category-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0%;
        height: 100%;
        background: var(--primary-color);
        transition: width var(--transition-medium) cubic-bezier(0.4, 0, 0.2, 1);
        z-index: -1;
    }

    .category-btn:hover::before {
        width: 100%;
    }

    .category-btn:hover {
        border-color: var(--primary-color);
        /*transform: translateY(-0.5rem) scale(1.08);
        box-shadow: 0 1rem 2.5rem rgba(146, 77, 255, 0.5);*/
    }

    .category-btn.active {
        background: var(--primary-color);
        border-color: var(--primary-color);
        /*box-shadow: 0 0.5rem 1.5rem rgba(146, 77, 255, 0.5);*/
    }

    .floating-gallery {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        pointer-events: none;
        z-index: 1;
        overflow: hidden;
    }

    .floating-image {
        position: absolute;
        border-radius: 1rem;
        box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.3);
        opacity: 0;
        will-change: transform;
    }

    .floating-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 1rem;
    }

    .floating-image-1 {
        top: 15.1rem;
        right: -4rem;
        max-width: 18.1rem;
        transform: rotate(0deg);
    }

    .floating-image-2 {
        top: -4.5rem;
        left: 15.5rem;
        max-width: 8.85rem;
        transform: rotate(0deg);
    }

    .floating-image-3 {
        top: 27rem;
        left: -27rem;
        max-width: 35.7rem;
        transform: rotate(0deg);
    }

    .floating-image-4 {
        bottom: -18rem;
        right: 14rem;
        max-width: 14rem;
        transform: rotate(0deg);
    }

    .particles {
        position: fixed;
        width: 100vw;
        height: 100vh;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 0;
    }

    .particle {
        position: absolute;
        width: 0.25rem;
        height: 0.25rem;
        background: rgba(146, 77, 255, 0.6);
        border-radius: 50%;
        opacity: 0;
    }

    @media (max-width: 1024px) {

        .glass-container {
            padding: 2.5rem 2.5rem;
        }

        .floating-image {
            display: none;
        }
    }

    @media (max-width: 768px) {

        h1, .home h1 {
            font-size: 2.5rem;
        }

        .glass-container {
            width: calc(100% - 2.5rem);
            padding: 1.875rem 1.5rem;
        }

        .header {
            padding: 0 1rem;
        }

        .categories {
            gap: 0.5rem;
        }

        .subtitle {
            margin-bottom: 1rem;
            font-size: 1rem;
        }

        .category-btn {
            font-size: 0.75rem;
            width: 45%
        }
        .home-container {
    padding: 1.5rem 1.5rem;
}
.glass-container {
    width: calc(100vw - 3rem);
    height: calc(100vh - 3rem);
}
.main-logo {
    margin-bottom: 0;
}
.main-logo svg {
    width: 3rem;
}

.header-home {
    top: 0.5rem;
    padding: 0 0.5rem;
}
.header-right {
    gap: 1rem;
}
    }


    /* Industry Page */

.container {
    width: 73rem;
    margin: 0 auto;
    padding: 0;
}
.container-full {
    width: 84rem;
    margin: 0 auto;
    padding: 0;
}
        /* Header */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            border-bottom: 5.025px solid rgba(255, 255, 255, 0.09);
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(8.399999618530273px);
            transition: var(--transition-fast);
        }

        .single-project .header {
            position: absolute;
        }

        .header-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1.3rem 3.5rem;
            max-width: 100%;
            flex-direction: row-reverse;
        }

.logo svg {
    display: block;
    width: 77px;
    height: 84px;
}

        .header-right {
            display: flex;
            align-items: center;
            gap: 2rem;
            flex-direction: row-reverse;
        }

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

        .nav-link {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            transition: all var(--transition-fast);
            position: relative;
            white-space: nowrap;
        }

        .nav-link:hover, .current-menu-item a {
            color: #B06CFF;;
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 0.7rem;
            flex-direction: row-reverse;
        }

        .lang-switch {
            background: transparent;
            border: 2px solid var(--primary-color);
            color: var(--text-primary);
            width: 2.75rem;
            height: 2.75rem;
            border-radius: 50%;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition-fast);
            font-family: 'Noto Sans Hebrew', sans-serif;
            font-size: 0.9rem;
            letter-spacing: -0.36px;
        }

        .lang-switch:hover {
            border-color: rgba(255, 255, 255, 0.4);
            background: rgba(255, 255, 255, 0.05);
            transform: translateY(-0.125rem);
        }

        .cta-btn {
            background: var(--primary-color);
            border: none;
            color: var(--text-primary);
            padding: 0.6rem 2rem;
            border-radius: 3.125rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition-fast);
            font-family: 'Noto Sans Hebrew', sans-serif;
            font-size: 1rem;
            box-shadow: var(--shadow-button);
        }

        .cta-btn:hover {
            transform: translateY(-0.25rem);
            box-shadow: var(--shadow-button-hover);
            background: var(--primary-hover);
        }

        /* Hero Section */
        .hero {
            position: relative;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 6rem 0 0 0;
            background: url(images/home-bg.png) center/cover;
            overflow: hidden;
        }

.page-template-page-service .hero {
    padding: 10rem 0 13rem 0;
    background: none;
}
.page-template-page-service .hero:before {
    content: "";
    position: absolute;
    left: -10rem;
    top: -20rem;
    background: url(images/industry-section1.png);
        width: 100%;
    height: 77.5rem;
    background-size: contain;
    background-repeat: no-repeat;
}
        
        .hero-content {
            position: relative;
            z-index: 10;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap:2rem;
            align-items: center;
            width: 100%;
            padding: 0;
            max-width: 73rem;
        }

        /* Dashboard Mockup - LEFT SIDE */
        .hero-image {
            position: relative;
            order: 2;
            margin-left: -10rem;
        }

        .dashboard-mockup {
            position: relative;
            border-radius: 16px;
            overflow: hidden;
        }

        .dashboard-mockup img {
            width: 100%;
            height: auto;
            display: block;
        }

        /* Hero Text - RIGHT SIDE */
        .hero-text {
            text-align: right;
            order: 1;
            max-width: 35rem;
        }

        .hero-title {
            color: #FFF;
            font-size: 3.25rem;
            font-style: normal;
            font-weight: 400;
            line-height: 133.333%;
            margin-bottom:2rem;
        }

        .hero-title b {
    font-weight: 900;
    font-size: 3.75rem;
}

        .hero-description {
            color: #FFF;
            text-align: right;
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 300;
    line-height: 156.667%;
    margin-bottom: 1.8rem;
    padding-left: 3rem;
        }

        .hero-description p, .hero-description li {
          font-size: 1.1rem;  
          line-height: 156.667%; 
        }

        /* Hero Actions */
        .hero-actions {
            display: flex;
            align-items: center;
            gap: 0.9rem;
            flex-direction: row-reverse;
            justify-content: flex-end;
        }

        .hero-cta {
            background: var(--primary-color);
            border: none;
            color: var(--text-primary);
            padding: 0.9rem 3.25rem 0.8rem;
            border-radius: 3.125rem;
            font-size: 1rem;
            font-weight: 400;
            cursor: pointer;
            transition: var(--transition-fast);
            font-family: 'Noto Sans Hebrew', sans-serif;
            box-shadow: var(--shadow-button);
            text-decoration: none;
        }

        .hero-cta:hover {
            transform: translateY(-0.25rem);
            box-shadow: var(--shadow-button-hover);
            background: var(--primary-hover);
        }

        /* Scroll Down Icon - next to button */
        .scroll-icon {
            width: 66px;
            height: 66px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            border: 2px solid rgba(255, 255, 255, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition-fast);
            backdrop-filter: blur(10px);
        }

        .scroll-icon:hover {
            background: rgba(255, 255, 255, 0.15);
            border-color: var(--primary-color);
            transform: translateY(5px);
        }

        .scroll-icon svg {
            width: 24px;
            height: 24px;
            color: rgba(255, 255, 255, 0.8);
        }

        .dashboard-mockup img {
            width: 100%;
            height: auto;
            display: block;
        }
        .dashboard-mockup1 {
            position: absolute;
            top: -8rem;
            right: 0rem;
            max-width: 20rem;
        }
        .dashboard-mockup2 {
            position: absolute;
            bottom: -7rem;
            left: 7.5rem;
            max-width: 15rem;
        }
.dashboard-main {
    position: relative;
    z-index: 9;
}
        .hero-scroll {
            position: absolute;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
            color: var(--text-muted);
            cursor: pointer;
            animation: bounce 2s infinite;
        }

        @keyframes bounce {
            0%, 100% { transform: translateX(-50%) translateY(0); }
            50% { transform: translateX(-50%) translateY(10px); }
        }

        /* Section Title */
        .section-title {
            font-size: 3rem;
            font-weight: 700;
            text-align: center;
            margin-bottom: 4rem;
            background: linear-gradient(135deg, #FFFFFF 0%, #B06CFF 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Projects Section */
        .projects {
            padding: 6rem 0;
            position: relative;
        }

        .projects-grid {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 2rem;
        }

        .project-card {
            position: relative;
            border-radius: 24px;
            overflow: hidden;
            cursor: pointer;
            transition: var(--transition-slow);
            background: var(--background-light);
            min-height: 300px;
            display: flex;
        }

        .project-card.large {
            grid-row: span 2;
            min-height: 600px;
        }

        .project-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition-slow);
        }

        .project-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 2rem;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            transform: translateY(100%);
            transition: var(--transition-slow);
        }

        .project-card:hover .project-overlay {
            transform: translateY(0);
        }

        .project-card:hover img {
            transform: scale(1.05);
        }

        .project-overlay h3 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }

        .project-overlay p {
            color: var(--text-secondary);
        }


        /* Testimonials */
        .testimonials {
            padding: 6rem 0;
        }

        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .testimonial-card {
            background: var(--surface);
            backdrop-filter: blur(var(--blur));
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 24px;
            padding: 2rem;
            transition: var(--transition);
        }

        .testimonial-card:hover {
            transform: translateY(-4px);
            border-color: rgba(146, 77, 255, 0.3);
            box-shadow: var(--shadow);
        }

        .testimonial-header {
            margin-bottom: 1.5rem;
        }

        .testimonial-tag {
            display: inline-block;
            background: var(--gradient-primary);
            padding: 0.25rem 1rem;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .testimonial-text {
            color: var(--text-secondary);
            line-height: 1.8;
            margin-bottom: 1.5rem;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

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

        .author-info strong {
            font-weight: 600;
            margin-bottom: 0.25rem;
        }

        .author-info span {
            font-size: 0.875rem;
            color: var(--text-muted);
        }

        /* Clients */
        .clients {
            padding: 4rem 0;
            background: var(--background-light);
        }

        .clients-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 3rem;
            align-items: center;
        }

        .client-logo {
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0.5;
            transition: var(--transition);
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-muted);
        }

        .client-logo:hover {
            opacity: 1;
        }

        .client-logo img {
            max-width: 120px;
            height: auto;
            filter: brightness(0) invert(1);
        }

        /* FAQ */
        .faq {
            padding: 6rem 0;
        }

        .faq-list {
            margin: 0 auto;
        }

.faq-item {
    border-radius: 0;
    margin-bottom: 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(176, 108, 255, 0.5);
}

        .faq-question {
            display: flex;
            align-items: center;
            gap: 0;
            padding: 2rem 0rem;
            cursor: pointer;
            font-weight: 600;
            font-size: 1.125rem;
        }

        .faq-number {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            background: var(--gradient-primary);
            border-radius: 50%;
            font-weight: 700;
            flex-shrink: 0;
        }

        .faq-icon {
            margin-right: auto;
            font-size: 1.5rem;
            transition: var(--transition);
        }

        .faq-item.active .faq-icon {
            transform: rotate(45deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: var(--transition-slow);
            color: var(--text-secondary);
            padding: 0 2rem;
        }

        .faq-item.active .faq-answer {
            max-height: 200px;
            padding: 0 2rem 1.5rem;
        }

        /* Contact */
        .contact {
            padding: 6rem 0;
            background: var(--background-light);
        }

        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1.5fr;
            gap: 4rem;
            align-items: start;
        }

        .contact-info {
            position: sticky;
            top: 8rem;
        }

        .contact-icon {
            margin-bottom: 2rem;
        }

        .contact-info h2 {
            font-size: 2.5rem;
            margin-bottom: 2rem;
        }

        .contact-features {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .contact-features li {
            display: flex;
            align-items: center;
            gap: 1rem;
            color: var(--text-secondary);
        }

        .contact-features li::before {
            content: '✓';
            display: flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            background: var(--gradient-primary);
            border-radius: 50%;
            font-weight: 700;
            flex-shrink: 0;
        }

        .contact-form {
            background: var(--surface);
            backdrop-filter: blur(var(--blur));
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 24px;
            padding: 3rem;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 1rem 1.5rem;
            color: var(--text-primary);
            font-family: inherit;
            font-size: 1rem;
            transition: var(--transition);
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary);
            background: rgba(255, 255, 255, 0.05);
        }

        .form-group textarea {
            resize: vertical;
        }

        .submit-btn {
            width: 100%;
            background: var(--gradient-primary);
            border: none;
            color: var(--text-primary);
            padding: 1rem 2rem;
            border-radius: 12px;
            font-size: 1.125rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        /* Footer */
        .footer {
            background: var(--background);
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            padding: 4rem 0 2rem;
        }

        .footer-main {
            display: grid;
            grid-template-columns: 1.5fr 2fr;
            gap: 4rem;
            margin-bottom: 3rem;
        }

        .footer-brand svg {
            margin-bottom: 1rem;
            filter: drop-shadow(0 4px 12px rgba(146, 77, 255, 0.4));
        }

        .footer-brand h3 {
            font-size: 1.25rem;
            font-weight: 600;
        }

        .footer-links {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .footer-column h4 {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .footer-column a {
            display: block;
            color: var(--text-secondary);
            text-decoration: none;
            margin-bottom: 0.75rem;
            transition: var(--transition);
        }

        .footer-column a:hover {
            color: var(--primary-light);
            padding-right: 8px;
        }

        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            color: var(--text-muted);
            font-size: 0.875rem;
        }

        .footer-social {
            display: flex;
        }

        .footer-social a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 4rem;
            height: 4rem;
            border-radius: 50%;
            text-decoration: none;
            transition: var(--transition);
            border: 2px solid #B06CFF;
        }

        .footer-social a:hover {
            transform: translateY(-2px);
        }

        /* Modal */
        .modal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(var(--blur));
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 2000;
            padding: 2rem;
        }

        .modal.active {
            display: flex;
        }

        .modal-content {
            background: var(--background-light);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 24px;
            padding: 3rem;
            max-width: 600px;
            width: 100%;
            position: relative;
        }

        .modal-close {
            position: absolute;
            top: 1rem;
            left: 1rem;
            background: transparent;
            border: none;
            color: var(--text-primary);
            font-size: 2rem;
            cursor: pointer;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: var(--transition);
        }

        .modal-close:hover {
            background: var(--surface);
        }

        .modal-content h3 {
            font-size: 1.75rem;
            margin-bottom: 1.5rem;
        }

        .modal-content p {
            color: var(--text-secondary);
            line-height: 1.8;
            margin-bottom: 1.5rem;
        }

        .modal-content ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .modal-content li {
            display: flex;
            align-items: center;
            gap: 1rem;
            color: var(--text-secondary);
        }

        .modal-content li::before {
            content: '→';
            color: var(--primary-light);
            font-weight: 700;
        }

        .bg2 {
            background: url(images/BG2.png) no-repeat;
        }
        .bg3 {
            background: url(images/bg3.png) no-repeat;
            background-position-x: center;
        }

        .page-template-page-services .bg3 {
            background: url(images/bg3-service.png) no-repeat;
            background-position-x: center;
        }
/* 1. СКРЫТИЕ SVG (Самый безопасный метод) */
.video-wrapper > svg { 
    position: absolute;
    width: 1px; 
    height: 1px;
    overflow: hidden; 
    top: -9999px; 
    left: -9999px;
    opacity: 0; 
    pointer-events: none;
}

/* 2. КОНТЕЙНЕР (Полностью респонсивный с новыми пропорциями) */
.video-wrapper {
    max-width: 940px; 
    width: 100%; 
    position: relative;
    
    /* КЛЮЧЕВОЕ ИЗМЕНЕНИЕ: Новое соотношение 1000 / 750 = 1.3333 */
    aspect-ratio: 1000 / 750; /* Используем новое, более стандартное соотношение */
}

/* 3. ВИДЕО/ИЗОБРАЖЕНИЕ (Без изменений) */
.masked-media,
.masked-video { /* Если вы используете оба класса */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%;
    
    /* object-fit: cover гарантирует, что изображение/видео заполнит маску, не растягиваясь */
    object-fit: cover;
    
    /* Применение маски */
    -webkit-clip-path: url(#custom-video-clip);
    clip-path: url(#custom-video-clip);
}

/* Базовые вещи */
.hp-cyber-section {
  padding: 3rem 0 0;
}

.hp-header {
  display: flex;
  flex-direction: row; 
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hp-title {
    text-align: right;
    font-size: 4rem;
    font-weight: 400;
    margin: 0;
}

.hp-link {
    font-size: 1.1rem;
    text-decoration: none;
    color: #fff;
    position: relative;
    padding-bottom: 0.15rem;
}

/* Базовая линия — всегда видна */
.hp-link::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    width: 100%;
    height: 0.1rem;
    background: #B06CFF;
}

/* Линия для анимации */
.hp-link::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    width: 100%;
    height: 0.1rem;
    background: #B06CFF;
    transform-origin: left;
    transform: scaleX(0);              /* спрятана */
    transition: transform 0.25s ease;
}

/* При hover линия "рисуется" */
.hp-link:hover::after,
.hp-link:focus-visible::after {
    transform: scaleX(1);
}
.hp-link:hover::before,
.hp-link:focus-visible::before {
    opacity: 0;
}

.hp-link:hover {
  color: #B06CFF;
}

/* Верхняя карточка */

.hp-main-card {
  border-radius: 32px;
  padding: 5rem 2.1rem 2.1rem;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 0.75fr);
  column-gap: 2.1rem;
      background-size: cover !important;
}

.hp-main-text {
    font-size: 0.8rem;
    line-height: 162.5%;
}

.hp-main-label {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.hp-main-label a {
    color: #fff;
    text-decoration: none;
}
.hp-main-image img {
  width: 100%;
  display: block;
  margin-inline: auto;
  border-radius: 16px;
}

/* Нижние карточки */

.hp-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.hp-card {
    border-radius: 32px;
    padding: 5rem 0rem 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
        background-size: cover !important;
}

.hp-card-image img {
  width: 100%;
  display: block;
}

.hp-card-text {
    text-align: right;
    font-size: 0.8rem;
    line-height: 162.5%;
    padding: 1.25rem 2.5rem 0;
}
.hp-card-text p {
    max-width: 21rem;
}
.hp-card-label {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.hp-card-label a {
    color: #fff;
    text-decoration: none;
}
/* Адаптив */

@media (max-width: 900px) {
  .hp-main-card {
    grid-template-columns: 1fr;
    row-gap: 24px;
    padding: 28px 20px;
  }

  .hp-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {

  .hp-main-card,
  .hp-card {
    border-radius: 24px;
    padding: 24px 18px 28px;
  }

.hp-title {
        /* margin-bottom: 32px; */
        font-size: 2.5rem;
    }

    .page-template-page-service .hero {
    padding: 12rem 0 5rem 0;
}
.hp-card-text {
    font-size: 0.9rem;
    padding: 1.25rem 0rem 0;
}
.hp-main-text {
    font-size: 0.9rem;
}
}


        @media (max-width: 1024px) {
            .header-content {
                padding: 1.5rem 2rem;
            }

            .nav {
                display: none;
            }

            .hero-content {
                grid-template-columns: 1fr;
                gap: 3rem;
                padding: 0 2rem;
            }

            .hero-image {
                order: 1;
            }
    .hero-text {
        order: 2;
        text-align: center;
        width: 100%;
        max-width: 100%;
        margin-top: 5rem;
    }


            .hero-actions {
                justify-content: center;
            }

            .contact-content {
                grid-template-columns: 1fr;
            }
            
            .projects-grid {
                grid-template-columns: 1fr;
            }
            
            .impact-grid,
            .testimonials-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .clients-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .footer-main {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .header-content {
                padding: 1rem 0rem;
            }

            .hero-content {
                padding: 0 1.5rem;
            }

            .scroll-icon {
                width: 45px;
                height: 45px;
            }

            .scroll-icon svg {
                width: 20px;
                height: 20px;
            }

            .section-title {
                font-size: 2rem;
            }
            
            .impact-grid,
            .testimonials-grid,
            .clients-grid {
                grid-template-columns: 1fr;
            }
            
            .form-row {
                grid-template-columns: 1fr;
            }
            
            .footer-links {
                grid-template-columns: 1fr;
            }
        }


        .xp-section {
  padding: 11rem 0 11rem;
  background: url(images/xp-section-bg.png) no-repeat;
}

.xp-layout {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 320px;
    direction: ltr;
    margin-top: 14rem;
}

/* ЛЕВАЯ карточка – слайд конференции */
.xp-event-card {
  position: relative;
  width: 65%;
  border-radius: 32px;
  overflow: hidden;
  z-index: 1;
  margin-top: -14rem;
}

.xp-event-card img {
  display: block;
  width: 100%;
  height: auto;
}

/* ПРАВЫЙ белый блок поверх картинки */
.xp-content-card {
  position: absolute;
  right: 0;          /* всегда справа, независимо от RTL */
  left: auto;
  top: 100%;
  transform: translateY(-50%);
  background: #ffffff;
  color: #111322;
  border-radius: 32px;
  padding: 2.25rem 3.75rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 2;

  direction: rtl;    /* внутри блока всё RTL */
  text-align: right;
}

.xp-tag {
  font-size: 2.25rem;
  color: #B06CFF;
  position: relative;
    /*  padding-right: 4rem;*/
}
/*
.xp-tag:before {
    content: "";
    height: 1px;
    width: 2.8rem;
    background: #B06CFF;
    top: 1.75rem;
    right: 0;
    position: absolute;
}*/

.xp-title {
    margin: 0;
    font-size: clamp(1.6rem, 2.2vw, 2rem);
    line-height: 1.225;
    font-size: 1.3rem;
    letter-spacing: -0.9px;
    font-weight: 500;
    margin-bottom: 0.5rem;

}

.xp-text {
  margin: 0;
  font-size: 1.2rem;
  line-height: 158.333%;
}

/* Кнопка */
.xp-btn {
    margin-top: 1rem;
    align-self: flex-start;
    padding: 0.5rem 1.6rem;
    border-radius: 999px;
    border: 2px solid #B06CFF;
    background: #ffffff;
    font-size: 0.9rem;
    text-decoration: none;
    color: #000;
    transition: box-shadow 0.2s 
ease, transform 0.2s 
ease, background 0.2s 
ease;
}

.xp-btn:hover {
  background: #f5f1ff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

/* Адаптив */

@media (max-width: 960px) {
  .xp-layout {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    direction: rtl; /* на мобиле можно вернуть RTL, всё идёт столбиком */
  }

  .xp-event-card {
    width: 100%;
    max-width: 100%;
  }

  .xp-content-card {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 24px;
  }
}

@media (max-width: 600px) {
  .xp-section {
    padding: 56px 12px 80px;
  }

  .xp-content-card {
    padding: 28px 20px;
    border-radius: 24px;
  }
}

.impact-section {
  padding: 11rem 0 12rem;
}

/* Заголовок справа */
.impact-header {
  text-align: right;
  margin-bottom: 32px;
}

.impact-title {
    margin: 0;
    font-weight: 600;
    font-size: 3.25rem;
    font-weight: 500;
    letter-spacing: -1.3px;
}

/* Сетка карточек 3×2 */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.3rem;
      direction: ltr;
}

/* Карточка */
.impact-card {
  padding: 2.5rem 1.5rem 2.1rem;
  display: flex;
  flex-direction: row;
  border-radius: 20.755px;
backdrop-filter: blur(3.3356988430023193px);
background: url(images/impact-card.png);
    background-size: cover;
    transition:
    box-shadow 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
    direction: rtl;
}
.impact-card a {
    color: #fff;
    text-decoration: none;
        display: flex;
    flex-direction: row;
}
.impact-card:hover {
  box-shadow: 0 4px 20px rgba(176, 108, 255, 0.25);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.12);
}
/* Иконка справа */
.impact-icon {
  flex: 0 0 auto;
width: 5rem;
    height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.impact-icon img {
    max-width: 100%;
    height: auto;
    display: block;
    max-height: 100px;
    object-fit: contain;
}

/* Текст слева (всё ещё RTL) */
.impact-text {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
align-items: flex-end;
    text-align: left;
}

.impact-number {
    font-size: 5.5rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -11.119px;
    margin-bottom: 3rem
}

.impact-label {
    font-size: 1.7rem;
    line-height: 1.1;
}

/* Адаптив */
@media (max-width: 960px) {
  .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
.impact-section {
        padding: 5rem 0 8rem;
    }

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

  .impact-card {
    padding: 20px 18px;
    border-radius: 20px;
  }
  .logos-marquee {
    margin-top: 12rem;
}
}

.tm-section {
    padding: 8rem 0 0;
}

.tm-container {
  margin: 0 auto;
}

.tm-title {
    text-align: center;
    font-size: 2.75rem;
    font-weight: 500;
    letter-spacing: -1.1px;
    margin-bottom: 3rem;
}
/* slider */
.tm-slider {
  margin-bottom: 2rem;
}
.slick-track {
    display: flex;
}
.tm-card {
  padding: 2.5rem 2rem 2.5rem;
  margin: 0 0.6rem;
  height: 100%;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  text-align: right;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  border-radius: 28px;
border: 1px solid #B06CFF;

background: rgba(64, 64, 64, 0.20);

backdrop-filter: blur(4.5px);
    height: inherit !important;
    display: flex !important;
    justify-content: flex-start;
}

.tm-card:hover {
  box-shadow: 0 4px 20px rgba(176, 108, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.12);
}

.tm-card-header {
    display: flex;
    flex-direction: row-reverse;
    gap: 0px;
    margin-bottom: 1rem;
    justify-content: space-between;
}
.tm-client-meta--name {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.4px;
}
.tm-client-meta--position {
    font-size: 0.7rem;
    line-height: 142.857%;
    color: #B06CFF;
}
.tm-client-name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tm-quote-mark {
  color: #B06CFF;
  font-size: 3.25rem;
font-weight: 700;
line-height: 12px;
margin-top: 30px;
margin-bottom: 10px;
}

.tm-text {
  margin: 0;
  font-size: 1.2rem;
line-height: 141.667%;
}

/* dots */
.tm-slider .slick-dots {
    bottom: -4rem;
}
.tm-slider .slick-dots li {
    width: auto;
    height: auto;
    margin: 0;

}
.tm-slider .slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 7px;
    height: 7px;
    padding: 0;
    cursor: pointer;
    color: #fff;
    border: 0;
    outline: 0;
    background: 0 0;
    background: #fff;
    border-radius: 25px;
    margin: 0 5px;
}


.tm-slider .slick-dots li.slick-active button {
 width: 20px;
  opacity: 1;
}

.tm-logos-marquee {
  margin-top: 20rem;
  overflow: hidden;
}

/* форсим LTR, чтобы RTL-сайт не мешал */
.logos-marquee,
.logos-marquee .logos-row,
.logos-marquee .logos-track {
  direction: ltr !important;
}

.logos-marquee {
  margin-top: 20rem;
}

/* одна строка, обрезаем края */
.logos-row {
  display: flex;
  overflow: hidden;
}

/* внутри — длинная дорожка из 2 копий логотипов */
.logos-track {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  flex: 0 0 auto;
  will-change: transform;
  backface-visibility: hidden;
  animation: 42s linear infinite marquee-left; /* или marquee-right */
}

/* сами логотипы */
.logos-track .logo {
  display: block;
  width: auto;
  flex: 0 0 auto;
  user-select: none;
  pointer-events: auto;
  transition: filter .2s ease, transform .2s ease;
  max-width: 220px;

  /* расстояние между логотипами — ВАЖНО, вместо gap */
  margin: 0 40px;
}

@keyframes marquee-left {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0); /* -50% = ширина первой копии */
  }
}

@keyframes marquee-right {
  from {
    transform: translate3d(-50%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

.dir-left .logos-track {
  animation-name: marquee-left;
}

.dir-right .logos-track {
  animation-name: marquee-right;
}

/* по желанию — стоп при ховере */
.logos-marquee:hover .logos-track {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .tm-section {
    padding: 60px 12px 80px;
  }
}

/* BASIC LAYOUT */
.faq-section {
    padding: 15rem 0 0;
    color: #ffffff;
}

.faq-title {
  margin: 0 0 0.5rem;
  font-size: 4rem;
  font-weight: 400;
}

/* LIST */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ITEM */
.faq-item {
  position: relative;
   font-family: 'Noto Sans Hebrew', sans-serif;
}

/* HEADER */
.faq-header {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: inherit;
  text-align: inherit;
}

.faq-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  padding-left: 64px;  
  min-height: 64px;
  border-radius: 999px;
  overflow: hidden;
  font-family: 'Noto Sans Hebrew', sans-serif;
}

/* BORDER ANIMATION from plus → full pill */
.faq-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid #B06CFF;
  opacity: 0;
  transform-origin: left center;
  transform: scaleX(0.2); /* старт у плюса */
  transition:
    transform 0.35s ease,
    opacity 0.25s ease;
  pointer-events: none;
}

/* hover + active */
.faq-item:hover .faq-inner::before,
.faq-item.is-open .faq-inner::before {
  opacity: 1;
  transform: scaleX(1);
}

/* QUESTION TEXT */
.faq-question {
    flex: 1 1 auto;
    text-align: right;
    font-size: 1.6rem;
    line-height: 1.5;
    color: #ffffff;
    font-weight: 400;
}

/* INDEX (RIGHT) */
.faq-index {
    flex: 0 0 auto;
    width: 2rem;
    text-align: center;
    font-size: 2rem;
    /* font-weight: 500; */
    color: #ffffff;
    /* opacity: 0.8; */
    margin-left: 2rem;
        
}

/* PLUS CIRCLE (LEFT) */
.faq-plus {
    position: absolute;
    left: 0;
    width: 5rem;
    height: 5rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(178, 108, 255, 0.9);
    /* background: radial-gradient(circle at 30% 20%, rgba(178, 108, 255, 0.35), rgba(12, 2, 42, 0.85)); */
    /* box-shadow: 0 0 0 0 rgba(178, 108, 255, 0.7); */
    transition: box-shadow 0.25s 
ease, transform 0.25s 
ease, background 0.25s 
ease;
    z-index: 2;
}

.faq-plus-icon {
  font-size: 2.5rem;
  line-height: 1;
}

/* plus hover/active */
.faq-item:hover .faq-plus,
.faq-item.is-open .faq-plus {
  border: none;
  transform: translateY(-1px);
}

/* BODY (ANSWER) */
.faq-body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.35s ease,
    opacity 0.25s ease;
    padding: 0 2rem;

}
.is-open .faq-body {
     padding: 2rem; 
}
.faq-body p {
  margin: 8px 0 0;
  font-size: 1rem;
  line-height: 1.65;
}
.faq-body li {
     font-size: 1rem;
  line-height: 1.65; 
}
/* OPEN STATE */
.faq-item.is-open .faq-body {
  max-height: 200px; /* достаточно для 1–2 абзацев */
  opacity: 1;
}

.faq-link {
    font-size: 1.2rem;
    text-decoration: none;
    color: #fff;
    position: relative;
    padding-bottom: 2px;
    transition: transform 0.25s ease;
    display: inline-flex;
    gap: 1rem;
    align-items: flex-end;
    margin-top: 2.5rem;
}

.faq-link::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #B06CFF;
  transform-origin: center;
  transform: scaleX(1);
  transition: transform 0.25s ease;
}

.faq-link:hover {
  color: #B06CFF;
}
/* Линия для анимации */
.faq-link::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    width: 100%;
    height: 0.1rem;
    background: #B06CFF;
    transform-origin: left;
    transform: scaleX(0);              /* спрятана */
    transition: transform 0.25s ease;
}

/* При hover линия "рисуется" */
.faq-link:hover::after,
.faq-link:focus-visible::after {
    transform: scaleX(1);
}
.faq-link:hover::before,
.faq-link:focus-visible::before {
   opacity: 0;
}
.faq-link-div {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
}
/* RESPONSIVE */
@media (max-width: 600px) {

    .faq-title {
    font-size: 3rem;
    line-height: 1.5;
}
  .faq-section {
    padding-inline: 12px;
  }

  .faq-inner {
    padding-inline: 20px;
    padding-left: 60px;
  }

  .faq-body {
    padding-inline-start: 60px;
    padding-inline-end: 20px;
  }
  .faq-section {
    padding: 5rem 0 0;
}
.faq-index {
    margin-left: 1rem;
}
.faq-plus {
    width: 3rem;
    height: 3rem;
}
}

/* SECTION LAYOUT */
.contact-section {
    padding: 14rem 0 6rem;
    color: #ffffff;
position: relative;
}
.contact-section:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
        background: url(images/contact-blur.png);
    background-position-x: 0;
}
.contact-layout {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* LEFT IMAGE (палочки) */
.contact-visual {
  display: flex;
  justify-content: center;
  margin-left: -10rem;
}

.contact-visual img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* RIGHT COLUMN */
.contact-main {
  flex: 1 1 auto;
}

.contact-title {
    margin: 0 0 5rem;
    text-align: right;
    font-size: 4rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -1.6px;
}

/* FORM WRAPPER */
.contact-form-wrap {

}

/* ===== Contact Form 7 custom styling ===== */
/* в шорткоде CF7 укажи html_class="ui-contact-form" */

.ui-contact-form {
  direction: rtl;
}

.ui-contact-form p {
  margin: 0 0 0;
}

/* двухколоночная сетка, как в фигме */
.ui-contact-form .row-2cols {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
}

.ui-contact-form .row-2cols .col {
  flex: 1 1 0;
}

/* подписи */
.ui-contact-form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

/* поля – тонкая линия снизу */
.ui-contact-form input[type="text"],
.ui-contact-form input[type="email"],
.ui-contact-form input[type="tel"],
.ui-contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #B8B8B8;
  padding: 1rem 0;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
        font-family: 'Noto Sans Hebrew', sans-serif;
        text-align: right;
        direction: rtl;
        height: 4.5rem;
}
.page-template-page-contact .ui-contact-form input[type="text"],
.page-template-page-contact .ui-contact-form input[type="email"],
.page-template-page-contact .ui-contact-form input[type="tel"],
.page-template-page-contact .ui-contact-form textarea {
      color: #000;
}
.ui-contact-form .wpcf7-list-item {
    margin: 0;
}
.ui-contact-form textarea {
  min-height: 90px;
  resize: vertical;
}

/* focus эффект */
.ui-contact-form input:focus,
.ui-contact-form textarea:focus {
  border-color: #b26cff;
  box-shadow: 0 1px 0 0 #b26cff;
}

/* чекбокс/радио – выравнивание по макету */
.ui-contact-form .consent-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  line-height: 1.6;
  opacity: 0.9;
}

.ui-contact-form input[type="checkbox"],
.ui-contact-form input[type="radio"] {
  accent-color: #b26cff;
}

/* submit button */
.ui-contact-form input[type="submit"] {
margin-top: 0;
    min-width: 4rem;
    padding: 0;
  border-radius: 999px;
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.ui-contact-form .wpcf7-list-item-label {
    font-size: 0.8rem;
}
.ui-contact-form input[type="submit"]:hover {
  background: #B06CFF;
  transform: translateY(-1px);
}

/* CF7 сообщения */
.ui-contact-form .wpcf7-response-output {
  margin-top: 16px;
  font-size: 0.85rem;
}
/* placeholder style */
.ui-contact-form input::placeholder,
.ui-contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 1);
  font-size: 1.1rem;
}
.contact-card .ui-contact-form input::placeholder,
.contact-card .ui-contact-form textarea::placeholder {
  color: #130032;
  font-size: 1.1rem;
}
.contact-card  .ui-contact-form .wpcf7-list-item-label {
    font-size: 0.8rem;
    color: #130032;
}
/* focus */
.ui-contact-form input:focus,
.ui-contact-form textarea:focus {
  border-color: #b26cff;
  box-shadow: 0 1px 0 0 #b26cff;
}
/* контейнер для сабмита */
.ui-contact-form .submit-row {
  margin-top: 24px;
  display: flex;
  justify-content: flex-start; /* RTL: слева по макету */
  align-items: center;
}
.contact-card .ui-contact-form .submit-row {
gap: 4.5rem;
}
.ui-contact-form .submit-row p {
    display: flex;
    justify-content: space-between;
    gap: 1.7rem;
}
.contact-card  .ui-contact-form .submit-row p {
    display: flex;
    justify-content: space-between;
    gap: 0;
    flex-direction: column;
}
/* скрываем текстовое содержимое, у нас только иконка */
.ui-contact-form .contact-submit {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: 1px solid #B06CFF;
  background: transparent;
  color: transparent;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  position: relative;
  padding: 0;
  outline: none;

  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}
.contact-card  .ui-contact-form .contact-submit {
  background: #B06CFF;
  color: #fff;
    width: 7rem;
  height:7rem;
}
.ui-contact-form .contact-submit input {
      color: transparent;
  font-size: 0;
    text-indent: -9999px;
    border: none;
}
.contact-card .ui-contact-form .contact-submit input {
    color: #fff;
    font-size: 1.2rem;
     text-indent: 0;
     line-height: 7rem;
         width: 7rem;
         font-family: 'Noto Sans Hebrew', sans-serif;
}
/* иконка внутри (например стрелка влево) */
.ui-contact-form .contact-submit::before {
  content: ""; /* можешь заменить на \2190, \f061 (FA) или вообще убрать и поставить bg-image */
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ffffff;
  width: 32px;
  height: 10px;
  background: url(images/form-arrow.png) no-repeat;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
}
.contact-card .ui-contact-form .contact-submit:before {
    display: none;
}
/* hover / focus */
.ui-contact-form .contact-submit:hover,
.ui-contact-form .contact-submit:focus-visible {
  background: #B06CFF;
  border-color: #B06CFF;
  transform: translateY(-2px);
}

.contact-card .contact-submit:hover::before,
.ui-contact-form .contact-submit:focus-visible::before {
  color: #1a1030;
}
/* RESPONSIVE */
@media (max-width: 960px) {
  .contact-layout {
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
  }

  .contact-visual {
    flex: 0 0 auto;
    order: 2;
    margin-left: 0;
  }

  .contact-main {
    order: 1;
    width: 100%;
  }

  .contact-form-wrap {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
.contact-section {
        padding: 7.5rem 0 5rem;
    }

  .ui-contact-form .row-2cols {
    flex-direction: column;
    gap: 16px;
  }
}

/* FOOTER WRAPPER */
.site-footer {
  color: #ffffff;
  background: url(images/footer-bg.png);
}

.footer-inner {
  padding: 5rem 0px 8rem;
}

/* TOP ROW */
.footer-top {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

/* SOCIAL */
.footer-social {
    display: flex;
    flex-direction: row-reverse;
    gap: 1.1rem;
}

.footer-social-link {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.footer-social-link.footer-social-link--special {
    width: 9.5rem;
    border-radius: 10rem;
}
.footer-social-link:hover {
  transform: translateY(-1px);
}

/* COLUMNS AREA */
.footer-columns {
  flex: 1 1 auto;
  display: grid;
 grid-template-columns: repeat(4, auto);
  gap: 40px;
}

.footer-col-title {
  margin: 0 0 12px;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.9;
}

.footer-col {
  font-size: 0.85rem;
}

.footer-col--contact .footer-contact-line {
  margin-bottom: 0.5rem;
  font-size: 1rem;
font-weight: 400;
line-height: 1.5;
letter-spacing: -0.38px;
direction: ltr;
text-align: right;
}
.footer-col--contact .footer-contact-line a {
    color: #fff;
    text-decoration: none;
}
.footer-col--contact .footer-contact-line a:hover {
    color: #B06CFF;
}
/* LISTS */
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li + li {
  margin-top: 4px;
}

.footer-list a {
  text-decoration: none;
  color: #ffffff;
  opacity: 0.8;
  font-size: 0.85rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-list a:hover {
  opacity: 1;
  transform: translateX(-2px);
}

/* SLOGAN */
.footer-slogan-row {
  margin-top: 56px;
}

.footer-slogan {
    margin: 0;
    font-size: 7.4rem;
    font-weight: 700;
    text-align: center;
    /* direction: ltr; */
    direction: ltr;
}
.footer-slogan-char {
  display: inline-block;
  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

/* при наведении на весь текст анимируются все буквы */
.footer-slogan .footer-slogan-char:hover {
  transform: translateY(-4px);
  filter: blur(2px);
}
.row {
    display: flex;
}

.space-between {
    justify-content: space-between;
}

/* BOTTOM BAR */
.footer-bottom {
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(176, 108, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    font-size: 1.1rem;
}
/* created by */
.footer-created {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  direction: ltr; /* чтобы 'created by' выглядел нормально */
}

.footer-created-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

/* legal links */
.footer-bottom-nav {
  display: flex;
  align-items: center;
      gap: 2rem;
      letter-spacing: -0.418px;
}
span.footer-created-text a, span.footer-created-text img {
    display: block;
}
.footer-bottom-nav a {
  text-decoration: none;
  color: #ffffff;
  transition: opacity 0.2s ease;
  font-size: 1.1rem;
  text-decoration: underline;
  letter-spacing: -0.418px;
}

.footer-bottom-nav a:hover {
  opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-social {
    flex-direction: row;
    gap: 10px;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }

  .footer-slogan-row {
    margin-top: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

    .footer-slogan {
        font-size: 2rem;
        text-align: center;
    }
  .footer-bottom {
    align-items: flex-start;
  }
      .footer-social {
        flex-direction: row-reverse;
        gap: 10px;
        align-items: center;
        justify-content: center;
        margin-top: 40px;
    }
    .footer-bottom-nav {
    gap: 10px;
    flex-direction: column;
    margin-bottom: 30px;
}
.footer-created {
    justify-content: center;
}
}


@media (max-width: 767px) {
    img {
        max-width: 100%;
    }
    .container {
        max-width: 100%;
    }
    .container-full {
    width: 100%;
    padding: 0 2rem;
}
.hero-image {
    margin: 0;
}
}

img {
        width: 100%;
    display: block;
    height: auto;
}
/* общий header */
.project-hero-inner {
    padding: 7rem 0 0;
}
.project-hero-header {
  position: relative;
  z-index: 10;
  color: #ffffff;
  transition: all 0.35s ease;
}
.project-hero-header .row {
  display: flex;
  align-items: end;
  justify-content: space-between;
}
/* когда фиксирован */
.project-hero-header--fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
/*background: #130032;*/
padding: 1.5rem 0;
}
body > .project-hero-header--fixed {
 background: #130032;
 padding: 0.5rem 0;
}

.project-bg2--element {
    position: absolute;
    bottom: -10rem;
    left: 0;
}
#smooth-content .project-hero-header--fixed {
    top: 7rem;
}
.project-hero-visual {
    padding-top: 12rem;
}
/* прокладка под хедером в исходном месте */
.project-hero-header-spacer {
  height: 0;
}
.project-hero-image {

    border-radius: 60px;
}
/* слева: логотипы-кружочки */
.project-hero-logos {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.project-hero-logos span {
    margin-left: 0.6rem;
}
.project-hero-logo {
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
        transition: transform 0.5s ease;
        background: none;
}
.project-hero-logo img {
    width: auto;
    max-width: 100%;

    object-fit: cover;

}
.project-hero-logo.project-hero-logo--active {
    border: 3px solid #B06CFF;
}
.project-hero-logos .project-hero-logo:hover {
    transform: scale(1.1);
}
/* справа: инфо о проекте */
.project-hero-info {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
}

.project-hero-info-top {
    display: flex;
    align-items: start;
    gap: 0.5rem;
    flex-direction: column;
}

.project-hero-category {
    color: #B06CFF;
    text-align: right;
    font-size: 1.25rem;
    font-weight: 700;
}

/* кнопка back / close */
.project-hero-back {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  color: #ffffff;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
border: none;
}

.project-hero-back:hover,
.project-hero-back:focus-visible {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  transform: translateY(-1px);
}

/* название проекта */
.project-hero-name {
  margin: 0;
  font-size: 3.5rem;
  font-weight: 600;
  color: #fff;
  font-weight: 700;
line-height: 1;
letter-spacing: -1.8px;
opacity: 1;
display: flex;
gap:1.7rem;
align-items: center;
}
.project-hero-name h1 {
    font-size: 3.5rem;
}

body > .project-hero-header--fixed .project-hero-name h1 {
    font-size: 3rem;
}
body > .project-hero-header--fixed .project-hero-category {
    font-size: 1.1rem;
}
body > .project-hero-header--fixed .project-hero-logo {
    width: 3rem;
    height: 3rem;
}
/* адаптив */
@media (max-width: 768px) {
  .project-hero-header {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 16px;
  }

  .project-hero-info {
    align-items: flex-start;
            width: 100%;
  }
.project-hero-logos {
        margin-top: 10px;
    }
  .project-hero-name {
    font-size: 1.6rem;
  }

  .project-hero-logos {
    justify-content: flex-start;
  }
  .project-hero-visual {
    padding-top: 20rem;
}
}
.project-overview {
    padding: 0rem 0 5rem;
    /* color: #ffffff; */
}
.project-bg1 {
background: url(images/project-bg-1-1.jpg);
background-size: cover; 
}
.project-bg2 {
background: url(images/project-bg-2.jpg);
background-size: cover;
}
/* каждая строка */
.project-overview-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
 gap: 4.5rem;
  margin-bottom:6.5rem;
}

/* заголовок справа */
.project-overview-title {
  flex: 0 0 20rem;
  text-align: right;
}

.project-overview-title h3 {
  margin: 0;
  font-size: 2.1rem;
  font-weight: 700;
}

/* текст слева */
.project-overview-text {
  flex: 1 1 auto;
  max-width: 40rem;
}

.project-overview-text p {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.4;
}
.project-overview-text li {
      font-size: 1.2rem;
  line-height: 1.4;
}
/* адаптив */
@media (max-width: 768px) {
  .project-overview {
    padding-block: 56px 32px;
  }

  .project-overview-row {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
  }

  .project-overview-title {
    flex: 0 0 auto;
  }

  .project-overview-text {
    max-width: 100%;
  }
  .project-challenges {
    padding: 7rem 0 5rem;
}
}

.project-challenges {
  padding: 7rem 0 0rem;
  color: #ffffff;
}

.project-challenges-title {
  margin: 0 0 1.75rem;
  text-align: right;
  font-size: 2.1rem;
  font-weight: 700;
}

/* GRID */
.project-challenges-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
}

/* CARD */
.project-challenge-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  padding: 3.1rem 2rem 3.05rem;
    display: flex;
    flex-direction: column;
    border: 0.741px solid rgba(176, 108, 255, 0.00);
background: rgba(64, 64, 64, 0.20);
backdrop-filter: blur(3.3356988430023193px);
  border: 1px solid #B06CFF;
}

/* header inside card */
.pc-card-header {
    display: flex;
    flex-direction: column;
}

/* accent lines (three short strokes) */
.pc-card-accent {
  display: inline-flex;
  gap: 3px;
  margin-bottom: 0.5rem;
}

.pc-card-accent span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #B06CFF;
}
.project-challenge-card .pc-card-accent span:first-child {
width: 36px;
}
/* title */
.pc-card-title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 142.857%;
  margin-bottom: 0.5rem;
}

/* body text */
.pc-card-body p {
  margin: 0;
  font-size: 1rem;
line-height: 150%;
letter-spacing: -0.4px;
}
.pc-card-body li {
   font-size: 1rem;
line-height: 150%;
letter-spacing: -0.4px;   
}
/* hover */
.project-challenge-card:hover {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.75);
  transform: translateY(-4px);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

/* responsive */
@media (max-width: 900px) {
  .project-challenges-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .project-challenge-card {
    padding: 20px 18px 22px;
  }
}
.project-solution {
  padding-block: 72px 80px;
  color: #ffffff;
}

.project-solution-title {
  margin: 0 0 1.5rem;
  font-size: 2.1rem;
font-weight: 700;
line-height: 123.81%;
}

/* ОБЩИЙ WRAPPER */
.solution-media-wrapper {
  position: relative;
}

/* MEDIA (img / video) */
.solution-media {
  overflow: hidden;
}

.solution-media img,
.solution-media video {
  display: block;
  width: 100%;
  height: auto;
}

.solution-toggle {
    position: absolute;
    right: 0;
    bottom: -4rem;
    width: 8rem;
    height: 8rem;
    border: none;
    padding: 0;
    border-radius: 28px;
    background: #B06CFF;
    cursor: pointer;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    /* box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65); */
    transition: transform 0.2s 
ease, box-shadow 0.2s 
ease;
    fill: #B06CFF;
    backdrop-filter: blur(4.5px);
}

.solution-toggle-icon {
  display: block;
  font-size: 32px;
  font-weight: 600;
  color: #ffffff;
  transform: rotate(-45deg); /* возвращаем плюс */
  line-height: 1;
}

.solution-toggle:hover {
  transform: rotate(45deg) translateY(-2px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
}

/* TOOLTIP */
.solution-tooltip {
  position: absolute;
  left: 50%;
  bottom: -72px;
  transform: translateX(-50%) translateY(20px);
  min-width: 340px;
  max-width: 540px;
  padding: 18px 52px 18px 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, #b26cff 0%, #ff7ae0 100%);
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.8;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.65);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.solution-tooltip p {
  margin: 0;
}

/* X-кнопка */
.solution-tooltip-close {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* состояние открыто */
.solution-media-wrapper.is-open .solution-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.solution-media-wrapper.is-open .solution-toggle {
  transform: rotate(45deg) translateY(2px) scale(0.96);
}

/* адаптив */
@media (max-width: 768px) {
  .solution-toggle {
    right: 8%;
    width: 64px;
    height: 64px;
    bottom: -22px;
  }

  .solution-tooltip {
    min-width: 260px;
    max-width: calc(100% - 40px);
    bottom: -64px;
    padding-inline-end: 46px;
  }
}
.project-approach {
  padding-block: 80px 90px;
  color: #ffffff;
}

.project-approach-title {
margin: 0 0 2.5rem;
    text-align: right;
    font-size: 2.1rem;
}
.project-approach-layout {
    position: relative;
}
/* layout: декор слева + таймлайн */
/* базовый стиль “плавающих” фигур */
.approach-floating {
  position: absolute;
  will-change: transform;
}
.approach-floating.approach-1 {
    top: 15rem;
    right: 15rem;
}
.approach-floating.approach-2 {
    top: 5rem;
    left: -5rem;
}
.approach-floating.approach-3 {
    top: 32rem;
    left: 9rem;
}
/* квадрат */
.approach-square {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  border: 4px solid #4cc2ff;
  background: transparent;
  top: 20px;
  left: 30px;
}

/* круг */
.approach-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 8px solid #ffffff;
  background: #7f4dff;
  top: 90px;
  left: 90px;
}

/* капсула */
.approach-pill {
  width: 120px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4cff9b 0%, #15d27a 100%);
  top: 180px;
  left: 10px;
}

/* ТАЙМЛАЙН */
.project-approach-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-inline: 20px 0;
  max-width: 64rem;
    margin: 0 auto;
}

/* вертикальная линия по центру */
.approach-row::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-start: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: #B06CFF;
}
/* первая строка — линия только вниз от кружка */
.project-approach-steps .approach-row:first-child::before {
  top: 50%;
}

/* последняя строка — линия только вверх к кружку */
.project-approach-steps .approach-row:last-child::before {
  bottom: 50%;
}
/* строка таймлайна */
.approach-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.9rem;
}

/* круг с номером */
.approach-center {
  position: relative;
  z-index: 2;
}

.approach-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  border: 2px solid #b26cff;
  font-size: 1.4rem;
  font-weight: 400;
  border: 2px solid #B06CFF;

background: rgba(64, 64, 64, 0.20);

backdrop-filter: blur(4.5px);
}

/* карточка */
.approach-card {
  position: relative;
  z-index: 1;
  padding: 3.5rem 3.5rem;
border-radius: 20.755px;
border: 0.741px solid rgba(176, 108, 255, 0.00);
background: rgba(64, 64, 64, 0.20);
backdrop-filter: blur(3.3356988430023193px);
  border: 1px solid #B06CFF;
}

.approach-card-title {
  margin: 0 0 1rem;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 135.714%;
}

.approach-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

/* адаптив */
@media (max-width: 900px) {
  .project-approach-layout {
    grid-template-columns: 1fr;
  }

  .approach-decor {
    order: 2;
    height: 200px;
  }

  .project-approach-steps {
    order: 1;
    padding-inline: 0;
  }

  .project-approach-steps::before {
    inset-inline-start: 20px;
    transform: none;
  }

  .approach-row {
    grid-template-columns: auto 1fr;
  }

  .approach-row .approach-empty {
    display: none;
  }

  .approach-center {
    justify-self: flex-start;
  }

  .approach-floating {
 transform: scale(0.6);
}
.approach-floating.approach-1 {
    top: 15rem;
    right: 0;
}
.approach-floating.approach-2 {
    top: 5rem;
    left: 0;
}
.approach-floating.approach-3 {
    top: 32rem;
    left: 0;
}


}

.project-solutions-multi {
  padding: 4rem 0 14rem;
  color: #ffffff;
}
.project-solutions-multi .project-solution-title {
    margin: 0 0 1rem;
}




.solution-media-list {
  display: flex;
  flex-direction: column;
  gap: 6rem; 
  margin-top: 3.75rem;
      position: relative;
    z-index: 1;
}

.solution-media-wrapper {
  position: relative;
}

/* Ромбик */
.solution-toggle {
  position: absolute;
  inset-inline-start: 2rem; /* или right/left в зависимости от макета */
  inset-block-start: 2rem;
  width: 3rem;
  height: 3rem;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transform: rotate(45deg);              /* делаем ромб */
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Внутренний круг/фон ромбика */
.solution-toggle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0.75rem;
  background: #ffffff;
  box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.15);
}

/* Плюс внутри (на самом деле +, который мы будем вращать) */
.solution-toggle-icon {
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  line-height: 1;
  transform: rotate(-45deg); /* компенсируем поворот ромба, чтобы плюс был ровный */
  transition: transform 0.3s ease;
}

/* Состояние “открыто” */
.solution-toggle.is-open .solution-toggle-icon {
  transform: rotate(45deg); /* + становится как X */
}

/* Тултип с текстом */
.solution-tooltip {
  position: absolute;
  inset-inline-start: 5rem;   /* отступ от ромба */
  inset-block-start: 1.5rem;
  max-width: 22rem;
  background: #ffffff;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 0.75rem 2rem rgba(0,0,0,0.15);
  font-size: 0.95rem;
  line-height: 1.5;
  transform-origin: top right; /* RTL */
  transform: scale(0.8);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

/* При открытии */
.solution-toggle.is-open + .solution-tooltip {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* Кнопка закрытия внутри */
.solution-tooltip-close {
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  font-size: 1rem;
  cursor: pointer;
}

.ai-video-section {
  padding-block: 4rem;
}

.ai-video-inner {
  display: flex;
  justify-content: flex-start; /* серый блок слева */
}

.ai-video-box {
    position: absolute;
    width: 21rem;
    height: 13rem;
    background: #e3e3e3;
    border-radius: 1rem;
    overflow: hidden;
    left: 0;
    bottom: -7rem;
}

.ai-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Кнопка play/pause внутри блока */
.ai-video-toggle {
  position: absolute;
    left: 50%;
    top: 50%;
  transform: translate(-50%, -50%);
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
      border: 1px solid #B06CFF;
      opacity: 0;
      transition: all 0.3s ease;
}
.ai-video-box:hover .ai-video-toggle, .video-wrapper:hover .ai-video-toggle {
       opacity: 1;
}
.ai-video-toggle-icon {
  display: block;
  width: 0;
  height: 0;
  border-inline-start: 1.1rem solid #fff;      /* треугольник play */
  border-block: 0.7rem solid transparent;
      transform: rotate(180deg);
}

/* когда видео играет — иконка "паузa" */
.ai-video-toggle.is-playing .ai-video-toggle-icon {
  width: 1.2rem;
  height: 1.2rem;
  border: none;
  box-shadow:
    0 0 0 0 #fff,
    0 0 0 0 #fff;
  position: relative;
}

.ai-video-toggle.is-playing .ai-video-toggle-icon::before,
.ai-video-toggle.is-playing .ai-video-toggle-icon::after {
  content: "";
  position: absolute;
  top: 0;
  width: 0.35rem;
  height: 100%;
  background: #fff;
}

.ai-video-toggle.is-playing .ai-video-toggle-icon::before {
  left: 0;
}
.ai-video-toggle.is-playing .ai-video-toggle-icon::after {
  right: 0;
}
.ai-hero {
  position: relative;
  background: linear-gradient(180deg, #2c0f64 0%, #120032 100%);
  color: #fff;
  padding: 110px 0 260px; /* внизу оставляем место под белый блок */
  overflow: hidden;
}

.ai-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 24px;
}

.ai-hero-kicker {
  margin: 0 0 24px;
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 700;
}

.ai-hero-media {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.75);
}

.ai-hero-img {
  display: block;
  width: 100%;
  height: auto;
}

/* текст на картинке */
.ai-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  text-align: center;
}

.ai-hero-hebrew-line {
  margin: 0;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 400;
}

.ai-hero-hebrew-line--strong {
  margin-top: 6px;
  font-weight: 700;
  display: inline-block;
  padding-inline: 0.3em;
  border-bottom: 3px solid #b26cff; /* подчеркивание как в фигме */
}

/* адаптив */
@media (max-width: 768px) {
  .ai-hero {
    padding: 90px 0 220px;
  }

  .ai-hero-media {
    border-radius: 24px;
  }

  .ai-hero-kicker {
    font-size: 1.8rem;
  }
}


.ai-intro {
  position: relative;
  z-index: 2;
}

.ai-intro-card {
  max-width: 1200px;
  margin: -180px auto 0;   /* наезжаем на hero */
  padding: 56px 48px 64px;
  background: #ffffff;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.45);
  color: #120032;
  position: relative;
}

/* вертикальная линия из заголовка к карточке */
.ai-intro-card::before {
  content: "";
  position: absolute;
  top: -90px;
  left: 50%;
  width: 2px;
  height: 90px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    rgba(178, 108, 255, 0.9),
    rgba(178, 108, 255, 0)
  );
}

.ai-intro-lead {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 0.98rem;
  line-height: 1.9;
}

/* основной блок внутри */
.ai-intro-main {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ai-intro-question {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  text-align: right;
}
/* Общая обёртка секции */
.ai-sprint-hero {
  color: #fff;
  padding-top: 12.5rem;     /* отступ от меню, подгони под свой header */
  background: url(images/service-bg-1.png);
  background-position-y: 7rem;
}
/* ===== ХИРО ЗАГОЛОВОК ===== */
.ai-sprint-hero-title,
.ai-sprint-info-top,
.ai-sprint-hero-he-title {
  opacity: 1;
  transform: none;
}
.ai-sprint-hero-head {
  margin-bottom: 6rem;
  position: relative;
}
.ai-sprint-hero .service-element {
    position: absolute;
    top: 0;
    left: 0;
        max-width: 35rem;
}
.ai-sprint-hero-inner {
    position: relative;
    z-index: 1;
}
.ai-sprint-hero-title {
  margin: 0;
  font-weight: 600;
  line-height: 1.33;
  opacity: 1;
  font-size: 4.5rem;
letter-spacing: -1.8px;
text-align: center;
padding: 0 5rem
}
.ai-sprint-hero-head .project-hero-back {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    margin-bottom: 0;
    margin-top: 0.5rem;
}
/* ===== КАРТИНКА ПОД ХИРО ===== */

.ai-sprint-hero-image {
  position: relative;
  overflow: hidden;
  will-change: transform;
  border-radius: 60px;
        height: 33rem;
}

.ai-sprint-hero-image img {
  display: block;
  width: 100%;

  object-fit: cover;
  will-change: transform;
  border-radius: 3rem;
}

/* Оверлей с заголовком на картинке */
.ai-sprint-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
      padding-top: 6rem;
}
.ai-sprint-hero-overlay:before {
    content: "";
    position: absolute;
    width: 2px;
    height: 13.5rem;
    background: #fff;
    bottom: 0;
}
.ai-sprint-hero-he-title {
  text-align: center;
font-size: 3.75rem;
font-weight: 300;
line-height: 113.333%;
text-transform: capitalize;
max-width: 1200px;
margin: 0 auto;
}

.ai-sprint-hero-he-title span {
  display: inline-block;
  border-bottom: 2px solid #B06CFF;
font-weight: 700;
}

/* Мобилка */
@media (max-width: 768px) {
    .ai-sprint-hero {
        padding-top: 2rem;
        /* padding-bottom: 32px; */
    }

  .ai-sprint-hero-inner {
    padding-inline: 16px;
  }

  .ai-sprint-hero-image {
    border-radius: 20px;
  }
}
/* Общий фон секции (переход с фиолетового под белый блок) */
.ai-sprint-info {
  position: relative;
}

.ai-sprint-info-inner {
  position: relative;
  margin-top: -7.5rem;
}

/* Белая карточка */
.ai-sprint-info-card {
  position: relative;
  background: #ffffff;
  border-radius: 60px;
  padding: 7.5rem 80px 8rem;
  z-index: 2;
}

/* Верхняя часть – текст + вопрос справа */
.ai-sprint-info-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: flex-start;

}

.ai-sprint-info-text p {
  margin: 0;
  color: #130032;
text-align: right;
font-size: 1.2rem;
font-weight: 400;
line-height: 141.667%;
  margin-bottom: 1rem;
}
.ai-sprint-info-text li {
     color: #130032;
text-align: right;
font-size: 1.2rem;
font-weight: 400;
line-height: 141.667%; 
  margin: 0;
    margin-bottom: 1rem;
}
.ai-sprint-info-question h2 {
  margin: 0;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
  color: #130032;
font-size: 2.1rem;
line-height: 123.81%;
}

/* Блок преимуществ */
.ai-sprint-info-text p.ai-sprint-info-benefits-title {
  margin: 2rem 0 1.5rem;
  font-weight: 700;
font-size: 1.2rem;
  color: #130032;
}

.ai-sprint-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 3rem;
}

/* Один пункт */
.ai-sprint-benefit {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1rem;
    row-gap: 0;
    align-items: flex-start;
}
.ai-sprint-benefit h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #130032;
  margin-bottom: 0.5rem;
}

.ai-sprint-benefit p {
  grid-column: 2 / 3;
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #130032;
}

/* Цветной ромбик */
.ai-sprint-benefit-icon {
  width: 1.4rem;
  height: 1.4rem;
  margin-top: 0.5rem;
}

/* Декор справа – вертикальная “капсула” */
.ai-sprint-info-shape {
    position: absolute;
    top: -4rem;
    right: 0;
    pointer-events: none;
    max-width: 21rem;
}
@media (max-width: 1800px) {
    .ai-sprint-info-shape {
    right: -6rem;
}
}
@media (max-width: 1800px) {
  .hero-image {
    margin-left: -4rem;
}  
}




/* Адаптив */
@media (max-width: 992px) {
  .ai-sprint-info-card {
    padding: 48px 32px 56px;
    border-radius: 32px;
  }

  .ai-sprint-info-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ai-sprint-info-question h2 {
    text-align: center;
    white-space: normal;
  }

  .ai-sprint-benefits-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ai-sprint-info-shape {
    display: none; /* на мобильном декор прячем */
  }
}

/* сетка шагов: две колонки, три строки */
.ai-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 56px;
  margin-top: 8px;
}

.ai-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* круг с номером */
.ai-step-badge {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid #b26cff;
  color: #b26cff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
}

/* текст шага */
.ai-step-text h4 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 700;
}

.ai-step-text p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
}

/* лёгкая разница выравнивания для “левых/правых” шагов
   (чтобы визуально напоминало фигму с диагоналями) */
.ai-step--right .ai-step-text {
  text-align: right;
}

.ai-step--left .ai-step-text {
  text-align: right; /* RTL, но можем смещать margin при желании */
}

/* адаптив */
@media (max-width: 900px) {
  .ai-intro-card {
    margin-top: -140px;
    padding: 40px 20px 48px;
    border-radius: 28px 28px 0 0;
  }

  .ai-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.ai-sprint-info-question h2,
.ai-sprint-info-text,
.ai-sprint-info-benefits-title,
.ai-sprint-benefit {
  will-change: transform, opacity;
}
.ai-who-section {
    padding: 15rem 0 0;
    color: #ffffff;
    /* background: #130032; */
    background: url(images/ai-who-section-bg.png) no-repeat;
}

/* общий ряд: заголовок справа, текст слева */
.ai-who-row {
  display: flex;
  flex-direction: row-reverse; /* чтобы заголовок был справа */
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 48px;

}

/* заголовок справа */
.ai-who-title {
  flex: 0 0 21rem;
  text-align: right;
}

.ai-who-title h3 {
  margin: 0;
color: #B06CFF;
font-size: 2.1rem;
font-weight: 700;
line-height: 123.81%;
}

/* текст по центру */
.ai-who-text {
  flex: 1 1 auto;
  max-width: 51rem;
  padding: 2rem 3rem 2rem 5rem;
  border-radius: 28px;
border: 0.741px solid rgba(176, 108, 255, 0.00);
background: rgba(64, 64, 64, 0.20);
backdrop-filter: blur(3.3356988430023193px);
  border: 1px solid #B06CFF;
}

.ai-who-text p {
  margin: 0;
  font-size: 1.2rem;
font-weight: 400;
line-height: 141.667%;
}
.ai-who-text li {
     font-size: 1.2rem;
font-weight: 400;
line-height: 141.667%; 
}
/* адаптив */
@media (max-width: 900px) {
  .ai-who-row {
    flex-direction: column-reverse;
    gap: 16px;
    margin-bottom: 40px;
  }

  .ai-who-title {
    flex: 0 0 auto;
  }

  .ai-who-text {
    max-width: 100%;
  }
}
.ai-process {
  padding-block: 72px 80px;
  color: #ffffff;
}

.ai-process-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding-inline: 24px;
}

.ai-process-title {
  margin: 0 0 32px;
  text-align: right;
  font-size: 1.4rem;
  font-weight: 600;
}

.ai-timeline {
  position: relative;
  padding: 8rem 0 8rem;
  color: #ffffff;
}

/* Заголовок справа + тег слева */
.ai-timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 7rem;
}

.ai-timeline-title {
  margin: 0;
  font-size: 2.1rem;
  font-weight: 700;
}

/* Линия + шаги */
.ai-timeline-steps {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0;
}

/* Горизонтальная линия */
.ai-timeline-steps::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 1rem;
  height: 1px;
  background: rgba(255, 255, 255, 1);
}

/* Один шаг */
.ai-timeline-step {
  position: relative;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  color: #ffffff;
  cursor: pointer;
  font-family: 'Noto Sans Hebrew', sans-serif;
}

/* заголовок над буллетом */
.ai-timeline-step-title {
  font-size: 1.2rem;
  font-weight: 500;
  white-space: nowrap;
  text-align: center;
  transition: all 0.3s ease;
}
.ai-timeline-step-title {
    position: absolute;
    top: -2rem;
}
.ai-timeline-step:last-child .ai-timeline-step-title {
text-align: left;
}
.ai-timeline-step:first-child .ai-timeline-step-title {
text-align: right;
}
/* обёртка, чтобы точка сидела прямо на линии */
.ai-timeline-step-dot-wrapper {
  position: relative;
width: 2rem;
    height: 2rem;
}

/* сама точка */
.ai-timeline-step-dot {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #947BFD;
    transition: background 0.25s 
ease, border-color 0.25s 
ease, box-shadow 0.25s 
ease, transform 0.25s 
ease;
    border: 6px solid #ffffff;
}
.ai-timeline-step--active .ai-timeline-step-dot-wrapper {
   border: 2px solid #F96632;
   border-radius: 999px; 
}

/* описание под линией */
.ai-timeline-step-desc {
  margin-top: 2rem;
  width: 12rem;
  font-size: 0.9rem;
  line-height: 155.556%;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  position: absolute;
}

/* последний элемент — описание по центру */
.ai-timeline-step:last-child .ai-timeline-step-desc {
  text-align: left;
}
.ai-timeline-step:first-child .ai-timeline-step-desc {
  text-align: right;
}
.ai-timeline-step {
    align-items: center;
}
.ai-timeline-step:last-child {
    align-items: end;
}
.ai-timeline-step:first-child {
    align-items: start;
}

/* Состояние активного шага */

.ai-timeline-step--active .ai-timeline-step-title {
  color: #B06CFF;
  font-size: 1.45rem;
  transform: translateY(-2rem);
}

.ai-timeline-step--active .ai-timeline-step-desc {
  opacity: 1;
  transform: translateY(0);
}

/* Hover / focus (для десктопа) */
.ai-timeline-step:hover .ai-timeline-step-dot,
.ai-timeline-step:focus-visible .ai-timeline-step-dot {
  transform: scale(1.1);
}

/* Адаптив */
@media (max-width: 768px) {
  .ai-timeline-steps {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding-bottom: 32px;
  }

  .ai-timeline-steps::before {
    display: none;
  }

  .ai-timeline-step {
    align-items: flex-start;
    text-align: right;
  }
      .ai-timeline-step .ai-timeline-step-desc {
        text-align: right;
        position: relative;
        width: 100%;
        opacity: 1;
        margin-bottom: 4rem;
        margin-top: 0rem;
    }
          .ai-timeline-step.ai-timeline-step--active .ai-timeline-step-desc {
        margin-top: 2rem;
    }
.ai-timeline-step:last-child {
    align-items: start;
}
  .ai-timeline-step .ai-timeline-step-title {
    white-space: normal;
  }

  .ai-timeline-step:last-child .ai-timeline-step-desc {
    text-align: right;
  }

.ai-timeline {
    padding: 5rem 0 0;
}
}

.ai-success-story {
  padding: 3.5rem 0 3.5rem;
  color: #ffffff;
}
.single-project .ai-success-story {
    padding: 3.5rem 0 13.5rem;
}
.ai-success-title {
  margin: 0 0 2.75rem;
  font-size: 2.1rem;
  font-weight: 700;
}

.ai-success-media img,
.ai-success-media video {
  display: block;
  width: 100%;
  height: auto;
    border-radius: 3rem;
}
.ai-success-media video {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}
/* Область для тултипа */
.ai-success-tooltip-area {
    position: relative;
    margin-top: -6rem;
    max-width: 70%;
}

.project-element {
    position: absolute;
   bottom: 35rem;
    left: 0;
    max-width: 40rem;
}
.ai-success-tooltip {
    position: relative;
    /* margin: 0 auto; */
    max-width: 46rem;
    background: #A659FF;
    border-radius: 28px;
   padding: 3rem 6rem 3rem 3rem;
    color: #ffffff;
    /* box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4); */
    margin-right: 2rem;
}
.ai-success-tooltip-body h3 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem
}
.ai-success-tooltip-body p {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  line-height: 140%;
}

.ai-success-tooltip-body p:last-child {
  margin-bottom: 0;
}

/* Кнопка закрытия (X) */
.ai-success-tooltip-close {
  position: absolute;
top: 1rem;
    right: 1.5rem;
  border: 0;
  color: #ffffff;
  font-size: 4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  background: transparent;
}

.ai-success-tooltip-close:hover {
  transform: scale(1.05);
}

/* Квадратик с плюсом (когда тултип свернут) */
.ai-success-tooltip-fab {
    display: none;
    /* margin: 24px auto 0; */
    width: 8rem;
    height: 8rem;
    border-radius: 16px;
    border: 0;
    background: #b06cff;
    color: #ffffff;
    font-size: 4rem;
    line-height: 1;
    cursor: pointer;
    /* box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35); */
    transition: transform 0.2s 
ease, box-shadow 0.2s 
ease;
    transform: rotate(45deg);
    margin-right: 2rem;
    margin-top: 2rem;
}
.ai-success-tooltip-fab:hover {
  transform: rotate(45deg) translateY(-2px);
}

.ai-success-tooltip-fab.is-visible {
  display: block;
}

/* Адаптив */
@media (max-width: 768px) {
  .ai-success-story {
    padding-top: 56px;
  }

  .ai-success-tooltip {
    padding: 42px 30px 32px;
  }

  .ai-success-tooltip-close {
    
    top: -10px;
    right: 10px;
  }

  /* Область для тултипа */
.ai-success-tooltip-area {
    max-width: 90%;
}
}

/* общий фон страницы */
.contact-page {
  color: #ffffff;
  position: relative;
     padding: 12rem 0 0;
}
.page-contact {
  background: url(images/contact-bg.png);   
  background-size: cover;
}
/* HERO */
.contact-hero {
  padding: 0 0 7rem;
}

.contact-hero-title {
    margin: 0;
    font-weight: 700;
    color: #fff;
    opacity: 1;
    font-size: 4.5rem;
line-height: 133.333%;
letter-spacing: -1.8px;
}
/* Декоративная фигура слева от карточки */
.contact-floating-shape {
  position: absolute;
  top: -11rem;
  left: 4rem;
  width: 35rem;
  height: 45rem;
  pointer-events: none;
}
.contact-visual {
    max-width: 100%;
    margin: 0 auto;
    /* padding-inline: 24px; */
    margin-left: -10rem;
}
.page-template-page-contact .contact-visual {
margin-left: 0rem;
}
.contact-visual-inner {
  position: relative;
}

/* image */
.contact-visual-image {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
}

.contact-visual-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.contact-visual-image {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  will-change: transform;
  height: 32rem;
}

.contact-visual-image img {
  will-change: transform;
}

/* заголовок на картинке */
.contact-visual-heading {
  position: absolute;
    text-align: center;
    font-size: 3.75rem;
    font-weight: 600;
    line-height: 113.333%;
    max-width: 60rem;
    margin: 0 auto;
    top: 5.5rem;
    transform: translateX(-50%);
    left: 50%;
}

.contact-card {
    position: relative;
    padding: 6rem 9rem 5rem;
    background: #ffffff;
    border-radius: 60px;
    margin-top: -7.5rem;
}
.page-template-page-contact .contact-visual-image:before {
    content: "";
    position: absolute;
    width: 2px;
    height: 13.5rem;
    background: #fff;
    bottom: 0;
    right: 50%;
    z-index: 1;
}
/* когда экран маленький – убираем абсолют и ставим под картинкой */
@media (max-width: 900px) {
  .contact-card {
    position: static;
    transform: none;
    margin: -40px auto 0;
    width: 100%;
    padding: 28px 20px 32px;
  }
}

.contact-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1;
    color: #130032;
        margin-bottom: 0.5rem;
}
/* FORM LAYOUT */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-row {
  display: flex;
  gap: 16px;
}

.contact-row--two .contact-field {
  flex: 1 1 0;
}

/* мобильник – вертикально */
@media (max-width: 700px) {
  .contact-row {
    flex-direction: column;
  }
}

.contact-field {
  width: 100%;
}
.contact-cta-label {
    direction: ltr;
    text-align: right;
}
/* inputs + textarea – только нижняя линия, плейсхолдер вместо label */
.contact-field input,
.contact-field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(19, 0, 50, 0.18);
  padding: 10px 0 8px;
  font: inherit;
  color: #130032;
  background: transparent;
  outline: none;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.contact-field textarea {
  resize: none;
}

/* focus */
.contact-field input:focus,
.contact-field textarea:focus {
  border-bottom-color: #b26cff;
}

/* consent line */
.contact-consent {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  font-size: 0.8rem;
}

.contact-consent-avatar {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid #b26cff;
  background: url('/path/to/avatar.jpg') center/cover no-repeat;
}

.contact-consent-text {
  flex: 1 1 auto;
  margin: 0;
  line-height: 1.7;
}

/* чекбокс справа – маленький круг */
.contact-consent-check {
  flex: 0 0 auto;
  cursor: pointer;
}

.contact-consent-check input {
  display: none;
}

.contact-consent-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid #b26cff;
  display: inline-block;
  position: relative;
  box-sizing: border-box;
}

.contact-consent-check input:checked + .contact-consent-dot {
  background: #b26cff;
}

.contact-consent-check input:checked + .contact-consent-dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  background: #ffffff;
}

/* круглая кнопка отправки по центру */
.contact-submit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.contact-submit-circle {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  border: none;
  background: #b26cff;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(178, 108, 255, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-submit-circle:hover {
  background: #c580ff;
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(178, 108, 255, 0.65);
}


/* адаптив */
@media (max-width: 900px) {
    .contact-card {
        padding: 3rem 2rem 3rem !important;
        margin-top: -10px;
    }

  .contact-row--two {
    flex-direction: column;
  }

  .contact-bottom-row {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-actions {
    align-items: flex-start;
  }

  .contact-submit {
    align-self: flex-end;
  }
}

.contact-cta-inner {
  margin: 0 auto;
  padding: 5rem 0 7.5rem;
}

/* Ряд из трёх больших иконок */
.contact-cta-row {
  display: flex;
  justify-content: space-between;
  padding: 0 5rem;
}

.contact-cta-item {
  text-decoration: none;
  color: inherit;
  display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.6rem;
}

/* круг */
.contact-cta-circle {
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 999px;
  border: 2px solid #B06CFF;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

/* внутренняя иконка */
.contact-cta-icon {
    line-height: 0rem;
}

/* текст под кругом */
.contact-cta-text {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.57px;
}

/* ховер — как в фигме: подсветка и немного вверх */
.contact-cta-item:hover .contact-cta-circle {
  transform: translateY(-4px);
}

/* соц-иконки */
.contact-social-row {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.contact-social-circle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.contact-social-circle:hover {
  background: #b26cff;
  border-color: #b26cff;
  box-shadow: 0 10px 26px rgba(178, 108, 255, 0.5);
  transform: translateY(-3px);
}

/* адаптив */
@media (max-width: 768px) {
  .contact-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-cta-item {
    flex-direction: row-reverse;
    justify-content: flex-end;
  }

  .contact-cta-circle {
    width: 72px;
    height: 72px;
  }

  .contact-cta-text {
    text-align: right;
  }
}

/* 1. Hide the default browser checkbox but keep the layout */
span.wpcf7-list-item {
    margin: 0;
    padding: 0;
}

/* 1. Настраиваем контейнер (Label) для Flexbox */
/* Это выровняет чекбокс и текст в одну линию по центру */
.wpcf7-acceptance .wpcf7-list-item label {
    display: flex;
    align-items: center; /* Вертикальное выравнивание по центру */
    gap: 16px;           /* Расстояние между чекбоксом и текстом */
    cursor: pointer;
    width: 100%;
}

/* 2. Скрываем стандартный чекбокс и рисуем круг */
.wpcf7-acceptance input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    background-color: transparent;
    margin: 0; 
    
    /* Фиксируем размер, чтобы он не сжимался (flex-shrink) */
    flex-shrink: 0;
    
    /* Размеры из вашего SVG */
    width: 36px;
    height: 36px;
    
    /* Стиль рамки */
    border: 1px solid #B8B8B8;
    border-radius: 50%;
    
    /* Центрируем будущую точку внутри */
    display: grid;
    place-content: center;
    
    transition: all 0.2s ease;
}

/* 3. Рисуем внутреннюю точку (по умолчанию скрыта) */
.wpcf7-acceptance input[type="checkbox"]::before {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #B06CFF; /* Ваш фиолетовый цвет */
    
    transform: scale(0); /* Скрыта */
    transition: 0.2s transform ease-in-out;
}

/* 4. Состояние "Отмечено" */
.wpcf7-acceptance input[type="checkbox"]:checked::before {
    transform: scale(1); /* Показываем точку */
}

/* 5. Стили для текста рядом */
.wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 16px; /* Настройте под ваш дизайн */
    line-height: 1.4;
    color: #ffffff; /* Белый текст, как на макете */
    text-align: right; /* Для иврита */
}

/* Опционально: Ховер эффект */
.wpcf7-acceptance input[type="checkbox"]:hover {
    border-color: #B06CFF;
}
span.wpcf7-form-control.wpcf7-acceptance {
    letter-spacing: -0.16px;
}
@media (max-width: 1680px) {
.masked-media, .masked-video {
    zoom: 0.75;
}
.page-template-page-service .hero:before {
    left: -17rem;
}
}

@media (max-width: 1368px) {
.hero-image {
    margin-left: -3.5rem;
}
.footer-inner {
    padding: 5rem 2rem 8rem;
}
.footer-slogan {
    font-size: 6.6rem;
}
}

@media (max-width: 1024px) {
    .hero-image {
    margin-left: 0;
}
.container {
    padding: 0 20px;
    width: calc(100% - 40px);
}
.container-full {
    padding: 0 20px;
    width: calc(100% - 40px);
}
  .contact-visual {
    margin-left: 0;
  }

}

@media (max-width: 1023px) {
.footer-slogan {
    font-size: 5.4rem;
}
}

@media (max-width: 767px) {
   .container {
    padding: 0;
}
.container-full {
    padding: 0;
} 
.row {
    flex-direction: column;
}
.footer-slogan {
        font-size: 1.5rem;
    }

    .ai-sprint-hero-head {
        margin-bottom: 4rem;
        margin-top: 4rem;
        display: flex;
        flex-direction: column-reverse;
    }
.ai-sprint-hero-title {
    font-size: 3.5rem;
            padding: 0;
}
.hero-title {
    font-size: 3.5rem;
}
.impact-title {
    font-size: 2.25rem;

}
.ai-sprint-hero-overlay {
    padding-top: 2rem;
}
.ai-sprint-hero-he-title {
    font-size: 1.75rem;
}
.ai-who-text {
    padding: 2rem 2rem 2rem 2rem;
}
.ai-who-section {
    padding: 8rem 0 0;
}
.project-hero-header--fixed {
    padding: 1rem 0;
}
.project-challenges {
        padding: 5rem 0 5rem;
    }
    .ai-success-tooltip-fab {
    width: 4rem;
    height: 4rem;
    font-size: 2rem;
    margin-right: 1rem;
    margin-top: 1rem;
}
.ai-video-box {
    position: relative;
    bottom: -1rem;
}
.approach-floating {
    display: none;
}
.approach-card {
    padding: 2.5rem 1.5rem;
}
.logo svg {
    width: 60px;
}
.contact-cta-row {
    padding: 0;
}
.contact-cta-icon svg {
    max-width: 35px;
}
    .contact-cta-item {
        flex-direction: row-reverse;
        justify-content: end;
        gap: 1rem;
    }
  .contact-floating-shape {
    top: 10rem;
    width: 10rem;
}  

.contact-visual-heading {
    font-size: 1.75rem;
}
.contact-hero-title {
    font-size: 2.5rem;
    text-align: center;
}
.project-hero-logo {
    width: 3rem;
    height: 3rem;
}
    .single-project h1 {
        font-size: 2rem;
    }
    .project-hero-category {
    font-size: 1.25rem;
}

.ai-sprint-hero-image img {
    height: 100%;
}
.ai-sprint-hero-image {
    height: 25rem;
}
.footer-social a {
    width: 2.5rem;
    height: 2.5rem;
    border: 2px solid #B06CFF;
}
.footer-social a svg {
    max-width: 15px;
}
.footer-social-link.footer-social-link--special {
    width: 6.5rem;
}
.footer-social-link.footer-social-link--special svg {
    max-width: 55px;
}
.contact-page {
    padding: 5rem 0 0;
}
.contact-visual-image {
    height: 25rem;
}
.contact-visual-image img {
    height: 100%;
}

.contact-hero {
    padding: 0 0 3rem;
}
.contact-visual-heading {
    top: 3.5rem;
}
.page-template-page-contact .contact-visual-image:before {
    height: 8.5rem;
}
.ui-contact-form .submit-row {
    flex-direction: column;
    gap: 1.5rem;
}
    .contact-cta-row {
        gap: 1rem;
        margin-top: 1rem;
    }

    .single-project .ai-success-story {
    padding: 3.5rem 0 3.5rem;
}
.contact-title {
    margin: 0 0 2rem;
    font-size: 2.5rem;
    letter-spacing: -1.6px;
}
}
.wpcf7-spinner {
    display: none!important;
}
/* 4. СЛУЧАЙ YOUTUBE (без маски) */
.youtube-media,
.youtube-media iframe {
    /* YouTube iframe должен занимать все пространство, но без маски */
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    /* Если маска применялась по ошибке, удаляем ее */
    clip-path: none !important; 
}
@media (min-width: 767px) {
#cyberMobileMenu, #cyberBurger {
    display: none;
}
}
@media (max-width: 767px) {
#cyberBurger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 9999; /* Always on top */
    position: relative;
    padding: 0;
}
.cyber-burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff; /* Or your theme color */
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

/* Hamburger Animation States */
.cyber-burger.is-active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}
.cyber-burger.is-active span:nth-child(2) {
    opacity: 0;
}
.cyber-burger.is-active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* --- 2. Full Screen Overlay --- */
.cyber-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #B06CFF; /* Deep dark background */
    z-index: 9998;
    
    /* Flexbox for centering */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Hidden State */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s ease;
    
    /* Optional: Glassmorphism / Blur effect */
    backdrop-filter: blur(10px); 
}

/* Open State */
.cyber-mobile-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* --- 3. Menu List Styling --- */
.cyber-mobile-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.cyber-mobile-list li {
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.cyber-mobile-list li a {
    font-size: 24px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Staggered Animation for items appearing */
.cyber-mobile-overlay.is-active .cyber-mobile-list li {
    opacity: 1;
    transform: translateY(0);
}

/* Add delay for each item for a "cascading" effect */
.cyber-mobile-overlay.is-active li:nth-child(1) { transition-delay: 0.1s; }
.cyber-mobile-overlay.is-active li:nth-child(2) { transition-delay: 0.2s; }
.cyber-mobile-overlay.is-active li:nth-child(3) { transition-delay: 0.3s; }
.cyber-mobile-overlay.is-active li:nth-child(4) { transition-delay: 0.4s; }


/* Добавь это в свой CSS файл */
#smooth-wrapper {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
}

/* И на всякий случай для формы, чтобы она не распирала до загрузки */
.wpcf7 {
    max-width: 100%;
    overflow-x: hidden;
}


}
