:root {
    --bg-black: #000000;
    --accent-blue: #007BFF;
    --accent-space: #2D1B4E;
    --text-dim: #a1a1a1;
    --text-light: #666;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-black);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ========== NAVBAR ========== */
.navbar {
    height: 80px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    transition: transform 0.4s ease-in-out;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.logo {
    font-size: 24px;
    color: #fff;
    text-decoration: none;
}

.logo-bold {
    font-weight: 700;
}

.menu a {
    color: #fff;
    text-decoration: none;
    margin: 0 20px;
    opacity: 0.7;
    font-size: 15px;
    transition: opacity 0.3s;
}

.menu a:hover {
    opacity: 1;
}

.btn-contact {
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    padding: 10px 24px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-contact:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ========== HERO SECTION ========== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
    transition: background 0.05s linear;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
}

.hero-title {
    font-size: 80px;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
}

.hero-title span {
    color: var(--accent-blue);
}

.hero-subtitle {
    color: var(--text-dim);
    font-size: 20px;
    margin: 24px 0 40px;
    max-width: 600px;
}

.btn-primary {
    background: var(--accent-blue);
    color: #fff;
    border: none;
    padding: 18px 36px;
    border-radius: 100px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 18px 36px;
    border-radius: 100px;
    margin-left: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ========== LOGOS TICKER ========== */
.logos-ticker {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    z-index: 5;
    overflow: hidden;
    padding: 20px 0;
}

.ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scrollLogos 50s linear infinite;
}

.ticker-track img {
    height: 50px;
    width: auto;
    margin: 0 50px;
    object-fit: contain;
    opacity: 0.3;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.1));
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.ticker-track img:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
}

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

/* ========== STACK SECTION (WHAT WE DO) ========== */
.stack-section {
    position: relative;
    height: 500vh;
    background: linear-gradient(135deg, #000000 0%, #051937 50%, #007BFF 100%);
    z-index: 10;
}

.sticky-parent {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
}

.stack-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    background: #fff;
    border-radius: 40px;
    padding: 70px 80px;
    width: 92%;
    max-width: 1600px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.stack-info {
    flex: 0 0 38%;
}

.stack-title {
    font-size: 84px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #000 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stack-description {
    font-size: 20px;
    color: #555;
    max-width: 400px;
    line-height: 1.5;
}

.stack-cards {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 40px;
    overflow: hidden;
    transition: border-radius 0.5s ease, transform 0.5s ease;
    will-change: height, border-radius;
}

.card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 400px; /* Установи желаемую высоту, чтобы блоки были большими */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Убедись, что padding не сжимает контент */
    padding: 60px; 
    box-sizing: border-box;
}

.card-1 {
    z-index: 1;
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    transform: translate3d(0, 0, 0) !important;
    opacity: 1 !important;
}

.card-2 {
    z-index: 2;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f7 100%);
    transform: translate3d(0, 0, 0) !important;
    opacity: 1 !important;
}

.card-3 {
    z-index: 3;
    background: linear-gradient(135deg, #ffffff 0%, #fff9e6 100%);
}

.card-4 {
    z-index: 4;
    background: linear-gradient(135deg, #ffffff 0%, #e0f0ff 100%);
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    padding-right: 30px;
}

.card-content h3 {
    font-size: 48px;
    font-weight: 800;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.2;
}

.card-content p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 18px;
    margin-top: auto;
    transition: gap 0.3s ease;
}

.card-link:hover {
    gap: 16px;
}

.card-link i {
    transition: transform 0.3s ease;
}

.card-link:hover i {
    transform: translateX(4px);
}

.card img {
    max-width: 45%;
    object-fit: contain;
    align-self: flex-end;
    border-radius: 20px;
}

/* ========== INDUSTRIES SECTION ========== */
.industries-section {
    padding: 100px 0;
    background: #fff;
    text-align: center;
}

.industries-title {
    font-size: 64px;
    font-weight: 800;
    color: #000;
    margin-bottom: 80px;
}

.industries-title span {
    color: var(--accent-blue);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.industry-card {
    position: relative;
    height: 220px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.industry-card:hover {
    border-color: #ddd;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.card-main {
    text-align: center;
    transition: all 0.4s ease;
}

.industry-card:hover .card-main {
    opacity: 0;
    transform: scale(0.8);
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 15px;
    background: radial-gradient(circle at 30% 30%, #2D1B4E 0%, #0F0F1E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.icon-circle::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-image: radial-gradient(circle, #fff 1px, transparent 1px);
    background-size: 15px 15px;
    opacity: 0.3;
    pointer-events: none;
}

.industry-card h4 {
    font-size: 18px;
    color: #000;
    font-weight: 700;
}

.info-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    background: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    color: var(--text-light);
    font-weight: 500;
    font-size: 14px;
}

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

/* ========== WHY CHOOSE SECTION ========== */
.why-choose-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 120px 0;
    overflow: hidden;
}

.why-choose-wrapper {
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-choose-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

.why-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #000 0%, #007BFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.why-title span {
    display: block;
    font-size: 72px;
    margin-top: 10px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.why-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 30px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15);
    border-color: rgba(0, 123, 255, 0.3);
}

.why-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.why-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

.btn-book-call {
    background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
    color: #fff;
    border: none;
    padding: 18px 48px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.btn-book-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.4);
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #000000 0%, #051937 50%, #007BFF 100%);
    position: relative;
    overflow: hidden;
}

.contact-wrapper {
    display: flex;
    gap: 80px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 48px;
    padding: 60px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.contact-left {
    flex: 1;
}

.contact-title {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 48px;
    background: linear-gradient(135deg, #fff 30%, #007BFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-form {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    flex: 1;
    position: relative;
}

.form-group.full-width {
    margin-bottom: 32px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    outline: none;
    color: #fff;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-bottom-color: #007BFF;
    border-bottom-width: 2px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
}

.contact-form textarea {
    height: 100px;
    resize: none;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.btn-send {
    background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
    color: #fff;
    border: none;
    padding: 16px 40px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-send:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.4);
}

.btn-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.contact-right {
    flex: 0.8;
    padding-left: 40px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.call-title {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.2;
}

.call-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.btn-book {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    padding: 16px 40px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-book:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

/* ========== FOOTER ========== */
.main-footer {
    background: #fff;
    padding: 80px 0 40px;
    border-top: 1px solid #f0f0f0;
    color: #000;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr) 1.5fr;
    gap: 40px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent-blue);
}

.footer-col ul.no-links li {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 12px;
    cursor: default;
}

.footer-tagline {
    color: var(--text-light);
    font-size: 14px;
    margin: 20px 0;
    line-height: 1.5;
}

.location-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 25px;
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-links a {
    color: #000;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent-blue);
}

.clutch-link {
    font-weight: 800;
    font-size: 16px !important;
}

.contact-link {
    display: block;
    text-decoration: none;
    color: #000;
    font-weight: 600;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--accent-blue);
}

.security-badges {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    font-size: 11px;
    font-weight: 700;
    opacity: 0.5;
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #999;
}

.bottom-links {
    display: flex;
    gap: 25px;
}

.policy-text {
    cursor: default;
}

.bottom-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.bottom-links a:hover {
    color: #000;
}

.copyright {
    font-weight: 500;
}

/* ========== ADAPTIVE (АДАПТИВНОСТЬ) ========== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 60px;
    }
    
    .stack-title {
        font-size: 64px;
    }
    
    .industries-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .stack-container {
        padding: 50px 60px;
        gap: 50px;
    }
    
    .card-content h3 {
        font-size: 38px;
    }
    
    .card {
        height: 520px;
        padding: 40px;
    }
    
    .stack-cards {
        height: 520px;
    }
}

@media (max-width: 1024px) {
    .contact-wrapper {
        flex-direction: column;
        gap: 50px;
        padding: 40px;
    }
    
    .contact-right {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 40px;
    }
    
    .call-title {
        font-size: 36px;
    }
    
    .btn-book {
        align-self: stretch;
        text-align: center;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 20px;
    }
    
    .stack-section {
        height: 500vh;
    }
    
    .stack-container {
        flex-direction: column;
        padding: 40px;
        width: 90%;
        gap: 40px;
    }
    
    .stack-info {
        flex: auto;
        text-align: center;
    }
    
    .stack-description {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .stack-cards {
        flex: auto;
        width: 100%;
        height: 500px;
    }
    
    .card {
        height: 500px;
        padding: 35px;
    }
    
    .card-content h3 {
        font-size: 34px;
    }
    
    .card-content p {
        font-size: 16px;
    }
    
    .card img {
        max-width: 40%;
    }
    
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .contact-title {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .navbar .menu {
        display: none;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .stack-container {
        padding: 30px;
        width: 88%;
    }
    
    .stack-title {
        font-size: 48px;
    }
    
    .stack-description {
        font-size: 16px;
    }
    
    .stack-cards {
        height: 450px;
    }
    
    .card {
        height: 450px;
        padding: 25px;
        flex-direction: column;
    }
    
    .card-content {
        padding-right: 0;
        margin-bottom: 20px;
    }
    
    .card-content h3 {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .card-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .card img {
        max-width: 50%;
        align-self: center;
    }
    
    .card-link {
        font-size: 16px;
    }
    
    .industries-title {
        font-size: 40px;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .contact-section {
        padding: 80px 0;
    }
    
    .contact-wrapper {
        padding: 30px;
    }
    
    .contact-title {
        font-size: 36px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .form-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .g-recaptcha {
        transform: scale(0.8);
        transform-origin: 0 0;
        margin-bottom: 10px;
    }
    
    .btn-send {
        width: 100%;
        text-align: center;
    }
    
    .call-title {
        font-size: 32px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .bottom-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .stack-container {
        padding: 20px;
        width: 92%;
    }
    
    .stack-title {
        font-size: 36px;
    }
    
    .stack-cards {
        height: 420px;
    }
    
    .card {
        height: 420px;
        padding: 20px;
    }
    
    .card-content h3 {
        font-size: 24px;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-title {
        font-size: 32px;
    }
    
    .call-title {
        font-size: 28px;
    }
    
    .call-description {
        font-size: 14px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .location-badge {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .security-badges {
        justify-content: center;
    }
}

/* ========== UTILITIES ========== */
@media (max-width: 600px) {
    .g-recaptcha {
        transform: scale(0.8);
        transform-origin: 0 0;
    }
}

/* ========== WHY CHOOSE SECTION ADAPTIVE ========== */
@media (max-width: 992px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .why-title {
        font-size: 48px;
    }
    
    .why-title span {
        font-size: 52px;
    }
}

@media (max-width: 768px) {
    .why-choose-section {
        padding: 80px 0;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .why-title {
        font-size: 36px;
    }
    
    .why-title span {
        font-size: 40px;
    }
    
    .why-card {
        padding: 30px 20px;
    }
    
    .btn-book-call {
        padding: 14px 36px;
        font-size: 16px;
    }
}
.navbar {
    /* ... ваши существующие стили ... */
    transition: transform 0.4s ease-in-out, background 0.3s ease; /* Добавляем плавность */
}

.navbar-hidden {
    transform: translateY(-100%); /* Уводит наверх за пределы экрана */
    /* Опционально можно убрать opacity, если хотите только движение */
    opacity: 0; 
}
/* Основное состояние навбара */
.navbar {
    height: 80px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    
    /* Убедись, что transition прописан именно здесь */
    /* ease-in-out делает начало и конец анимации мягкими */
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
    
    transform: translateY(0);
    opacity: 1;
}

/* Состояние, когда навбар скрыт */
.navbar-hidden {
    transform: translateY(-100%);
    opacity: 0;
    /* Убираем возможность кликнуть по скрытому меню */
    pointer-events: none; 
}
/* ========== НОВАЯ INDUSTRIES SECTION (ПАНОРАМА) ========== */
.industries-section {
    position: relative;
    width: 100%;
    background: var(--bg-black);
    padding: 100px 0;
    overflow: hidden; /* Гарантия отсутствия горизонтального скролла */
}

.industries-title {
    font-size: 64px;
    font-weight: 800;
    color: #fff; /* Изменено на белый, так как фон секции черный */
    margin-bottom: 60px;
    text-align: center;
}

.industries-title span {
    color: var(--accent-blue);
}

/* Контейнер для панорамы */
.industries-panorama-container {
    position: relative;
    width: 100%;
    max-width: 1320px; /* Идеально садится внутрь твоего .container с учетом padding */
    margin: 0 auto;
    line-height: 0;   /* Убирает скрытый нижний отступ у img */
}

.industries-panorama-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Растягивает фото без искажения пропорций */
}

/* Сама картинка */
.panorama-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 32px; /* Красивое скругление краев */
    box-shadow: 0 20px 50px rgba(0, 123, 255, 0.15); /* Легкое неоновое свечение */
}
/* Оверлей для затемнения (улучшает читаемость текста) */
.panorama-overlay {
    position: absolute;
    inset: 0;
    /* Легкое затемнение снизу вверх */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: 2;
    pointer-events: none;
}

/* Слой с подписями */
.panorama-labels {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    width: 100%;
    height: 100%;
}

/* Общий стиль для элемента подписи */
.label-item {
    position: relative;
    flex: 1; /* Делим ширину поровну на 5 частей */
    display: flex;
    align-items: flex-end; /* Текст внизу */
    justify-content: center; /* Текст по центру своей зоны */
    padding-bottom: 40px; /* Отступ от нижнего края */
    text-align: center;
}

/* Эстетичный стиль текста подписи */
.label-text {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
    
    /* Тень для максимальной читаемости на любом фоне */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.3);
    
    /* Анимация при наведении на зону */
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
}

/* Эффект наведения на зону отрасли */
.label-item:hover .label-text {
    transform: translateY(-5px) scale(1.05);
    opacity: 1;
}

/* === Специфическое позиционирование для компенсации косых срезов === */
/* Эти отступы сдвигают текст влево, чтобы он был визуально центрирован в своей косой зоне */

/* УПРАВЛЕНИЕ НАДПИСЯМИ В ПАНОРАМЕ */

/* Контейнер для всех надписей */
.industry-aviation {
 padding-right: 1%;
}

.industry-machinery {
/* Сдвиг влево на 2% ширины зоны */
padding-right: 3%;
}

.industry-energy {
/* Сдвиг влево на 4% ширины зоны */
padding-right: 1%;
}

.industry-rockets {
/* Сдвиг влево на 6% ширины зоны */
padding-right: 5%;
}

.industry-chemistry {
/* Сдвиг влево на 8% ширины зоны */
padding-right: 3%;
}

/* === Анимация появления при скролле (CSS часть) === */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ========== АДАПТИВНОСТЬ ДЛЯ ПАНOРАМЫ ========== */
@media (max-width: 1200px) {
    .industries-panorama-container {
        aspect-ratio: 16 / 8; /* Чуть выше на планшетах */
        border-radius: 30px;
    }
    .label-text {
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .industries-title {
        font-size: 48px;
    }
    .industries-panorama-container {
        aspect-ratio: 16 / 10; /* Ещё выше */
    }
}

@media (max-width: 768px) {
    .industries-section {
        padding: 80px 0;
    }
    .industries-title {
        font-size: 36px;
    }
    .industries-panorama-container {
        aspect-ratio: 1; /* Квадратная на мобильных */
        border-radius: 20px;
    }
    
    /* На мобильных текст лучше перекомпоновать */
    .panorama-labels {
        flex-direction: column; /* Вертикальный список */
        align-items: flex-start;
        justify-content: flex-end;
        padding: 30px;
    }
    
    .label-item {
        flex: none;
        width: 100%;
        text-align: left;
        justify-content: flex-start;
        padding-bottom: 15px;
    }
    
    /* Сбрасываем косые отступы */
    .label-item[class*="industry-"] {
        padding-right: 0;
    }
    
    .label-text {
        font-size: 16px;
        text-align: left;
    }
    
    /* На мобильном оверлей должен быть темнее для всего списка */
    .panorama-overlay {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    }
}
.footer-info-white {
    background: #ffffff;
    color: #000000;
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h3, .footer-col h4 {
    margin-bottom: 20px;
    font-weight: 900;
}
.logo-ticker {
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
}

.ticker-track {
    display: inline-flex;
    will-change: transform;
}

.ticker-track img {
    height: 50px;
    margin: 0 40px;
    flex-shrink: 0;
}
/* Убираем горизонтальную прокрутку, если появлялась */
body {
    overflow-x: hidden;
}

/* Секция industries на весь экран */
.industries-section.fullscreen {
    padding: 0;           /* убираем внутренние отступы */
    margin: 0;
    height: 100vh;        /* занимает всю высоту окна */
    position: relative;
}
/* Специальные стили для новой секции, чтобы ничего не пропадало */

.industries-section {
    position: relative;
    width: 100%;
    background: var(--bg-black); /* Используем твой цвет фона */
    padding: 60px 0; /* Отступ сверху и снизу, чтобы не слипалось */
    overflow: hidden;
}

.industries-panorama-container {
    position: relative;
    width: 100%;
    max-width: 1400px; /* Как в твоем контейнере */
    margin: 0 auto;
    line-height: 0;
}

.panorama-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px; /* Чтобы углы были скругленные и красивые */
}

/* Стили надписей */
.industry-label {
    position: absolute;
    color: #ffffff;
    font-size: 50px;
    font-weight: 700; /* Делаем текст чуть жирнее, чтобы он хорошо читался на любом фоне */
    text-transform: uppercase; /* Опционально: делает буквы заглавными в стиле твоего сайта */
    letter-spacing: 0.5px;
    
    /* Выравнивание и границы */
    white-space: normal;
    text-align: center;
    max-width: 220px;
    line-height: 1.3;
    cursor: pointer;
    
    /* Плавный эффект увеличения (scale) */
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s ease;
    z-index: 5;
    
    /* Тонкая тень у текста, чтобы он не терялся, если на картинке под ним окажутся светлые участки */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* Эффект при наведении — только увеличение */
.industry-label:hover {
    transform: scale(1.2); /* Увеличиваем текст на 20% */
    color: var(--accent-blue); /* Дополнительно: при наведении текст станет твоим фирменным синим. Если нужен строго белый — просто удали эту строку */
    z-index: 10;
}
/* Для телефонов */
@media (max-width: 1024px) {
    .industries-title {
        font-size: 48px;
        margin-bottom: 40px;
    }
}
.industry-label {
        font-size: 12px;
        padding: 10px 16px;
        min-width: 110px;
        max-width: 150px;
    }

@media (max-width: 768px) {
    .industries-section {
        padding: 60px 0;
    }
    .industries-title {
        font-size: 36px;
    }
    .panorama-image {
        border-radius: 20px; /* Чуть меньше скругление на мелких экранах */
    }
    .industry-label {
        font-size: 10px;
        padding: 8px 12px;
        min-width: 90px;
        max-width: 120px;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .industries-title {
        font-size: 28px;
    }
    /* Чтобы на совсем маленьких телефонах текст не превращался в кашу, уменьшаем отступы */
    .industry-label {
        font-size: 9px;
        padding: 6px 10px;
        min-width: 80px;
        max-width: 100px;
    }
}