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

body {
background-color: #0a0a0a;
color: #ffffff;
-webkit-font-smoothing: antialiased;
font-size: 16px;
font-weight: 400;
font-family: Lato, Arial, sans-serif;
line-height: 1.6;
}
body {overflow-x: hidden;  max-width: 1980px; margin:0 auto;  padding: 0; box-shadow: 20px -15px 10px 5px rgba(0, 0, 0, .2);	border-left: 1px solid #ccc;}
p {margin: 0 0 1rem; text-align: justify;}
.main{
position: relative;
padding-top: clamp(110px, 10vw, 160px);
}
h1, h2, h3, h4, h5, h6 {clear: both; margin: 0 0 1rem;}
h2{color: #142333;}
/*h1-h6*/
h1, .h1 {font-size: clamp(24px, 6vw, 36px); margin: 0 0 60px;}
h2, .h2 {font-size: 24px;}
h3, .h3 {font-size: 22px;}
h4, .h4 {font-size: 20px;}
h5, .h5 {font-size: 18px;}
h6, .h6 {font-size: 14px;}

@media (min-width: 1360px) and (max-width: 1599px) {
h3, .h3 {font-size: 20px;}
h4, .h4 {font-size: 18px;}
h5, .h5 {font-size: 16px;}

}
@media (max-width: 1359px){
h2, .h2 {font-size: 22px;}
h3, .h3 {font-size: 18px;}
h4, .h4 {font-size: 16px;}
h5, .h5 {font-size: 15px;}
}
@media (max-width: 767px){
h2, .h2 {font-size: 20px;}
}
.project-header{max-width: clamp(320px, 50vw, 780px);}
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 1359px) {
  .container {
max-width: 70%;
  }
}
@media (max-width: 767px) {
  .container {
max-width: 80%;
  }
}

/* ��������� ������� ������ */
.hero {
position: relative;
height: 100vh; /* �������� 100% ������ ������ */
display: flex;
align-items: center;
justify-content: center;
text-align: center;
overflow: hidden;
}

/* ������� ����� */
.video-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}

.video-bg video {
width: 100%;
height: 100%;
object-fit: cover; /* ����� ��������� ���� ����� ��� ��������� */
}

.overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(10, 10, 10, 0.65); /* ������ ����� */
z-index: 2;
background-color: #233e57;
    mix-blend-mode: hard-light;
    pointer-events: none;
}

/* ������� ������ ����� */
.hero-content {
position: relative;
z-index: 3;
max-width: 1000px;
padding: 0 20px;
margin-top: clamp(110px, 10vw, 160px);
}

.brand {
font-size: 0.85rem;
letter-spacing: 5px;
text-transform: uppercase;
color: #a0a0a0;
margin-bottom: 25px;
font-weight: 300;
}

.hero-content h1 {
 font-size: clamp(42px, 7vw, 120px);
  line-height: 1.5;
margin-bottom: 30px;
letter-spacing: 3px;
}

.hero-content p {
font-size: 1.25rem;
color: #cccccc;
margin-bottom: 50px;
line-height: 1.6;
font-weight: 300;
}

/* ������ � �������������� ����� */
.btn {
display: inline-block;
padding: 16px 45px;
font-size: 0.9rem;
text-transform: uppercase;
text-decoration: none;
color: #ffffff;
background: transparent;
border: 1px solid rgba(255, 255, 255, 0.4);
transition: all 0.3s ease;
letter-spacing: 2px;
backdrop-filter: blur(5px);
margin-bottom: 60px;
    border-radius: 15px;
margin-top: 20px;
}

.btn:hover {
background: #ffffff;
color: #000000;
border-color: #ffffff;
}

/* ������������ ��� ��������� ��������� */
@media (max-width: 768px) {
    .hero-content p {
        font-size: 1.1rem;
    }
}
@media (max-width: 478px) {
.btn {padding: 16px 16px; letter-spacing: normal; width: 100%; text-align: center;}
}
/* ��������� ������ � ���������� */
.solutions {
    padding: 100px 20px;
    background-color:#1f3045;
}
.solutions a{
text-decoration: none;
}

/* ��������� ������ */
.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    border-left: 4px solid #ffffff;
    padding-left: 20px;
}

/* ��������� ����� ��� �������� */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 ������� */
    gap: 30px;
}

/* ������� ����� �������� */
.card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 40px;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* ������ ��������� - ����� ���������� ����, ��� ���� �������� */
.card:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* ���������� ������-������� */
.card-link {
    font-size: 0.9rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.card:hover .card-link {
    opacity: 1;
}

/* ������������ ��� ��������� */
@media (max-width: 768px) {
    .grid-layout {
        grid-template-columns: 1fr; /* � 1 ������� �� ���������� */
    }
    .section-title {
        font-size: 2rem;
    }
}
/* ������ ������ ������ */
.process {
    padding: 100px 20px;
    background-color: #050505;
    background-image: url(/assets/video-bg/MetalRoughness.png); /* ���� ������, ��� ���������� ����, ��� ����������� ���������� */
}

/* ������������ �������� */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 50px;
}

/* ������������ ����� */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15px; /* �������� ����� */
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
}

/* ��������� ��� */
.timeline-step {
    position: relative;
    margin-bottom: 60px;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

/* ����� ����� */
.step-number {
    position: absolute;
    left: -50px;
    top: 0;
    width: 32px;
    height: 32px;
    background-color: #050505;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    z-index: 2;
    transition: all 0.3s ease;
}

/* ��������� ������ ��� ��������� �� ��� */
.timeline-step:hover .step-number {
    background-color: #ffffff;
    color: #000000;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.step-content {
    padding-top: 5px;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
    text-transform: uppercase;
}

.step-content p {
    font-size: 1rem;
    color: #a0a0a0;
    line-height: 1.6;
}

/* ������������ ��� ��������� */
@media (max-width: 768px) {
    .timeline {
        padding-left: 40px;
    }
    .timeline::before {
        left: 10px;
    }
    .step-number {
        left: -40px;
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
}
/* ������ ��������� */
.portfolio {
    padding: 100px 20px;
    background-color: #1f3045;
}

/* ����� ��� ���������� */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px; /* ������� ����� ���� */
}

/* ��������� ��������� ���������� */
.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 15px;
    padding: 15px;
    border: solid 1px #adacac;
}

/* ��������� ������ ����������� */
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.5s ease;
}

/* ������ ��� ���������: ���������� ���� � ������� ����������� ���� */
.portfolio-item:hover img {
    transform: scale(1.05);
}

/* ������� � ���� (���������� ��� ���������) */
.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    color: #ffffff;
    letter-spacing: 1px;
    opacity: 0; /* ���������� ������ */
    transform: translateY(10px); /* ������ ������� ���� */
    transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1; /* ���������� ����� */
    transform: translateY(0); /* ��������� �� ����� */
}
/* ������ ��������� */
.contact {
    padding: 100px 20px;
    background-color: #050505;
background-image: url(/assets/video-bg/MetalRoughness.png);
}

.contact-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-subtitle {
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* ���������� ����� */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #ffffff;
}

/* ������ �������� */
.btn-submit {
    width: 100%;
    cursor: pointer;
    margin-top: 10px;
}

/* ������ ����� */
.footer {
    padding: 50px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #0a0a0a;
    color: #555555;
    font-size: 0.85rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    font-weight: 700;
    letter-spacing: 2px;
    color: #888888;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-info a {
    color: #888888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: #ffffff;
}

/* ������������ ������� */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
/* ����� ��� �������� ������� */
.project-view {
    background-color: #1d3247;
}

.back-link {
    color: #888;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.project-header h1 {font-size: clamp(24px, 3vw, 50px); line-height: 1.25;}

.project-tagline { color: #e1dfdf; font-size: 1.2rem; margin-bottom: 50px;}


@media (max-width: 599px) {
.project-tagline {font-size: 1rem;}
}
/* �����: ���� �����, ���� ������ */
.project-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
align-items: center;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.specs-table td {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: #a0a0a0;
}

.specs-table td:first-child {
    font-weight: 700;
    color: #ffffff;
    width: 40%;
}


.thumbs {display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin: 60px 0;}
.project-img {display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin: 60px 0;}
@media (max-width: 1359px) {
.project-img {grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));}
}
@media (max-width: 1023px) {
.project-details, .thumbs {gap: 30px;}
}
@media (max-width: 991px) {
.project-details {grid-template-columns: 1fr;}
}
@media (max-width: 767px) {
.thumbs {grid-template-columns: 1fr;gap: 20px; margin: 30px 0;}
}
.video-container { position: relative; padding-bottom: 56.25%; height: 0;}
.video-container iframe { position: absolute; top:0; left: 0; width: 100%; height: 100%;}
/* --- ����� ��� ������ ����� --- */
.video-wrapper {
    position: relative;
    cursor: pointer;
    overflow: hidden;
padding: 15px;
    border: solid 1px #adacac;
    border-radius: 15px;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 5px; /* ������������ ������������ */
    transition: all 0.3s ease;
    pointer-events: none; /* ���� �������� ������ ������ �� �������� */
}

.video-wrapper:hover .play-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%) scale(1.1);
}

/* ��������� ��� div � ������� ��������� */
.video-trigger {
    width: 100%;
    height: 320px; /* ����������� ����� ������! ����� �������� �� 300px ��� 50vh */
    background-size: cover; /* �������� �������� ���� ���� ��� ��������� */
    background-position: center; /* ���������� �������� */
    background-repeat: no-repeat; /* ����� �������� �� ������������� �������� */
    cursor: pointer;
border-radius: 15px;
    overflow: hidden;
}
@media (max-width: 767px) {
.video-trigger {height: 300px;}
}
@media (max-width: 599px) {
.video-trigger {height: 250px;}
}
@media (max-width: 479px) {
.video-trigger {height: 175px;}
}
/*���*/
.video-wr {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: -1;
    opacity: 1;
}
.video-wr:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}
.video-wr video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}
/*end*/
.main-img{
	border-radius: 15px;
    overflow: hidden;
}

/* ������ ���, ����� ���� �������, ��� �������� ����������� */
.popup-trigger {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.popup-trigger:hover {
    opacity: 0.8;
}
/* ==========================================
   ����� ����� ��� ���� ��������� ����
   ========================================== */
.modal {
    display: none; /* ������ �� ��������� */
    position: fixed;
    z-index: 9999; /* ������������ ������, ����� ���� ������ ���� ������ ����� */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* ������ ��� */
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

/* ==========================================
   1. ����� ��� �����-�������
   ========================================== */
#videoModal {
    opacity: 0; /* ��������� ��� �������� ��������� ����� ����� JS */
    transition: opacity 0.3s ease;
}

#videoModal .modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
}

#videoModal video,
#videoModal iframe {
    width: 100%;          /* ����������� ����� �� ��� ������ ���������� ���� */
    max-width: 1200px;    /* ������������ ������������ ������ ��� ������� */
    height: 85vh;
    outline: none;
    background: #000;
    border: none;
    box-shadow: 0 5px 30px rgba(0,0,0,0.5);
    border-radius: 10px;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #a0a0a0;
}

/* ==========================================
   2. ����� ��� ����-�������
   ========================================== */
#image-modal .modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #ccc;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
border-radius: 15px;
}
/* ������ �������������� � ����-������� */
.prev-btn, .next-btn {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 20px;
    margin-top: -30px;
    color: white;
    font-weight: bold;
    font-size: 40px;
    transition: 0.3s ease;
    user-select: none; /* ����� ����� ������� �� ��������� ��� ������� ����� */
    -webkit-user-select: none;
    z-index: 10;
}

/* �������� ������� �� ����� */
.prev-btn { left: 2%; }
.next-btn { right: 2%; }

/* ������ ��� ��������� */
.prev-btn:hover, .next-btn:hover {
    color: #a0a0a0;
}

/* ������������: �� ��������� ������ ������� ���� ������ */
@media (max-width: 768px) {
    .prev-btn, .next-btn {
        font-size: 30px;
        padding: 10px;
    }
}
/*header*/

/* �������� ������� ������ */
.nav-right-content .header-phone {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}
/* header */



.header-area .nav-right-content {
  text-align: right;
border-radius: 1vw;
background-color: #1d2c3b;
    padding: 10px 20px;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .header-area .nav-right-content {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .header-area .nav-right-content {
    display: none;
  }
}

/* navbar */
nav {
  text-align: center;
}

nav .main-menu li {
  display: inline-block;
  position: relative;
  margin-right: 0;
  margin: 0 12px;
  line-height: 1.7;
  z-index: 1;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  nav .main-menu li {
    margin: 0;
  }
}

@media (max-width: 767.98px) {
  nav .main-menu li {
    margin: 0;
  }
}

nav .main-menu li.has-submenu::after {
  content: '\2b';
  font-family: 'FontAwesome';
  font-weight: 900;
  color: #ffffff;
  margin-left: 2px;
  -webkit-transition: all 0.3s ease-in;
  -o-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  nav .main-menu li.has-submenu::after {
    display: none;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  nav .main-menu li.has-submenu::after {
    display: none;
  }
}

@media (max-width: 575.98px) {
  nav .main-menu li.has-submenu::after {
    display: none;
  }
}

@media (min-width: 992px) {
  nav .main-menu li .submenu {
    position: absolute;
    width: 230px;
    top: 120%;
    left: 0;
    background: #141414;
    border: 1px solid #4f4f4f;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
    text-align: left;
  }
  nav .main-menu li .submenu li {
    display: block;
    margin-right: initial;
  }
  nav .main-menu li .submenu li a {
    color: #ffffff;
    display: block;
    padding: 7px;
    width: 100%;
  }
  nav .main-menu li .submenu li a:hover {
    color: #8ed1fc;
  }
  nav .main-menu li:hover.has-submenu::after {
    color: #8ed1fc;
  }
  nav .main-menu li:hover a {
    color: #8ed1fc;
  }
}

@media (min-width: 992px) and (min-width: 768px) and (max-width: 991.98px) {
  nav .main-menu li:hover a {
    color: #ffffff;
  }
}

@media (min-width: 992px) {
  nav .main-menu li:hover .submenu {
    top: 115%;
    opacity: 1;
    visibility: visible;
  }
}
@media (max-width: 1199px) {
nav .main-menu li {margin-left: 0;}
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .mean-container .mean-nav {
    margin-top: 78px;
  }
}

@media (max-width: 767.98px) {
  .mean-container .mean-nav {
    margin-top: 78px;
  }
}

.mean-container .mean-bar {
  z-index: 1;
}

.mean-container .mean-bar a.meanmenu-reveal {
  background: #8ed1fc;
  top: 8px;
  right: 20px !important;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .mean-container .mean-bar a.meanmenu-reveal {
    top: 14px;
  }
}

@media (max-width: 767.98px) {
  .mean-container .mean-bar a.meanmenu-reveal {
    top: 14px;
  }
}

.cursor-web-canvas {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

@media (hover: none), (pointer: coarse) {
  .cursor-web-canvas {
    display: none;
  }
}

/* =========================================================
   PATCH: выравнивание общей верстки solo-pks.ru
   Добавлено после старых правил, чтобы аккуратно переопределить конфликты.
   ========================================================= */

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  max-width: none;
  min-width: 320px;
  margin: 0;
  padding: 0;
  border-left: 0;
  box-shadow: none;
  background: #0a0a0a;
}

body,
button,
input,
textarea {
  font-family: Lato, Arial, sans-serif;
}

p {
  text-align: left;
}

a {
  color: inherit;
}

main {
  position: relative;
}

body.home-page main {
  padding-top: 0;
}

body:not(.home-page) main {
  padding-top: clamp(105px, 14vw, 180px);
}


/* Header */
.logo-area {
align-items: center;
display: flex;
}
.logo-area img {
  width: clamp(90px, 7vw, 140px);
  max-width: 100%;
  height: auto;
background-color: #1d2c3b;
    padding: 7px;
margin-top:15px;
}

.main-header {
 position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}

.header-area {
  display: grid;
  grid-template-columns: minmax(118px, 160px) minmax(0, 1fr) auto;
  gap: clamp(16px, 2vw, 30px);
  align-items: center;
  margin:0 1.8vw;
}

.nav-menu-wrapper {
  min-width: 0;
}

nav .main-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}

nav .main-menu li {
  display: block;
  margin: 0;
  line-height: 1.2;
    border-radius: 1vw;
background-color: #1d2c3b;
}

nav .main-menu li a {
  display: block;
    padding: 10px 20px;
  color: #ffffff;
  text-decoration: none;
  text-transform: none;
  font-size: clamp(14px, .8vw, 16px);
  line-height: 1.2;
transition: all .3s ease-out;
    border-radius: 1vw;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

nav .main-menu li a.active,
nav .main-menu li a:hover {
color: #1d2c3b;
background-color: #e0e0e0;
}

.nav-right-content .header-phone:hover {
  color: #8ed1fc;
}

.nav-right-content .header-phone {
  white-space: nowrap;
}

.mobile-menu {
  display: none;
}

@media (max-width: 991.98px) {
  .main-header {
    padding-top: 14px;
  }

  .nav-menu-wrapper,
  .header-area .nav-right-content {
    display: none;
  }

  .mobile-menu {
    display: block;
    position: relative;
    z-index: 1001;
  }

  .mean-container .mean-bar {
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    min-height: 0;
    padding: 0;
    background: transparent;
    z-index: 1002;
  }

  .mean-container .mean-bar a.meanmenu-reveal {
    top: 6px;
    right: 0 !important;
    background: rgba(142, 209, 252, 0.95);
    border-radius: 10px;
  }

  .mean-container .mean-nav {
    margin-top: 58px;
    background: rgba(10, 10, 10, 0.96);
    border-radius: 14px;
    overflow: hidden;
  }
}

/* Первый экран */
.hero {
  min-height: 100svh;
  height: auto;
  padding: clamp(118px, 14vh, 170px) 0 clamp(64px, 8vh, 110px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.video-bg,
.overlay {
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: none;
  margin-top: 0;
  padding: 0;
}

.hero-content .container {
  max-width: 1100px;
}

.hero-content h1 {
  max-width: 1050px;
  margin: 0 auto clamp(24px, 3vw, 36px);
  font-size: clamp(38px, 7vw, 108px);
  line-height: 0.98;
  letter-spacing: clamp(0.5px, 0.25vw, 3px);
  text-wrap: balance;
}

.hero-content p {
  max-width: 780px;
  margin: 0 auto clamp(32px, 4vw, 50px);
  color: #d0d4d8;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.55;
  text-align: center;
}

.btn {
  margin-bottom: 0;
  text-decoration: none;
}

@media (max-width: 767.98px) {
  .hero {
    min-height: 100svh;
    padding-top: 108px;
    padding-bottom: 56px;
  }

  .hero-content h1 {
    font-size: clamp(36px, 12vw, 58px);
    line-height: 1;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

/* Секции */
.solutions,
.process,
.portfolio,
.contact {
  padding: clamp(70px, 8vw, 120px) 0;
}

.section-title {
  margin-bottom: clamp(34px, 5vw, 60px);
  font-size: clamp(21px, 2vw, 40px);
  line-height: 1.08;
  text-wrap: balance;
}

.grid-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 30px);
}

.card {
  min-height: 100%;
  padding: clamp(26px, 3vw, 40px);
}

.card a {
  color: inherit;
  text-decoration: none;
}

.card h3 {
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.15;
}

.card p {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .grid-layout {
    grid-template-columns: 1fr;
  }
}

/* Портфолио */
.portfolio-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(22px, 4vw, 60px);
}

.portfolio-item {
  display: block;
  color: inherit;
  text-decoration: none;
}

.portfolio-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
}

/* Контакты */
.contact-box .section-title {
  display: inline-block;
  text-align: left;
}

.contact-subtitle {
  text-align: center;
}

.form-group input,
.form-group textarea {
  font-family: Lato, Arial, sans-serif;
}

/* Подвал и модалки */
.footer {
  padding: clamp(38px, 5vw, 56px) 0;
}

.modal {
  z-index: 10000;
}

.cursor-web-canvas {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

@media (hover: none), (pointer: coarse), (max-width: 1199px) {
  .cursor-web-canvas {
    display: none;
  }
}
.project-main {
  position: relative;
  z-index: 1;
}

.project-footer {
  padding: 20px 0 90px;
  text-align: center;
}

.project-description p {
  text-align: left;
}

.project-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
/*для страниц из раздела производство*/
.solution-view {
    background: #142333;
    color: #f5f5f5;
}

.back-link {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 14px;
}

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

.solution-hero {
    padding: 80px 0 90px;
}

.solution-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.6fr);
    gap: 56px;
    align-items: center;
}

.section-label {
    margin-bottom: 18px;
    color: #c7a46a;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.solution-hero h1 {
    max-width: 780px;
    margin: 0 0 28px;
    font-size: clamp(42px, 6vw, 78px);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.solution-lead {
    max-width: 660px;
    margin: 0 0 36px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 22px;
    line-height: 1.45;
}

.solution-hero-card {
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    background: rgba(29, 44, 59, 0.9);
}

.hero-card-title {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
}

.solution-hero-card ul,
.request-block ul {
    margin: 0;
    padding-left: 20px;
}

.solution-hero-card li,
.request-block li {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.5;
}

.solution-section {
    padding: 80px 0;
    background: #fff;
    color: #151515;
}

.solution-section-dark {
    background: #142333;
    color: #fff;
}
.solution-section-dark H2, .dark {
    color: #fff;
}

.solution-accent {
    background: #f3efe7;
    color: #151515;
}

.solution-text-block {
    max-width: 820px;
}

.solution-text-block h2,
.section-heading h2,
.solution-two-columns h2,
.project-preview h2,
.request-block h2,
.solution-cta h2 {
    margin: 0 0 24px;
    font-size: clamp(21px, 3.2vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.solution-text-block p,
.project-preview p,
.solution-cta p {
    color: rgba(21, 21, 21, 0.82);
    line-height: 1.7;
}

.solution-section-dark .project-preview p,
.solution-section-dark p,
.solution-section-dark li {
    color: rgba(255, 255, 255, 0.72);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 42px;
}

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

.solution-card {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
}

.solution-card h3,
.solution-feature h3,
.process-item h3 {
    margin: 0 0 14px;
    font-size: 22px;
}

.solution-card p,
.solution-feature p,
.process-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.6;
}

.solution-two-columns {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
align-items: center;
}

.solution-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.solution-list-grid ul {
    margin: 0;
    padding-left: 20px;
}

.solution-list-grid li {
    margin-bottom: 12px;
    color: rgba(21, 21, 21, 0.72);
    line-height: 1.5;
}

.solution-feature-list {
    display: grid;
    gap: 24px;
}

.solution-feature {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(21, 21, 21, 0.14);
}

.solution-feature p {
    color: rgba(21, 21, 21, 0.7);
}

.project-preview {
    padding: 42px;
    border-radius: 28px;
    background: #f4f4f4;
}

.project-preview-content {
    max-width: 760px;
}

.project-desk {
margin:60px 0;
    padding: 42px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.06);
}

.text-link {
    display: inline-flex;
    margin-top: 12px;
    color: #151515;
    font-weight: 600;
    text-decoration: none;
}

.text-link:hover {
    opacity: 0.7;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.process-item {
    padding: 28px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
}

.process-item span {
    display: block;
    margin-bottom: 28px;
    color: #c7a46a;
    font-size: 14px;
}

.request-block {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    padding: 44px;
    border-radius: 28px;
background: #142333;
    color: #fff;
}

.solution-cta {
    padding: 90px 0;
background: #142333;
    color: #fff;
background-image: url('/assets/video-bg/stripes.png');
background-repeat: repeat;

}

.solution-cta-inner {
    max-width: 760px;
}

.solution-cta p {
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
    .solution-hero-grid,
    .solution-two-columns,
    .request-block {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .solution-cards,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .solution-list-grid {
        grid-template-columns: 1fr;
    }

    .solution-hero {
        padding: 56px 0 70px;
    }

    .solution-section {
        padding: 60px 0;
    }
}
.solution-video-section {
    position: relative;
    overflow: hidden;
    background: #0f1115;
    color: #fff;
}

.solution-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.dark-bg-video {
    filter:brightness(0.55) contrast(1.08);
    transform: scale(1.04);
opacity: .2;
}

.solution-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.solution-video-content {
    position: relative;
    z-index: 2;
}

.solution-video-section .section-label {
    color: #c7a46a;
}

.solution-video-section h2,
.solution-video-section h3 {
    color: #fff;
}

.solution-video-section .solution-feature {
    border-bottom-color: rgba(255, 255, 255, 0.22);
}

.solution-video-section .solution-feature p {
    color: rgba(255, 255, 255, 0.78);
}
@media (max-width: 768px) {
    .solution-bg-video {
        display: none;
    }

    .solution-video-overlay {
        display: none;
    }
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.scroll-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 1000;

    width: 52px;
    height: 52px;
    border: 1px solid rgba(199, 164, 106, 0.45);
    border-radius: 50%;

    background: rgba(15, 17, 21, 0.82);
    color: #c7a46a;

    font-size: 28px;
    line-height: 1;
    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);

    backdrop-filter: blur(10px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: #c7a46a;
    color: #0f1115;
    border-color: #c7a46a;
}

.scroll-top:active {
    transform: translateY(2px);
}

@media (max-width: 768px) {
    .scroll-top {
        right: 18px;
        bottom: 18px;
        width: 46px;
        height: 46px;
        font-size: 24px;
    }
}
.kontact-section, .proekty-section {padding: 80px 0;}
.kontact-section iframe{border-radius: 28px; border: 1px solid rgba(255, 255, 255, 0.22); padding: 16px;}
.pt80{padding-top: 80px;}

.production-page .solution-section:not(.solution-section-dark) .solution-card {
    border-color: rgba(21, 21, 21, 0.12);
    background: #f4f4f4;
}

.production-page .solution-section:not(.solution-section-dark) .solution-card h3 {
    color: #151515;
}

.production-page .solution-section:not(.solution-section-dark) .solution-card p {
    color: rgba(21, 21, 21, 0.72);
}

.production-page .production-cards-offset {
    margin-top: 22px;
}

.production-page .production-solution-card .text-link {
    margin-top: 18px;
}

.production-page .solution-section-dark .project-preview {
    background: rgba(255, 255, 255, 0.04);
}

.production-page .solution-section-dark .project-preview h2 {
    color: #fff;
}

.production-page .solution-section-dark .project-preview p {
    color: rgba(255, 255, 255, 0.72);
}

.production-page .solution-section-dark .project-preview .text-link {
    color: #fff;
}

/* =========================================================
   PATCH: mobile menu / MeanMenu
   ========================================================= */

@media (max-width: 991.98px) {
    .main-header {
        z-index: 20000;
    }

    .mobile-menu {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 20001;
        pointer-events: none;
    }

    .mean-container .mean-bar {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        min-height: 0;
        padding: 0;
        background: transparent;
        z-index: 20002;
        pointer-events: none;
    }

    .mean-container a.meanmenu-reveal {
        top: 14px !important;
        right: 14px !important;
        z-index: 20004;

        width: 46px;
        height: 46px;
        padding: 0 !important;

        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;

        border-radius: 50%;
        background: rgba(29, 44, 59, 0.96) !important;
        border: 1px solid rgba(255, 255, 255, 0.16);

        color: #fff !important;
        text-indent: 0;
        font-size: 0;
        line-height: 1;

        box-sizing: border-box;
        pointer-events: auto;
    }

    .mean-container a.meanmenu-reveal span {
        display: block;
        width: 18px;
        height: 2px;
        margin: 0;
        border-radius: 2px;
        background: #fff !important;
    }

    .mean-container .mean-nav {
        position: absolute;
        top: 76px;
        left: 14px;
        right: 14px;

        width: auto;
        margin-top: 0;

        background: rgba(20, 35, 51, 0.98);
        border-radius: 18px;
        overflow: hidden;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);

        pointer-events: auto;
    }

    .mean-container .mean-nav ul {
        margin: 0;
        padding: 0;
    }

    .mean-container .mean-nav ul li {
        float: none;
        width: 100%;
    }

    .mean-container .mean-nav ul li a {
        float: none;
        width: 100%;
        padding: 18px 22px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.88);
        text-transform: none;
        letter-spacing: 0.04em;

        box-sizing: border-box;
    }

    .mean-container .mean-nav ul li a:hover,
    .mean-container .mean-nav ul li a.active {
        color: #142333;
        background: #e0e0e0;
    }
/* =========================================================
   FIX: восстановление мобильного меню MeanMenu
   Вставить в самый конец style.css
   ========================================================= */

@media (max-width: 991.98px) {

    /* Шапка поверх всего */
    .main-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 20000;
        width: 100%;
        padding: 0;
background-color: #1d2c3b;
    }

    .header-area {
        grid-template-columns: 140px 1fr;
        margin:10px;
    }

    .logo-area {
        position: relative;
        z-index: 20003;
background-color: transparent;
    }

    .logo-area img {
        padding: 7px;
    }

    /* Контейнер, куда MeanMenu вставляет мобильное меню */
    .mobile-menu {
        display: block !important;
        position: absolute;
        top: 0;
        left: 14px;
        right: 14px;
        z-index: 20001;
    }

    /* Полоса MeanMenu */
    .mean-container .mean-bar {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;

        width: 100% !important;
        min-height: 0 !important;
        padding: 0 !important;

        background: transparent !important;
        z-index: 20002 !important;
    }

    /* Кнопка-бургер */
    .mean-container a.meanmenu-reveal {
        position: absolute !important;
display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;

        width: 46px !important;
        height: 46px !important;
        padding: 0 !important;

        border-radius: 50% !important;
        border: 1px solid rgba(255, 255, 255, 0.16) !important;
        background: rgba(29, 44, 59, 0.96) !important;

        color: #fff !important;
        text-indent: 0 !important;
        font-size: 0 !important;
        line-height: 1 !important;
        text-decoration: none !important;

        box-sizing: border-box !important;
        cursor: pointer;
    }

    .mean-container a.meanmenu-reveal span {
        display: block !important;
        width: 18px !important;
        height: 2px !important;
        margin: 0 !important;
        border-radius: 2px;
        background: #fff !important;
    }

    /* Выпадающее мобильное меню */
    .mean-container .mean-nav {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 !important;
        padding: 0 !important;

        background: rgba(20, 35, 51, 0.98) !important;
        border-radius: 18px;
        overflow: hidden;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
    }

    .mean-container .mean-nav ul {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .mean-container .mean-nav ul li {
        display: block !important;
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
    }

    .mean-container .mean-nav ul li a {
        float: none !important;
        width: 100% !important;

        padding: 18px 22px !important;
        margin: 0 !important;

        border-radius: 0 !important;

        background: transparent !important;
        color: rgba(255, 255, 255, 0.9) !important;
        letter-spacing: 0.04em !important;
        box-sizing: border-box !important;
    }

    .mean-container .mean-nav ul li a:hover,
    .mean-container .mean-nav ul li a.active {
        background: #e0e0e0 !important;
        color: #142333 !important;
    }
}
@media (max-width: 991.98px) {
    .mean-container .mean-nav ul {
        display: none;
    }

    .mean-container .mean-nav ul[style] {
        display: inherit;
    }
}
/* =========================================================
   About page
   ========================================================= */

.about-page .solution-section:not(.solution-section-dark) .solution-card {
    border-color: rgba(21, 21, 21, 0.12);
    background: #f4f4f4;
}

.about-page .solution-section:not(.solution-section-dark) .solution-card h3 {
    color: #151515;
}

.about-page .solution-section:not(.solution-section-dark) .solution-card p {
    color: rgba(21, 21, 21, 0.72);
}

.about-page .about-preview {
    background: #f4f4f4;
}

.about-page .about-preview h2 {
    color: #151515;
}

.about-page .about-preview p {
    color: rgba(21, 21, 21, 0.78);
}