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

        body {
            font-family: "Roboto", sans-serif;
            line-height: 1.6;
            color: #fff;
			background: #01002F;
        }

        
    
        /* Герой-секция */
        .hero {
            height: 100vh;
            font-family: "Roboto", sans-serif;
            background-color: #FA001C; /* Фон под всеми изображениями */
            background-image: linear-gradient(rgba(1, 0, 47, 1.0), rgba(1, 0, 47, 0.0)), url('p2.jpg');
            background-repeat: no-repeat, no-repeat;
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: white;
            padding-top: 80px;
        }

        .hero-content {
            max-width: 1200px;
            padding: 0 20px;
            
        }

        .hero h1 {
            font-family: "Roboto", sans-serif;
            text-transform: uppercase;
            font-size: 100px;
            line-height: 100px;
            margin-bottom: 20px;
            text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
        }

.service-head h1 {
font-size: 100px;
    line-height: 100px;
    text-transform: uppercase;
    text-align: center;
            }

   .service-head p{
    max-width: 700px;
    margin: auto;
    text-align: center;
    color: #8f8f8f;
    padding: 20px 20px 20px 20px;

   }         

            .contact-head h1{
font-size: 100px;
    line-height: 100px;
    text-transform: uppercase;
    text-align: center;
            }


        .hero p {
            font-size: 24px;
            margin-bottom: 30px;
            opacity: 0.9;
            width: 800px;
            margin: auto;

            
        }

        .hero-arrow {
            width: 12px;
            height: 30px;
            margin: auto;
            padding-top: 15px;

        }

        .hero-button {
            display: inline-block;
            padding: 15px 40px;
            background: #FA001C;
            color: white;
            text-decoration: none;
            border-radius: 30px;
            font-weight: bold;
            font-size: 1.1rem;
            transition: all 0.3s ease;
        }

        .hero-button:hover {
            background: #FA001C;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        /* Основные стили для header */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            padding: 20px 5%;
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        /* Прозрачный фон по умолчанию */
        .header.transparent {
            background: transparent;
            backdrop-filter: blur(0px);
        }

        /* Темный фон при скролле */
        .header.scrolled {
            background: rgba(1, 0, 47, 0.75);
            backdrop-filter: blur(10px);
            padding: 15px 5%;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        }

        .navbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            max-width: 1400px;
            margin: 0 auto;
        }

        /* Логотип */
        .logo {
            display: flex;
            align-items: center;
            z-index: 1002;
        }

        .logo a {
            color: white;
            font-size: 1.8rem;
            font-weight: 700;
            text-decoration: none;
            letter-spacing: 1px;
            display: flex;
            align-items: center;
        }

        .logo-icon {
            margin-right: 10px;
            font-size: 2rem;
            color: #FA001C;
        }

        /* Навигационное меню */
        .nav-menu {
            display: flex;
            list-style: none;
            gap: 40px;
        }

        .nav-link {
            color: white;
            text-decoration: none;
            font-size: 1.1rem;
            font-weight: 500;
            padding: 8px 0;
            position: relative;
            transition: color 0.3s ease;
        }

        .nav-link:hover {
            color: #FA001C;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: #FA001C;
            transition: width 0.3s ease;
        }

        .nav-link:hover::after {
            width: 100%;
        }

        /* Социальные иконки - видим только на десктопе */
        .social-icons {
            display: flex;
            gap: 10px;
        }

        .social-link {
            color: white;
            font-size: 1.3rem;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            position: relative;
        }

        .social-link:hover {
            color: #FA001C;
        }

        .social-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            transform: scale(0);
            transition: transform 0.3s ease;
        }

        .social-link:hover::before {
            transform: scale(1);
        }

        /* Социальные иконки в мобильном меню */
        .mobile-social-icons {
            display: none;
            justify-content: center;
            gap: 25px;
            margin-top: 30px;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .mobile-social-link {
            color: white;
            font-size: 1.5rem;
            transition: all 0.3s ease;
        }

        .mobile-social-link:hover {
            color: #FA001C;
            transform: translateY(-3px);
        }

        /* Мобильное меню */
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 10px;
            flex-direction: column;
            gap: 5px;
            z-index: 1002;
        }

        .menu-toggle span {
            width: 30px;
            height: 3px;
            background: white;
            border-radius: 2px;
            transition: 0.3s;
        }

        /* Адаптивность */
        @media (max-width: 1024px) {
            .nav-menu {
                gap: 25px;
            }
            
            .social-icons {
                gap: 15px;
            }
        }

        @media (max-width: 768px) {
            .header {
                padding: 15px 5%;
            }
            
            .header.scrolled {
                padding: 10px 5%;
            }
            
            /* Прячем обычные социальные иконки на мобильных */
            .social-icons {
                display: none;
            }
            
            .menu-toggle {
                display: flex;
            }
            
            .menu-toggle.active span:nth-child(1) {
                transform: rotate(45deg) translate(6px, 6px);
            }
            
            .menu-toggle.active span:nth-child(2) {
                opacity: 0;
            }
            
            .menu-toggle.active span:nth-child(3) {
                transform: rotate(-45deg) translate(7px, -6px);
            }
            
            .nav-menu {
                position: fixed;
                top: 0;
                right: -100%;
                width: 80%;
                max-width: 400px;
                height: 100vh;
                background: rgba(0, 0, 16, 0.99);
                backdrop-filter: blur(10px);
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 30px;
                transition: right 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
                z-index: 1001;
                padding: 20% 0;
            }
            
            .nav-menu.active {
                right: 0;
            }
            
            .nav-link {
                font-size: 1.3rem;
                padding: 10px 20px;
            }
            
            /* Показываем социальные иконки в мобильном меню */
            .mobile-social-icons {
                display: flex;
            }
            
            .hero h1 {
                font-size: 2.5rem;
            }

            .service-head h1 {
font-size: 3rem;
    line-height: 4rem;
    text-transform: uppercase;
    text-align: center;
            }

            .contact-head h1{
font-size: 3rem;
    line-height: 4rem;
    text-transform: uppercase;
    text-align: center;
            }
        }

        

        @media (max-width: 480px) {
            .logo a {
                font-size: 1.5rem;
            }
            
            .hero h1 {
                font-size: 2rem;
                line-height: 2rem;
                
            }

.service-head p{
    font-size: 1rem;
    max-width: 300px;
    margin: auto;
    text-align: center;
    color: #8f8f8f;
    padding: 20px 20px 20px 20px;

   } 
                      
            .hero p {
                font-size: 1rem;
                width: auto;
            }
            
            .nav-menu {
                width: 85%;
            }

            .hero-content {
            width: auto;
            padding: 0px 20px 0px 20px;
            }

    
        }

    

        /* Портфолио */

         
        .portfolio-section-bg {
            background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.8)), #01002F;
            width: 100%;

        }

        .portfolio-section {
            padding: 80px 5%;
            max-width: 1600px;
            margin: 0 auto;
            width: 100%;
        }
 

        .section-header {
            margin-bottom: 60px;
        }

        .section-title {
            font-size: 3rem;
            text-transform: uppercase;
            font-weight: 800;
            color: #fff;
            margin-bottom: 15px;
            position: relative;
            padding-left: 20px;
        }

        .section-title::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 4px;
            background: #FA001C;
        }

        .section-subtitle {
            font-size: 1.1rem;
            color: #aaa;
            max-width: 500px;
            padding-left: 20px;
        }

        /* Плотная хаотичная сетка */
        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(12, 1fr);
            grid-template-rows: repeat(8, 140px);
            gap: 4px;
            position: relative;
            margin-bottom: 4px;
        }

        /* Карточкио */
        .portfolio-card {
            background: #111;
            overflow: hidden;
            position: relative;
            cursor: pointer;
            transition: transform 0.3s ease, z-index 0.3s;
            border: none;
        }

        .portfolio-card:hover {
            transform: scale(1.02);
            z-index: 10;
        }

        /* Изображение */
        .card-image {
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 1;
        }

        .card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .portfolio-card:hover .card-image img {
            transform: scale(1.1);
        }

        /* Градиентная подложка для текста */
        .text-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 30px;
            z-index: 2;
            background: linear-gradient(to top, 
                rgba(0, 0, 0, 0.9) 0%, 
                rgba(0, 0, 0, 0.7) 30%,
                rgba(0, 0, 0, 0.4) 60%,
                transparent 100%);
            transform: translateY(10px);
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .portfolio-card:hover .text-overlay {
            transform: translateY(0);
            opacity: 1;
        }

        /* Категория проекта */
        .project-category {
            display: inline-block;
            padding: 6px 12px;
            background: #FA001C;
            color: white;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-bottom: 15px;
            border: none;
        }

        /* Заголовок проекта */
        .project-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 10px;
            color: #fff;
            line-height: 1.3;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        }

        /* Описание проекта */
        .project-description {
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.95rem;
            line-height: 1.5;
            margin-bottom: 20px;
            overflow: hidden;
        }

        /* Ссылка на проект */
        .project-link {
            display: inline-flex;
            align-items: center;
            color: #fff;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            padding: 8px 16px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
        }

        .project-link:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateX(5px);
        }

        .project-link i {
            margin-left: 8px;
            font-size: 0.9rem;
        }

        /* Хаотичное расположение карточек */
        .card-1 {
            grid-column: 1 / span 5;
            grid-row: 1 / span 3;
        }

        .card-2 {
            grid-column: 6 / span 4;
            grid-row: 2 / span 3;
        }

        .card-3 {
            grid-column: 3 / span 4;
            grid-row: 4 / span 3;
        }

        .card-4 {
            grid-column: 7 / span 5;
            grid-row: 5 / span 3;
        }

        .card-5 {
            grid-column: 1 / span 4;
            grid-row: 6 / span 3;
        }

        /* Большая кнопка справа внизу */
        .portfolio-button {
            grid-column: 10 / span 3;
            grid-row: 7 / span 2;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            border: none;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            background: #FA001C;
        }

        .btn-container {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 30px;
            text-align: center;
            transition: all 0.4s ease;
            position: relative;
            z-index: 2;
            background: linear-gradient(45deg, #fa001c 0%, #84010f 100%);
        }

        .portfolio-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: #FA001C;
            opacity: 0;
            transition: opacity 0.4s ease;
            z-index: 1;
        }

        .portfolio-button:hover::before {
            opacity: 1;
        }

        .portfolio-button:hover .btn-container {
            background: transparent;
        }

        .btn-icon {
            font-size: 2.5rem;
            font-weight: 300;
            margin-bottom: 15px;
            color: #fff;
            z-index: 2;
        }

        .btn-text {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 8px;
            color: #fff;
            z-index: 2;
        }

        .btn-subtext {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.8);
            font-weight: 400;
            z-index: 2;
        }

        /* Адаптивность */
        @media (max-width: 1200px) {
            .portfolio-grid {
                grid-template-rows: repeat(8, 120px);
            }
            
            .project-title {
                font-size: 1.3rem;
            }
            
            .text-overlay {
                padding: 20px;
            }
        }

        @media (max-width: 992px) {
            .portfolio-grid {
                grid-template-columns: repeat(6, 1fr);
                grid-template-rows: repeat(12, 100px);
                gap: 3px;
            }
            
            .card-1 {
                grid-column: 1 / span 3;
                grid-row: 1 / span 3;
            }
            
            .card-2 {
                grid-column: 4 / span 3;
                grid-row: 2 / span 3;
            }
            
            .card-3 {
                grid-column: 2 / span 3;
                grid-row: 4 / span 3;
            }
            
            .card-4 {
                grid-column: 1 / span 3;
                grid-row: 7 / span 3;
            }
            
            .card-5 {
                grid-column: 4 / span 3;
                grid-row: 8 / span 3;
            }
            
            .portfolio-button {
                grid-column: 2 / span 4;
                grid-row: 11 / span 2;
            }
        }

        @media (max-width: 768px) {
            .portfolio-section {
                padding: 60px 4%;
            }
            
            .section-title {
                font-size: 2.2rem;
            }
            
            .portfolio-grid {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                grid-template-rows: auto;
                gap: 2px;
            }
            
            .portfolio-card {
                aspect-ratio: 1;
                grid-column: auto !important;
                grid-row: auto !important;
            }
            
            .text-overlay {
                padding: 15px;
                opacity: 1;
                transform: translateY(0);
                background: linear-gradient(to top, 
                    rgba(0, 0, 0, 0.95) 0%, 
                    rgba(0, 0, 0, 0.8) 50%,
                    transparent 100%);
            }
            
            .portfolio-button {
                aspect-ratio: 2/1;
                grid-column: 1 / span 2 !important;
                grid-row: auto !important;
            }
            
            .project-title {
                font-size: 1.1rem;
            }
            
            .project-description {
                font-size: 0.85rem;
            }
        }

        @media (max-width: 480px) {
            .section-title {
                font-size: 1.8rem;
                padding-left: 15px;
            }
            
            .section-subtitle {
                padding-left: 15px;
                font-size: 0.95rem;
            }
            
            .portfolio-grid {
                grid-template-columns: 1fr;
            }
            
            .portfolio-button {
                grid-column: 1 !important;
            }
            
            .text-overlay {
                padding: 12px;
            }
            
            .project-category {
                font-size: 0.7rem;
                padding: 4px 8px;
            }
            
            .btn-text {
                font-size: 1.1rem;
            }
        }

        /* Дополнительные стили */
        .view-all {
            text-align: center;
            margin-top: 50px;
        }

        .view-all-btn {
            display: inline-block;
            padding: 15px 40px;
            background: transparent;
            color: #fff;
            border: 2px solid #FA001C;
            font-size: 1rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .view-all-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: #FA001C;
            transition: left 0.4s ease;
            z-index: -1;
        }

        .view-all-btn:hover::before {
            left: 0;
        }

        .view-all-btn:hover {
            color: #fff;
        }


        .content-section {
            padding: 100px 5%;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .content-section h2 {
            font-size: 2.5rem;
            text-transform: uppercase;
            margin-bottom: 30px;
            color: #222;
        }
        
        .content-section p {
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 20px;
            color: #555;
        }

          /* Футер */
        .footer {
            background: #000010;
            color: #fff;
            padding: 50px 0 30px;
            width: 100%;
            margin-top: auto;
        }

        .footer-container {
            max-width: 1440px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Три колонки */
        .footer-columns {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            margin-bottom: 40px;
            padding-bottom: 30px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* Колонка 1 - ИП и реквизиты */
        .column-1 {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        /* Колонка 2 - Политика и ссылки */
        .column-2 {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        /* Колонка 3 - Соцсети */
        .column-3 {
            display: flex;
            flex-direction: column;
            gap: 20px;
            align-items: flex-start;
        }

        .social-title {
            font-size: 1rem;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 5px;
        }

        .footer-social-icons {
            display: flex;
            gap: 10px;
        }

        .footer-social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 50%;
            color: #fff;
            font-size: 1.3rem;
            text-decoration: none;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer-social-link:hover {
            background: #7D0F4D;
            border-color: #7D0F4D;
        }

        .footer-social-link.vk:hover {
            background: #7D0F4D;
            border-color: #7D0F4D;
        }

        .footer-social-link.telegram:hover {
            background: #7D0F4D;
            border-color: #7D0F4D;
        }

        /* Общие стили текста */
        .footer-text {
            font-size: 0.95rem;
            line-height: 1.5;
            color: rgba(255, 255, 255, 0.8);
        }

        .footer-title {
            font-size: 1rem;
            font-weight: 600;
            color: #fff;
            margin-bottom: 15px;
            display: block;
        }

        .legal-text {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.6);
            font-style: italic;
            line-height: 1.4;
        }

        /* Ссылки */
        .footer-link {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.3s ease;
            display: inline-block;
            position: relative;
        }

        .footer-link:hover {
            color: #fff;
        }

        .footer-link::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 1px;
            background: #fff;
            transition: width 0.3s ease;
        }

        .footer-link:hover::after {
            width: 100%;
        }

        /* Нижняя часть футера */
        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 20px;
            flex-wrap: wrap;
            gap: 20px;
        }

        .copyright {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.7);
        }

        .brand {
            color: #fff;
            font-weight: 600;
        }

        .footer-logo {
            font-size: 1.2rem;
            font-weight: 700;
            color: #fff;
            text-decoration: none;
        }

        .footer-logo:hover {
            opacity: 0.9;
        }

        /* Адаптивность */
        @media (max-width: 992px) {
            .footer-columns {
                grid-template-columns: repeat(2, 1fr);
                gap: 30px;
            }
            
            .column-3 {
                grid-column: span 2;
                align-items: center;
                text-align: center;
            }
        }

        @media (max-width: 768px) {
            .footer {
                padding: 40px 0 20px;
            }
            
            .footer-columns {
                grid-template-columns: 1fr;
                gap: 30px;
                margin-bottom: 30px;
            }
            
            .column-3 {
                grid-column: span 1;
            }
            
            .footer-bottom {
                flex-direction: column;
                text-align: center;
                gap: 15px;
            }
            
            .column-1,
            .column-2 {
                text-align: center;
            }
            
            .social-icons {
                justify-content: center;
            }
        }

        @media (max-width: 480px) {
            .footer-container {
                padding: 0 15px;
            }
            
            .footer {
                padding: 30px 0 15px;
            }
            
            .footer-columns {
                gap: 25px;
            }
            
            .social-link {
                width: 40px;
                height: 40px;
                font-size: 1.2rem;
            }
            
            .footer-text {
                font-size: 0.9rem;
            }
            
            .copyright {
                font-size: 0.85rem;
            }
        }



      /* Услуги */

      .services-section-bg {
        background: #000009;
        width: 100%;
      }

       .services-section {
            padding: 100px 5%;
            max-width: 1600px;
            margin: 0 auto;
        }

        .section-header {
            margin-bottom: 60px;
        }

        .section-title {
            font-size: 2.8rem;
            font-weight: 800;
            color: #fff;
            margin-bottom: 15px;
            position: relative;
            padding-left: 20px;
        }

        .section-title::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 4px;
            background: #FA001C;
        }

        .section-subtitle {
            font-size: 1.1rem;
            color: #aaa;
            max-width: 600px;
            padding-left: 20px;
            line-height: 1.8;
        }



              /* Сетка: 4 карточки в ряд, 4-ая короче, под ней кнопка */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(12, 1fr);
            grid-template-rows: repeat(4, 120px);
            gap: 4px;
            position: relative;
        }

        /* Карточки услуг */
        .service-card {
            background: #010019;
            overflow: hidden;
            position: relative;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: none;
        }

  

        /* Иконки услуг */
        .service-icon {
            position: absolute;
            width: 42px;
            height: auto;
            top: 25px;
            left: 25px;
            z-index: 3;
            color: #FA001C;
            transition: transform 0.3s ease;
        }

        .service-card:hover .service-icon {
            transform: scale(1.2);
        }

        /* Контент карточки */
        .service-content {
            position: relative;
            z-index: 2;
            padding: 70px 25px 25px;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .service-number {
            position: absolute;
            top: 25px;
            right: 25px;
            font-size: 1.8rem;
            font-weight: 800;
            color: rgba(255, 255, 255, 0.1);
            z-index: 1;
        }

        .service-title {
            font-size: 1.3rem;
            font-weight: 700;
            margin-top: 30px;
            color: #fff;
            line-height: 1.3;
        }

        .service-description {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
            line-height: 1.5;
            margin-top: 15px;
            flex-grow: 1;
        }

        .service-features {
            list-style: none;
            margin-top: 60px;
        }

        .service-features li {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.85rem;
            margin-bottom: 10px;
            padding-left: 18px;
            position: relative;
        }

        .service-features li::before {
            content: '→';
            position: absolute;
            left: 0;
            color: #ff3366;
            font-size: 0.9rem;
        }

        /* Фоновая графика */
        .service-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, #710D46 20%, #000010 100%);
            z-index: 1;
            opacity: 0.5;
        }

        .service-card:hover .service-bg {
            opacity: 0.3;
        }

        /* Расположение: 4 карточки в ряд */
        /* Карточки 1-3: полные (3 ряда) */
        .scard-1 {
            grid-column: 1 / span 3;   /* 3 колонки */
            grid-row: 1 / span 4;      /* 3 ряда - полная */
        }

        .scard-2 {
            grid-column: 4 / span 3;   /* 3 колонки */
            grid-row: 1 / span 4;      /* 3 ряда - полная */
        }

        .scard-3 {
            grid-column: 7 / span 3;   /* 3 колонки */
            grid-row: 1 / span 4;      /* 3 ряда - полная */
        }

        /* Карточка 4: короче (2 ряда = 2/3 высоты) */
        .scard-4 {
            grid-column: 10 / span 3;  /* 3 колонки */
            grid-row: 1 / span 3;      /* 2 ряда - короче на 1/3 */
        }

        /* Кнопка под 4-ой карточкой */
        .calculate-button {
            grid-column: 10 / span 3;  /* Под 4-ой карточкой */
            grid-row: 4 / span 1;      /* 1 ряд - занимает оставшееся место */
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            border: none;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            background: #FA001C;
        }

        .btn-container {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 20px;
            text-align: center;
            transition: all 0.4s ease;
            position: relative;
            z-index: 2;
            background: linear-gradient(45deg, #FA001C 0%, #BE0015 100%);
        }

        .calculate-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: #FA001C;
            opacity: 0;
            transition: opacity 0.4s ease;
            z-index: 1;
        }

        .calculate-button:hover::before {
            opacity: 1;
        }

        .calculate-button:hover .btn-container {
            background: transparent;
        }

        .btn-icon {
            font-size: 1.8rem;
            font-weight: 300;
            margin-bottom: 10px;
            color: #fff;
            z-index: 2;
        }

        .btn-text {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 5px;
            color: #fff;
            z-index: 2;
        }

        .btn-subtext {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.8);
            font-weight: 400;
            z-index: 2;
            max-width: 200px;
            line-height: 1.3;
        }


        /* Адаптивность */
        @media (max-width: 1200px) {
            .services-grid {
                grid-template-rows: repeat(6, 110px);
            }
            
            .service-title {
                font-size: 1.2rem;
            }
            
            .service-content {
                padding: 65px 20px 20px;
            }
            
            .btn-text {
                font-size: 1.1rem;
            }
        }

        @media (max-width: 992px) {
            .services-grid {
                grid-template-columns: repeat(6, 1fr);
                grid-template-rows: repeat(7, 100px);
            }
            
            /* 4 карточки в 2 ряда */
            .card-1 {
                grid-column: 1 / span 3;
                grid-row: 1 / span 3;
            }
            
            .card-2 {
                grid-column: 4 / span 3;
                grid-row: 1 / span 3;
            }
            
            .card-3 {
                grid-column: 1 / span 3;
                grid-row: 4 / span 3;
            }
            
            /* Карточка 4 короче + кнопка под ней */
            .card-4 {
                grid-column: 4 / span 3;
                grid-row: 4 / span 2;  /* Короче */
            }
            
            .calculate-button {
                grid-column: 4 / span 3;
                grid-row: 6 / span 1;  /* Под карточкой 4 */
            }
        }

        @media (max-width: 768px) {
            .services-section {
                padding: 60px 4%;
            }
            
            .section-title {
                font-size: 2.2rem;
            }
            
            .services-grid {
                display: grid;
                grid-template-columns: 1fr;
                grid-template-rows: repeat(5, auto);
                gap: 4px;
            }
            
            .service-card {
                min-height: 280px;
                grid-column: 1 !important;
                grid-row: auto !important;
            }
            
            .card-4 {
                min-height: 180px; /* Сохраняем короче */
            }
            
            .calculate-button {
                min-height: 120px;
                grid-column: 1 !important;
                grid-row: auto !important;
                margin-top: 4px;
            }
            
            .service-content {
                padding: 65px 20px 20px;
            }
            
            .btn-text {
                font-size: 1.3rem;
            }
            
            .btn-subtext {
                font-size: 0.9rem;
                max-width: none;
            }
        }

        @media (max-width: 480px) {
            .section-title {
                font-size: 1.8rem;
                padding-left: 15px;
            }
            
            .section-subtitle {
                padding-left: 15px;
                font-size: 1rem;
            }
            
            .service-title {
                font-size: 1.1rem;
            }
            
            .service-description {
                font-size: 0.85rem;
            }
            
            .btn-text {
                font-size: 1.2rem;
            }
        }


      /* О нас */

        .about-section {
            padding: 80px 5%;
            max-width: 1600px;
            margin: 0 auto;
        }

        /* Две колонки */
        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: start;
        }

        /* Левая колонка */
        .about-content {
            display: flex;
            flex-direction: column;
            gap: 40px;
            margin-right: 100px;
        }

        .section-title {
            font-size: 2.8rem;
            font-weight: 800;
            color: #fff;
            position: relative;
            padding-left: 20px;
        }

        .section-title::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 4px;
            background: #FA001C;
        }

        .about-text {
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.8;
        }

        /* Инфографика - чистый список без карточек */
        .infographics {
            display: flex;
            flex-direction: column;
            gap: 25px;
            margin-top: 10px;
        }

        .info-item {
            display: flex;
            gap: 20px;
            align-items: flex-start;
            padding: 0;
            border: none;
            background: none;
        }

        .info-number {
            font-size: 3rem;
            font-weight: 800;
            color: #710D46;
            line-height: 1;
            flex-shrink: 0;
            min-width: 60px;
        }

        .info-content {
            flex: 1;
        }

        .info-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 8px;
            line-height: 1.3;
        }

        .info-description {
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.6;
        }

        /* Правая колонка - Наложенные прямоугольники */
        .about-visual {
            position: relative;
            min-height: 100%;
            width: 100%;
        }

        .rectangle {
            position: absolute;
            background: linear-gradient(182deg, rgba(125, 15, 77, 0.9), rgba(125, 15, 77, 0.0));
            overflow: hidden;
        }

        /* Первый прямоугольник (задний) */
        .rectangle-1 {
            width: 85%;
            height: 75%;
            top: 0;
            right: 0;
            z-index: 1;
        }

        /* Второй прямоугольник (передний, накладывается) */
        .rectangle-2 {
        width: 75%;
        height: 75%;
        bottom: 0;
        left: 0;
        z-index: 2;
        background-image: url('dark-and-mysterious__63500.png');
		background-repeat: no-repeat, no-repeat;
        background-size: cover;
        background-position: center;
		
         }

        /* Контент внутри прямоугольников */
        .rect-content {
            padding: 40px;
            height: 100%;
            position: relative;
            z-index: 3;
        }

        .rect-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 15px;
        }

        .rect-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background: #FA001C;
        }

        .rect-text {
            font-size: 1.05rem;
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.7;
            margin-bottom: 15px;
        }

        /* Декоративные элементы */
        .rect-decoration {
            position: absolute;
            width: 80px;
            height: 80px;
            opacity: 0.05;
        }

        .rectangle-1 .rect-decoration {
            top: 20px;
            right: 20px;
            background: linear-gradient(135deg, transparent 50%, #FA001C 50%);
        }

        .rectangle-2 .rect-decoration {
            bottom: 20px;
            left: 20px;
            background: linear-gradient(135deg, #FA001C 50%, transparent 50%);
        }

        /* Акцентные линии */
        .accent-line {
            position: absolute;
            background: #FA001C;
            opacity: 0.2;
        }

        .rectangle-1 .accent-line {
            top: -1px;
            left: -1px;
            width: 60px;
            height: 1px;
        }

        .rectangle-1 .accent-line:nth-child(2) {
            top: -1px;
            left: -1px;
            width: 1px;
            height: 60px;
        }

        .rectangle-2 .accent-line {
            bottom: -1px;
            right: -1px;
            width: 60px;
            height: 1px;
        }

        .rectangle-2 .accent-line:nth-child(2) {
            bottom: -1px;
            right: -1px;
            width: 1px;
            height: 60px;
        }

        /* Анимация появления */
        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .animate-fade {
            animation: fadeIn 0.8s ease forwards;
        }

        .animate-left {
            animation: slideInLeft 0.8s ease forwards;
        }

        .animate-right {
            animation: slideInRight 0.8s ease forwards;
        }

        /* Адаптивность */
        @media (max-width: 1200px) {
            .about-grid {
                gap: 40px;
            }
            
            .rectangle-1 {
                height: 320px;
            }
            
            .rectangle-2 {
                height: 300px;
            }
            
            .rect-content {
                padding: 30px;
            }
        }

        @media (max-width: 992px) {
            .about-grid {
                grid-template-columns: 1fr;
                gap: 60px;
            }
            
            .about-visual {
                min-height: 400px;
                order: -1;
            }
            
            .rectangle-1 {
                width: 80%;
                height: 280px;
            }
            
            .rectangle-2 {
                width: 70%;
                height: 260px;
            }
        }

        @media (max-width: 768px) {
            .about-section {
                padding: 60px 4%;
            }
            
            .section-title {
                font-size: 2.2rem;
            }
            
            .about-text {
                font-size: 1rem;
            }
            
            .info-number {
                font-size: 2.5rem;
                min-width: 50px;
            }
            
            .info-title {
                font-size: 1.2rem;
            }
            
            .info-description {
                font-size: 0.95rem;
            }
            
            .rect-title {
                font-size: 1.3rem;
            }
            
            .rect-text {
                font-size: 1rem;
            }
        }

        @media (max-width: 480px) {
            .section-title {
                font-size: 1.8rem;
                padding-left: 15px;
            }
            
            .info-item {
                flex-direction: column;
                gap: 10px;
            }
            
            .info-number {
                min-width: auto;
            }
            
            .rectangle-1 {
                width: 90%;
                height: 250px;
            }
            
            .rectangle-2 {
                width: 85%;
                height: 230px;
            }
            
            .rect-content {
                padding: 25px;
            }
            
            .rect-title {
                font-size: 1.2rem;
                margin-bottom: 15px;
            }
        }


/* Форма */

        .contact-section {
            padding: 80px 5%;
            max-width: 1600px;
            margin-bottom: -50px;
        }

        /* Две колонки */
        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: stretch;
            min-height: 600px;
        }

        /* Левая колонка - Изображение */
        .contact-image {
            position: relative;
            overflow: hidden;
            height: 100%;
        }

        .image-container {
            width: 100%;
            height: 100%;
            position: relative;
        }

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


        .image-label {
            position: absolute;
            bottom: 40px;
            left: 40px;
            color: white;
            z-index: 2;
        }

        .image-label .number {
            font-size: 4rem;
            font-weight: 800;
            color: rgba(255, 255, 255, 0.2);
            line-height: 1;
            margin-bottom: 10px;
        }

        .image-label .text {
            font-size: 1.2rem;
            font-weight: 600;
            color: #fff;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        /* Правая колонка - Форма */
        .contact-form-container {
            background: linear-gradient(rgba(125, 15, 75, 0.8), rgba(0, 0, 1, 0.0));
            padding: 50px;
            height: 75%;
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .form-header {
            margin-bottom: 40px;
        }

        .form-title {
            font-size: 2.2rem;
            font-weight: 800;
            color: #fff;
            margin-bottom: 10px;
            position: relative;
            padding-left: 20px;
        }

        .form-title::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 4px;
            background: linear-gradient(to bottom, #BE0015, #FA001C);
        }

        .form-subtitle {
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.7);
            padding-left: 20px;
        }

        /* Форма */
        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 25px;
            flex: 1;
        }

        .form-group {
            position: relative;
        }

        .form-label {
            display: block;
            font-size: 0.9rem;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 5px;
            margin-top: 15px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .form-input {
            width: 100%;
            padding: 15px;
            margin: 5px 0 5px 0;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: white;
            font-size: 1rem;
            font-family: inherit;
            transition: all 0.3s ease;
        }

        .form-input:focus {
            outline: none;
            border-color: #FA001C;
            background: rgba(255, 255, 255, 0.08);
            box-shadow: 0 0 0 1px rgba(255, 51, 102, 0.2);
        }

        .form-input::placeholder {
            color: rgba(255, 255, 255, 0.3);
        }

        textarea.form-input {
            max-height: 120px;
            resize: vertical;
            font-family: inherit;
            line-height: 1.5;
        }

        /* Чекбокс */
        .checkbox-group {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin-top: 10px;
        }

        .checkbox-group input[type="checkbox"] {
            width: 20px;
            height: 20px;
            margin-top: 2px;
            flex-shrink: 0;
            accent-color: #ff3366;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.15);
            cursor: pointer;
        }

        .checkbox-group label {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.5;
            cursor: pointer;
            user-select: none;
            width: auto;
        }


        .checkbox-group a {
            color: #ff3366;
            text-decoration: none;
            border-bottom: 1px solid transparent;
            transition: border-color 0.3s ease;
        }

        .checkbox-group a:hover {
            border-bottom-color: #ff3366;
        }

        /* Кнопка отправки */
        .submit-button {
            width: 100%;
            margin-top: 10px;
            padding: 18px 40px;
            background: linear-gradient(182deg, #FA001C, #BE0015);
            color: white;
            border: none;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .submit-button:hover {
            background: #FA001C;
        }

        .submit-button:active {
            background: #b40015;
        }

        .submit-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            transition: left 0.8s ease;
        }

        .submit-button:hover::before {
            left: 100%;
        }

        /* Сообщения формы */
        .form-message {
            padding: 15px;
            margin-top: 20px;
            border-radius: 0;
            text-align: center;
            display: none;
            animation: fadeIn 0.3s ease;
        }

        .form-message.success {
            background: rgba(0, 255, 136, 0.1);
            border: 1px solid rgba(0, 255, 136, 0.3);
            color: #00ff88;
            display: block;
        }

        .form-message.error {
            background: rgba(255, 51, 102, 0.1);
            border: 1px solid rgba(255, 51, 102, 0.3);
            color: #ff3366;
            display: block;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        /* Декоративные элементы формы */
        .form-decoration {
            position: absolute;
            width: 80px;
            height: 80px;
            opacity: 0.05;
        }

        .form-decoration-1 {
            top: 20px;
            right: 20px;
            background: linear-gradient(135deg, transparent 50%, #ff3366 50%);
        }

        .form-decoration-2 {
            bottom: 20px;
            left: 20px;
            background: linear-gradient(135deg, #ff3366 50%, transparent 50%);
        }

        /* Анимация появления */
        .animate-in {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .animate-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Адаптивность */
        @media (max-width: 1200px) {
            .contact-grid {
                gap: 40px;
            }
            
            .contact-form-container {
                padding: 40px;
            }
        }

        @media (max-width: 992px) {
            .contact-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            
            .contact-image {
                min-height: 400px;
            }
            
            .contact-form-container {
                min-height: auto;
            }
        }

        @media (max-width: 768px) {
            .contact-section {
                padding: 0px 10px 60px 10px;
			}
            
            .contact-form-container {
                padding: 30px;
            }
            
            .form-title {
                font-size: 1.8rem;
                padding-left: 15px;
            }
            
            .form-subtitle {
                padding-left: 15px;
            }
            
            .image-label {
                bottom: 20px;
                left: 20px;
            }
            
            .image-label .number {
                font-size: 3rem;
            }
            
            .image-label .text {
                font-size: 1rem;
            }
        }

        @media (max-width: 480px) {

			 .contact-section {
                padding: 0px 5px 30px 5px;
				width:98%;
			}

            .contact-form-container {
                padding: 25px;
            }
            
            .form-title {
                font-size: 1.6rem;
            }
            
            .contact-form {
                gap: 20px;
            }
            
            .form-input {
                padding: 12px;
            }
            
 			.checkbox-group label {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.7);
            line-height: 1;
            cursor: pointer;
            user-select: none;
            width: auto;
        }

            .submit-button {
				width: 100%;
 		           margin-top: 10px;
            font-weight: 600;
            position: relative;
            overflow: hidden;
                padding: 15px 30px;
                font-size: 1rem;
            }
        }

        /* Валидация */
        .form-input.invalid {
            border-color: #ff3366;
            background: rgba(255, 51, 102, 0.05);
        }

        .error-message {
            color: #ff3366;
            font-size: 0.85rem;
            margin-top: 5px;
            display: none;
        }

        .form-input.invalid + .error-message {
            display: block;
        }








         /* Контакты */



        .contact-head {
           margin: auto;
            padding-top: 150px;
            padding-bottom: 50px;
            background-image: linear-gradient(rgba(1, 0, 47, 1.0), rgba(1, 0, 47, 0.0)), linear-gradient(rgba(0, 0, 9, 0.0), rgba(1, 0, 47, 1.0)), url('p2.jpg');
            min-height: 300px;
        }
        
     


        /* Форма в 4 шага */


        .service-head {
            margin: auto;
            padding-top: 150px;
            padding-bottom: 50px;
            background-image: linear-gradient(rgba(1, 0, 47, 1.0), rgba(1, 0, 47, 0.0)), linear-gradient(rgba(0, 0, 9, 0.0), rgba(0, 0, 9, 1.0)), url('p2.jpg');
            min-height: 300px;
        }


        .multi-step-form {
            padding: 100px 5%;
            max-width: 1600px;
            margin: 0 auto;
            background: #000009;
        }

        .form-header {
            margin-bottom: 40px;
        }

     
        /* Сетка формы */
        .form-container {
            display: grid;
            grid-template-columns: 2fr 3fr;
            gap: 30px;
            min-height: 400px;
        }

        /* Левая колонка - Прогресс */
        .form-progress {
            background-image: url('2150719256.jpg');
            background-repeat: no-repeat, no-repeat;
            background-size: cover;
            background-position: center;
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 20px;
            position: relative;
            object-fit: cover;
        }
      
        /* Правая колонка - Форма */
        .form-content {
            background: #01002F;
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 25px;
            position: relative;
        }

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

        .page-header {
            margin-bottom: 20px;
        }

        .page-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 10px;
            position: relative;
        }

    

        .page-description {
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.6;
        }

        /* Поля формы */
        .form-fields {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-bottom: 20px;
        }

        .form-group {
            position: relative;
        }

        .form-label {
            display: block;
            font-size: 0.9rem;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .form-select,
        .form-textarea {
            width: 100%;
            padding: 15px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: white;
            font-size: 1rem;
            font-family: inherit;
            transition: all 0.3s ease;
        }

       .form-select option {
            color: rgba(0, 0, 0, 0.8);
       }

        .form-select:focus,
        .form-textarea:focus {
            outline: none;
            border-color: #FA001C;
            background: rgba(255, 255, 255, 0.08);
            box-shadow: 0 0 0 1px rgba(255, 51, 102, 0.2);
        }


        .form-select {
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 15px center;
            background-size: 12px;
        }

        .form-textarea {
            max-height: 120px;
            resize: vertical;
            line-height: 1.5;
        }

        /* Радио-кнопки и чекбоксы */
        .radio-group {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin-top: 10px;
        }

        .radio-option,
        .checkbox-option {
            position: relative;
        }

        .radio-option input,
        .checkbox-option input {
            position: inherit;
            opacity: 1;
            cursor: pointer;
        }

        .radio-label,
        .checkbox-label {
            display: block;
            padding: 10px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: rgba(255, 255, 255, 0.7);
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
        }

        .radio-option input:checked + .radio-label,
        .checkbox-option input:checked + .checkbox-label {
            background: rgba(250, 0, 28, 0.1);
            border-color: #FA001C;
            color: #fff;
            transform: translateY(-2px);
        }

        .radio-label:hover,
        .checkbox-label:hover {
            background: rgba(255, 255, 255, 0.08);
        }

        /* Кнопки навигации */
        .form-navigation {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 20px;
            padding-top: 15px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .nav-button {
            padding: 15px 35px;
            background: transparent;
            border: 2px solid #7D0F4D;
            color: #7D0F4D;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .nav-button:hover {
            background: rgba(250, 0, 28, 0.1);
            transform: translateY(-2px);
        }

        .nav-button.next {
            background: linear-gradient(135deg, #FA001C, #BE0015);
            color: white;
            border: none;
        }

        .nav-button.next:hover {
            background: #FA001C;

        }

        .nav-button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none !important;
        }

        /* Шаг 4 - Подтверждение */
        .summary-step {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 30px;
            margin-bottom: 30px;
        }

        .summary-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid #FA001C;
        }

        .summary-item {
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .summary-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .item-label {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.6);
            margin-bottom: 5px;
        }

        .item-value {
            font-size: 1rem;
            color: #fff;
            font-weight: 500;
        }

        /* Декоративные элементы */
        .form-decoration {
            position: absolute;
            width: 60px;
            height: 60px;
            opacity: 0.05;
        }

        .form-decoration-1 {
            top: 20px;
            right: 20px;
            background: linear-gradient(135deg, transparent 50%, #7D0F4D 50%);
        }

        .form-decoration-2 {
            bottom: 20px;
            left: 20px;
            background: linear-gradient(135deg, #7D0F4D 50%, transparent 50%);
        }

        /* Адаптивность */
        @media (max-width: 1200px) {
            .form-container {
                gap: 40px;
            }
            
            .form-content,
            .form-progress {
                padding: 35px;
            }
        }

        @media (max-width: 992px) {
            .form-container {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            
            .radio-group,
            .checkbox-group {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .multi-step-form {
                padding: 60px 4%;
            }
            
            .section-title {
                font-size: 2.2rem;
            }
            
            .form-content,
            .form-progress {
                padding: 30px;
            }
            
            .progress-step {
                padding: 15px;
            }
            
            .nav-button {
                padding: 12px 25px;
                font-size: 0.9rem;
            }
        }

        @media (max-width: 480px) {
            .section-title {
                font-size: 1.8rem;
                padding-left: 15px;
            }
            
            .form-progress {
                display: none;
            }

            .form-content  {
                padding: 25px;
            }
            
            .page-title {
                font-size: 1.5rem;
            }
            
            .form-navigation {
                flex-direction: column;
                gap: 15px;
            }
            
            .nav-button {
                width: 100%;
            }
        }


        /* Страница Портфолио  */


        .container-portfolio {
            padding-top: 50px;
            max-width: 1400px;
            margin: 0 auto;
        }
        
  
        
        .portfolio-item {
            display: flex;
            align-items: center;
            margin-bottom: 80px;
            gap: 50px;
            opacity: 0.9;
            transition: opacity 0.3s ease;
        }
        
        .portfolio-item:hover {
            opacity: 1;
        }
        
        .portfolio-image {
            flex: 1;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 20, 0.5);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .portfolio-image:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 50, 150, 0.2);
        }
        
        .portfolio-image img {
            width: 100%;
            height: 320px;
            display: block;
            object-fit: cover;
            object-position: top;
            transition: transform 0.5s ease;
        }
        
        .portfolio-image img:hover {
            transform: scale(1.03);
        }
        
        .portfolio-content {
            flex: 1;
            padding: 0px 20px 0px 20px;
        }
        
        .portfolio-content h2 {
            font-size: 2rem;
            text-transform: uppercase;
            margin-bottom: 20px;
            color: #ffffff;
            position: relative;
            padding-bottom: 10px;
        }
        
        .portfolio-content h2:after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 60px;
            height: 3px;
            background: linear-gradient(90deg, #0066ff, #00ccff);
        }
        
        .portfolio-content p {
            color: #c0c0e0;
            font-size: 1.1rem;
            margin-bottom: 25px;
        }
        
        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 25px;
        }
        
        .tag {
            background-color: rgba(0, 80, 160, 0.2);
            color: #66aaff;
            padding: 5px 15px;
            
            font-size: 0.9rem;
            border: 1px solid rgba(0, 100, 255, 0.3);
        }
        
        
        /* Чередование расположения блоков */
        .portfolio-item:nth-child(even) {
            flex-direction: row-reverse;
        }
        
        /* Адаптивность для мобильных устройств */
        @media (max-width: 768px) {
            .portfolio-item {
                flex-direction: column !important;
                gap: 30px;
            }
          
        }
        
        /* Дополнительные стили для изображений-заглушек 
        .placeholder-img {
            width: 100%;
            height: 300px;
            background: linear-gradient(45deg, #001133, #003366);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #6699ff;
            font-weight: bold;
            font-size: 1.2rem;
        } */

        .cf7mls_next.action-button {
  border-radius: 0px;
  font-size: 1rem;
  text-transform: uppercase;
  width: 180px;
  height: 55px;
        }

        .cf7mls_back.action-button {
    border-radius: 0px;
    font-size: 1rem;
    text-transform: uppercase;
    width: 180px;
    height: 55px;
        }

.wpcf7-list-item {
  display: inline-block;
  margin: 15px 15px 15px 0px;
  background: rgba(113, 13, 70, 0.1);
  padding: 5px;
}

.wpcf7-not-valid-tip {
  color: #dc3232;
  font-size: 1em;
  font-weight: normal;
  display: contents;
}

form.cf7mls input.wpcf7-form-control.wpcf7-submit {
    border-radius: 0px;
}
@media (max-width: 768px) {
 .cf7mls_next.action-button {
  width: 48%;
  height: 50px;
        }

        .cf7mls_back.action-button {
    width: 48%;
    height: 50px;
        }

}


.container-policy {
  width: 640px;
  margin: 0 auto;
}

.container-policy h1{
  line-height: 1.2;
  padding-top: 120px;
}

.container-policy h2{
  line-height: 1.2;
  padding-top: 60px;
}

.container-policy p{
  padding-top: 30px;
  line-height: 1.5;
}

@media (max-width: 320px) {
    .container-policy {
    width: 300px;
}
}