/* Custom styles for Moskva Production */

/* Hero Section Styles */
.hero-subtitle {
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 600;
    color: #3BB4FF;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title {
    /* 10-20% larger than subtitle */
    font-size: clamp(28px, 3.6vw, 48px);
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 10px;
    line-height: 1.1;
    text-transform: uppercase;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.hero-subtext {
    font-size: clamp(16px, 2vw, 24px);
    color: #bcbcbc;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-description {
    font-size: clamp(14px, 1.5vw, 18px);
    color: #FFFFFF;
    line-height: 1.5;
    max-width: 600px;
    margin-bottom: 30px;
}

/* Stats Section (Restored) */
.scr-stats {
    /* background: #ffffff; */
    padding: 100px 0 0 0;
    color: #000;
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 80px;
}

.stats-item {
    width: 30%;
    margin-bottom: 50px;
    text-align: center;
    transition: transform 0.3s ease;
    padding: 20px;
    background: rgba(59, 180, 255, 0.08);
    border-radius: 25px;
    border: 1px solid transparent;
}

.stats-item:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 180, 255, 0.3);
    box-shadow: 0 20px 40px -20px rgba(9, 98, 215, 0.5);
}

.stats-number {
    font-size: 72px;
    font-weight: 900;
    color: #0962D7;
    margin-bottom: 15px;
    line-height: 1;
    background: linear-gradient(135deg, #0962D7 0%, #3BB4FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.stats-text {
    font-size: 20px;
    font-weight: 500;
    /* color: #333; */
    line-height: 1.4;
    max-width: 80%;
    margin: 0 auto;
}

.logos-marquee {
    background-color: #000510;
    padding: 50px 0;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.marquee-content {
    display: inline-block;
    animation: marquee 40s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.marquee-content span {
    display: inline-block;
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 50px;
    opacity: 0.6;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    cursor: default;
}

.marquee-content span:hover {
    opacity: 1;
    color: #3BB4FF;
    text-shadow: 0 0 15px rgba(59, 180, 255, 0.5);
    transform: scale(1.05);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Responsive Stats */
@media screen and (max-width: 992px) {
    .scr-stats {
        padding-top: 60px;
    }
    .stats-item {
        width: 45%;
        margin-bottom: 40px;
    }
    .stats-number {
        font-size: 56px;
    }
    .stats-text {
        font-size: 18px;
        max-width: 100%;
    }
}

@media screen and (max-width: 576px) {
    .stats-item {
        width: 100%;
        margin-bottom: 40px;
    }
    .stats-number {
        font-size: 48px;
    }
    .stats-text {
        font-size: 16px;
    }
    .logos-marquee {
        padding: 30px 0;
    }
    .marquee-content span {
        font-size: 20px;
        margin: 0 25px;
    }
}

/* Team Slider Styles */
.scr-about .swiper-slide.member {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.scr-about .member-photo {
    /* background-color: #0C1D38;  */
    position: relative;
    display: block;
}

.scr-about .member-photo img {
    width: 100%;
    /* height: 450px;  */
    object-fit: cover;
    mix-blend-mode: multiply;
    opacity: 0.85;
    /* filter: grayscale(100%); */
    transition: filter 0.3s ease, opacity 0.3s ease, mix-blend-mode 0.3s ease;
    display: block;
}
@media (max-width: 768px) {
    .scr-about .member-photo img {
        /* width: 75%; */
    }
}

/* Hover and touch devices support */
@media (hover: hover) {
    .scr-about .member-photo:hover img {
        mix-blend-mode: normal;
        opacity: 1;
        filter: grayscale(100%);
    }
}

/* Fallback for touch / focus */
.scr-about .member-photo:active img,
.scr-about .member-photo:focus-within img {
    mix-blend-mode: normal;
    opacity: 1;
    filter: grayscale(100%);
}

/* Button Global Font Size Increase */
.btn {
    font-size: 17px !important; /* increased from 15px */
    line-height: 24px !important;
    padding: 14px 24px !important; /* adjusted padding to maintain rhythm */
    font-weight: 600;
}

@media (max-width: 768px) {
    .btn {
        font-size: 16px !important; /* increased from 14px */
        line-height: 22px !important;
        padding: 12px 20px !important;
    }
}

.scr-about .member-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    text-align: left;
    pointer-events: none;
}

.scr-about .member-name {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.scr-about .member-spec {
    font-size: 12px;
    font-weight: 300;
    opacity: 0.8;
    text-transform: uppercase;
    color: #fff !important; /* Override any existing colors */
    margin-top: 0 !important; /* Override existing margins */
}

/* Price Section Button Override */
.scr-price__test__button .btn-primary {
    background: #00BFFF;
    border-color: #00BFFF;
    color: #fff;
}
.scr-price__test__button .btn-primary:hover,
.scr-price__test__button .btn-primary:focus {
    background: #009ACD;
    border-color: #009ACD;
}

/* Process Section Styles */
.scr-process {
    background-color: rgb(2,22,54); 
    color: #f0f0f0; /* Light text */
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Subtle video-themed background animation or element */
.scr-process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 180, 255, 0.05), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.process-wrapper {
    position: relative;
    z-index: 1;
}

.process-title {
    color: #fff;
    margin-bottom: 80px;
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.process-step.visible {
    animation: fadeInUp 0.8s ease-out forwards;
}

.process-step:nth-child(1) { animation-delay: 0.2s; }
.process-step:nth-child(2) { animation-delay: 0.4s; }
.process-step:nth-child(3) { animation-delay: 0.6s; }

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

.step-header {
    flex-shrink: 0;
    text-align: center;
    width: 100px;
    position: relative;
}

.step-number {
    display: block;
    font-size: 64px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #0962D7 0%, #3BB4FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.step-name {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
}

.step-header::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100px; /* Connects steps visually */
    background: linear-gradient(to bottom, rgba(59, 180, 255, 0.5), transparent);
    margin-top: 20px;
}

.process-step:last-child .step-header::after {
    display: none;
}

.step-content {
    flex-grow: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding-top: 15px;
}

.step-item h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 600;
}

.step-item p {
    font-size: 16px;
    color: #bbb;
    line-height: 1.6;
}

/* Hover effect for steps */
.process-step:hover .step-number {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

@media screen and (max-width: 992px) {
    .process-step {
        flex-direction: column;
        gap: 20px;
    }
    .step-header {
        width: 100%;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 15px;
    }
    .step-header::after {
        display: none;
    }
    .step-content {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Footer Updates */
.footer {
     background-color: rgb(2,22,54);
    padding: 80px 0 40px;
    border-top: 1px solid #1a1a1a;
}

.footer__content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer__col {
    flex: 1;
    min-width: 300px;
}

.footer__col--logo {
    flex: 0 0 auto;
    width: 200px;
}

.footer__col--menu {
    flex: 0 0 auto;
    width: 180px;
}

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

.footer__menu ul li {
    margin-bottom: 12px;
}

.footer__menu ul li a {
    color: #ccc;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.footer__menu ul li a:hover {
    color: #3BB4FF;
    padding-left: 5px;
}

.footer__col h4 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    opacity: 0.8;
}

.footer-sub {
    color: #666;
    font-size: 11px;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 1px;
    font-weight: 600;
}

.footer__col p, .footer__col a {
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s;
}

.footer__col a:hover {
    color: #3BB4FF;
}

.footer-phone {
    font-weight: 700;
    font-size: 16px;
    display: block;
    margin-top: 5px;
    color: #fff !important;
}

.footer-phone:hover {
    color: #3BB4FF !important;
}

.footer__bottom {
    width: 100%;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright-text, .policy-link {
    font-size: 12px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.policy-link {
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

.policy-link:hover {
    color: #3BB4FF;
}

.footer-animate {
    opacity: 0;
    transform: translateY(30px);
}

.footer-animate.visible {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Responsive Footer */
@media screen and (max-width: 992px) {
    .footer__content {
        gap: 30px;
    }
    .footer__col--logo, .footer__col--menu {
        width: 45%;
        flex: 0 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        margin-top: 40px;
    }
}

@media screen and (max-width: 576px) {
    .footer__col--logo, .footer__col--menu {
        width: 100%;
    }
    .footer__content {
        flex-direction: column;
    }
    .footer__col {
        width: 100%;
        max-width: none;
        margin-bottom: 20px;
    }
}


.title-section { margin: 20px 0 0; } /* мобилки */

@media (min-width: 1024px) {
  .title-section { margin: 80px 0 0; } /* ПК */
}