:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --accent-1: #6c63ff;
    --accent-2: #ff6584;
    --accent-3: #00d4ff;
    --gradient-1: linear-gradient(135deg, #6c63ff 0%, #ff6584 100%);
    --gradient-2: linear-gradient(135deg, #00d4ff 0%, #6c63ff 100%);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
    overflow-x: hidden;
    position: relative;
}


/* Анимированный фон */

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.sphere-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-1);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.sphere-2 {
    width: 600px;
    height: 600px;
    background: var(--accent-2);
    bottom: -300px;
    right: -200px;
    animation-delay: 5s;
}

.sphere-3 {
    width: 400px;
    height: 400px;
    background: var(--accent-3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}


/* Верхнее навигационное меню */

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.top-nav.scrolled {
    padding: 0.5rem 0;
    background: rgba(10, 10, 15, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 1.8rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rotateLogo 4s infinite linear;
}

@keyframes rotateLogo {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.logo-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-menu-full {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    position: relative;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-primary);
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-1);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent-1);
}

.nav-btn {
    padding: 0.6rem 1.5rem;
    background: var(--gradient-1);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}


/* Hero секция */

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 80px 1fr 400px;
    align-items: center;
    padding: 100px 4rem 4rem;
    position: relative;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-year {
    writing-mode: vertical-rl;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--accent-1), transparent);
}

.hero-center {
    padding: 0 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.3);
    border-radius: 50px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-1);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

.hero-title-stack {
    margin-bottom: 2rem;
}

.title-block {
    margin-bottom: 0.5rem;
}

.title-small {
    font-size: 1rem;
    letter-spacing: 3px;
    color: var(--text-secondary);
    display: block;
}

.title-big {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    display: block;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description-wrap p {
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-1);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}

.hero-link:hover {
    gap: 1rem;
}

.hero-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.hero-orb {
    position: relative;
    width: 200px;
    height: 200px;
}

.orb-ring {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(108, 99, 255, 0.3);
    border-radius: 50%;
    animation: rotateOrb 20s infinite linear;
}

.orb-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--gradient-1);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes rotateOrb {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


/* Услуги */

.services {
    padding: 6rem 4rem;
    position: relative;
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.services-number {
    font-size: 6rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.3;
}

.services-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: right;
    line-height: 1.2;
}

.services-line {
    width: 100px;
    height: 2px;
    background: var(--gradient-1);
    margin-top: 1rem;
    margin-left: auto;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
    align-items: center;
}

.row-left .service-visual {
    order: 1;
}

.row-left .service-content {
    order: 2;
}

.row-right .service-visual {
    order: 2;
}

.row-right .service-content {
    order: 1;
}

.service-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-shape {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s infinite;
}

.shape-1 {
    background: rgba(108, 99, 255, 0.2);
    animation-delay: 0s;
}

.shape-2 {
    background: rgba(255, 101, 132, 0.2);
    animation-delay: 1s;
}

.shape-3 {
    background: rgba(0, 212, 255, 0.2);
    animation-delay: 2s;
}

.shape-4 {
    background: rgba(108, 99, 255, 0.2);
    animation-delay: 3s;
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

.visual-icon {
    font-size: 5rem;
    z-index: 1;
    animation: floatIcon 3s infinite;
}

@keyframes floatIcon {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.service-content {
    padding: 2rem;
}

.service-number {
    font-size: 1rem;
    color: var(--accent-1);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.service-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.service-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-1);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.service-more:hover {
    gap: 1rem;
}


/* Портфолио */

.work {
    padding: 6rem 4rem;
}

.work-header {
    margin-bottom: 4rem;
}

.work-subtitle {
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--accent-1);
    margin-bottom: 1rem;
}

.work-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 2rem;
}

.work-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.work-filter {
    display: flex;
    gap: 1rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--text-secondary);
    transition: var(--transition);
    cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gradient-1);
    border-color: transparent;
    color: white;
}

.work-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 1.5rem;
}

.masonry-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    background: var(--bg-secondary);
}

.item-1 {
    grid-column: span 2;
    grid-row: span 2;
}

.item-2 {
    grid-column: span 1;
    grid-row: span 1;
}

.item-3 {
    grid-column: span 1;
    grid-row: span 2;
}

.item-4 {
    grid-column: span 2;
    grid-row: span 1;
}

.item-5 {
    grid-column: span 1;
    grid-row: span 1;
}

.masonry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.9), rgba(255, 101, 132, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.masonry-item:hover .masonry-overlay {
    opacity: 1;
}

.masonry-content {
    text-align: center;
    transform: translateY(20px);
    transition: var(--transition);
}

.masonry-item:hover .masonry-content {
    transform: translateY(0);
}

.masonry-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.masonry-content p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.masonry-link {
    font-size: 0.8rem;
    text-decoration: underline;
    cursor: pointer;
}


/* Процесс */

.process {
    padding: 6rem 0;
    overflow-x: hidden;
    position: relative;
}

.process-header {
    padding: 0 4rem;
    margin-bottom: 3rem;
}

.process-badge {
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--accent-1);
    margin-bottom: 1rem;
}

.process-header h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.process-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 0 4rem 2rem;
    scroll-snap-type: x mandatory;
    cursor: grab;
}

.process-track::-webkit-scrollbar {
    height: 4px;
}

.process-track::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.process-track::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 10px;
}

.process-card {
    min-width: 350px;
    background: rgba(18, 18, 26, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    scroll-snap-align: start;
    transition: var(--transition);
}

.process-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-1);
}

.process-step {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.process-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.process-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.process-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}


/* Отзывы */

.testimonials {
    padding: 6rem 4rem;
    position: relative;
}

.testimonials-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.05), rgba(255, 101, 132, 0.05));
    z-index: -1;
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.testimonials-number {
    font-size: 6rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.3;
}

.testimonials-title h2 {
    font-size: 3rem;
    font-weight: 700;
}

.testimonials-line {
    width: 100px;
    height: 2px;
    background: var(--gradient-1);
    margin-top: 1rem;
    margin-left: auto;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(18, 18, 26, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-1);
}

.testimonial-quote {
    font-size: 4rem;
    color: var(--accent-1);
    opacity: 0.5;
    margin-bottom: 1rem;
    line-height: 1;
}

.testimonial-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.author-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.8rem;
    color: var(--text-secondary);
}


/* Контакты */

.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
}

.contact-left {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(255, 101, 132, 0.1));
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-badge {
    font-size: 1rem;
    color: var(--accent-1);
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.contact-left h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.contact-left>p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 400px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-icon {
    font-size: 1.5rem;
}

.info-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.contact-info-item a {
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.contact-info-item a:hover {
    color: var(--accent-1);
}

.contact-social {
    display: flex;
    gap: 2rem;
}

.social-btn {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.social-btn:hover {
    color: var(--accent-1);
    transform: translateX(5px);
}

.contact-right {
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form-new {
    width: 100%;
    max-width: 400px;
}

.form-field {
    position: relative;
    margin-bottom: 2rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    transition: var(--transition);
}

.form-field label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--text-secondary);
    transition: var(--transition);
    pointer-events: none;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--accent-1);
    outline: none;
}

.form-field input:focus~label,
.form-field input:not(:placeholder-shown)~label,
.form-field textarea:focus~label,
.form-field textarea:not(:placeholder-shown)~label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.7rem;
    background: var(--bg-primary);
    padding: 0 0.5rem;
    color: var(--accent-1);
}

.submit-new {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-1);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
}

.submit-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.3);
}


/* Футер */

.footer-new {
    padding: 2rem 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
}

.footer-brand {
    text-align: left;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-copyright {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.footer-links {
    text-align: center;
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.footer-links a {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-1);
}

.footer-back {
    text-align: right;
}

.backtop-new {
    width: 40px;
    height: 40px;
    background: rgba(108, 99, 255, 0.2);
    border: none;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.backtop-new:hover {
    background: var(--accent-1);
    transform: translateY(-5px);
}


/* Кастомный курсор */

.custom-cursor {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
}

.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.08s ease;
}

.cursor-ring {
    position: fixed;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(108, 99, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transition: all 0.15s ease;
}


/* Адаптив */

@media (max-width: 1200px) {
    .hero {
        grid-template-columns: 60px 1fr 300px;
    }
    .title-big {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .nav-container {
        padding: 0 2rem;
    }
    .nav-menu-full {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 2rem;
    }
    .nav-menu-full.active {
        right: 0;
    }
    .nav-link {
        font-size: 1.2rem;
        padding: 0.5rem;
    }
    .mobile-toggle {
        display: flex;
    }
    .nav-cta {
        margin-left: auto;
    }
    .hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 100px 2rem 2rem;
    }
    .hero-left {
        flex-direction: row;
        justify-content: space-between;
    }
    .hero-year {
        writing-mode: horizontal-tb;
    }
    .hero-scroll {
        display: none;
    }
    .hero-right {
        flex-direction: row;
        justify-content: space-between;
    }
    .service-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .row-left .service-visual,
    .row-right .service-visual {
        order: 1;
    }
    .row-left .service-content,
    .row-right .service-content {
        order: 2;
    }
    .work-masonry {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    .footer-links {
        flex-wrap: wrap;
    }
    .footer-back {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .custom-cursor {
        display: none !important;
    }
    body {
        cursor: auto !important;
    }
    .hero {
        padding: 100px 1rem 2rem;
    }
    .title-big {
        font-size: 2.5rem;
    }
    .services {
        padding: 4rem 1rem;
    }
    .services-title {
        font-size: 2rem;
    }
    .services-number {
        font-size: 3rem;
    }
    .service-visual {
        height: 250px;
    }
    .visual-shape {
        width: 200px;
        height: 200px;
    }
    .work {
        padding: 4rem 1rem;
    }
    .work-title {
        font-size: 2rem;
    }
    .work-masonry {
        grid-template-columns: 1fr;
    }
    .item-1,
    .item-2,
    .item-3,
    .item-4,
    .item-5 {
        grid-column: span 1;
        grid-row: span 1;
    }
    .process {
        padding: 4rem 0;
    }
    .process-header {
        padding: 0 1rem;
    }
    .process-track {
        padding: 0 1rem 2rem;
    }
    .process-card {
        min-width: 280px;
    }
    .testimonials {
        padding: 4rem 1rem;
    }
    .testimonials-number {
        font-size: 3rem;
    }
    .testimonials-title h2 {
        font-size: 2rem;
    }
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    .contact-left,
    .contact-right {
        padding: 2rem;
    }
    .contact-left h2 {
        font-size: 2rem;
    }
    .footer-new {
        padding: 2rem 1rem;
    }
}

@media (max-width: 576px) {
    .nav-container {
        padding: 0 1rem;
    }
    .nav-cta {
        display: none;
    }
    .nav-menu-full {
        width: 100%;
        max-width: 100%;
    }
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    .work-filter {
        flex-wrap: wrap;
    }
    .filter-btn {
        font-size: 0.8rem;
    }
}