/* --- LOCAL FONTS CONNECTION: MONTSERRAT FAMILY --- */

/* Thin 100 */
@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

/* Light 300 - Used for decorative circles */
@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Regular 400 */
@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Medium 500 */
@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* SemiBold 600 */
@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Bold 700 - Standard for headers */
@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ExtraBold 800 */
@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Black 900 - Critical for "About Us" section */
@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}





:root {
    /* Even softer and lighter blue */
    --brand-blue: #3a7bd5; 
    --brand-blue-grad: linear-gradient(135deg, #3a7bd5 0%, #4ea1ed 100%);
    --header-bg: #fcfcfc; 
    --text-main: #222222;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- GLOBAL TYPOGRAPHY RULES --- */

body {
    margin: 0;
    padding-top: 70px; /* Space for fixed header */
    font-family: 'Montserrat', sans-serif;
    font-weight: 400; /* Default weight */
    font-style: normal;
    color: var(--text-main);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased; /* Better font rendering on Mac */
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

/* Headings Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #1a1a1a;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

/* Hero Titles */
h1 {
    font-weight: 900; /* Maximum impact */
    font-size: 64px;
    letter-spacing: -2px;
}

/* Section Titles (Supply Chain, Products, etc.) */
h2 {
    font-weight: 800;
    font-size: 42px;
    letter-spacing: -1px;
}

/* Block Subtitles or Service Names */
h3 {
    font-weight: 700;
    font-size: 24px;
}

/* Small Headings within items */
h4 {
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Global paragraph styling for consistency */
p {
    margin: 0;
    font-size: 16px;
}


/* --- GLOBAL RESET & CONTAINER FIX --- */
* {
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: 1400px; /* Фиксируем максимальную ширину */
    margin: 0 auto;    /* Центрируем */
    padding: 0 20px;
    position: relative;
}

/* --- HEADER RECONSTRUCTION --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    /* Убираем все внешние отступы, чтобы не ломать геометрию */
    padding: 0; 
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px; /* Фиксированная высота для стабильности */
    width: 100%;  /* Наследует ширину от .container */
}

/* LOGO */
.site-logo {
    height: 60px; /* Увеличили размер */
    width: auto;
    display: block;
}

/* MENU */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
    border: none !important; /* Убираем любые возможные линии */
    outline: none !important;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--brand-blue);
}

/* RIGHT SECTION (Button + Lang) */
.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.btn-modal-trigger {
    background: var(--brand-blue-grad);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
    transition: var(--transition);
}

.btn-modal-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(58, 123, 213, 0.3);
}

/* LANG SWITCHER - No borders/lines */
.lang-switch {
    font-size: 12px;
    font-weight: 700;
    color: #bbb;
    background: #f0f0f0;
    padding: 3px 10px;
    border-radius: 4px;
    line-height: 1;
    border: none !important;
}

.lang-link {
    text-decoration: none;
    color: #aaa;
    border: none !important;
}

.lang-link.active {
    color: var(--brand-blue);
}



/* --- MODAL SYSTEM STYLES --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    transition: 0.4s;
}

.modal-overlay.active {
    visibility: visible;
    opacity: 1;
}

/* Slide from left */
.side-modal {
    position: absolute;
    top: 0; left: -100%; /* Start off-screen */
    width: 100%;
    max-width: 500px;
    height: 100%;
    background: #fff;
    padding: 40px;
    box-shadow: 10px 0 30px rgba(0,0,0,0.2);
    transition: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
}

.modal-overlay.active .side-modal { left: 0; }

/* Elements */
.close-modal {
    background: none; border: none; cursor: pointer; color: var(--brand-blue);
    margin-bottom: 20px; transition: 0.3s;
}
.close-modal:hover { transform: translateX(-5px); }

.modal-title { color: var(--brand-blue); font-size: 24px; margin-bottom: 10px; }
.modal-subtitle { font-size: 14px; color: #666; margin-bottom: 30px; }

/* Form Styling */
.modal-form input, .modal-form select, .modal-form textarea {
    width: 100%; padding: 12px; margin-bottom: 15px;
    border: 1px solid #ddd; border-radius: 6px; font-family: inherit;
}

.btn-submit {
    width: 100%; background: var(--brand-blue-grad); color: #fff;
    border: none; padding: 15px; border-radius: 6px; cursor: pointer;
    font-weight: 700; font-size: 16px;
}

/* Privacy Checkbox Wrapper Fix */
.privacy-wrapper {
    margin: 20px 0;
    position: relative;
}

.checkbox-container {
    display: flex;
    align-items: flex-start; /* Alignment by text start */
    gap: 12px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.4;
    color: #555;
    user-select: none;
}

/* Hide default checkbox */
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0; width: 0;
}

/* Custom Checkmark Square */
.checkmark {
    flex-shrink: 0; /* Prevents shrinking */
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid var(--brand-blue);
    border-radius: 4px;
    position: relative;
    transition: var(--transition);
}

/* On hover and check */
.checkbox-container:hover input ~ .checkmark { background-color: #f0f5ff; }
.checkbox-container input:checked ~ .checkmark { background-color: var(--brand-blue); }

/* The check icon (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px; top: 2px;
    width: 5px; height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after { display: block; }

.privacy-link {
    color: var(--brand-blue);
    font-weight: 700;
    text-decoration: underline;
}


/* Legal Modal (Top Level) */
.top-level { z-index: 3000; display: flex; align-items: center; justify-content: center; }
.legal-modal {
    background: #fff; width: 90%; max-width: 700px; padding: 40px;
    border-radius: 12px; position: relative; max-height: 80vh; overflow-y: auto;
}
.close-legal { position: absolute; top: 15px; right: 20px; font-size: 30px; border: none; background: none; cursor: pointer; }

/* Success State */
.success-message { text-align: center; padding: 40px 0; }
.success-icon { 
    width: 60px; height: 60px; background: #4CAF50; color: #fff; 
    border-radius: 50%; line-height: 60px; font-size: 30px; margin: 0 auto 20px; 
}


.legal-scroll-area {
    max-height: 450px;
    overflow-y: auto;
    padding-right: 15px;
    margin-top: 20px;
    text-align: left;
}

.legal-content h2 {
    font-size: 30px
}

/* Custom scrollbar for professional look */
.legal-scroll-area::-webkit-scrollbar { width: 6px; }
.legal-scroll-area::-webkit-scrollbar-track { background: #f1f1f1; }
.legal-scroll-area::-webkit-scrollbar-thumb { background: var(--brand-blue); border-radius: 10px; }

.legal-meta { font-size: 11px; color: #999; margin-bottom: 20px; text-transform: uppercase; }
.legal-content h3 { font-size: 16px; color: var(--brand-blue); margin-top: 25px; border-bottom: 1px solid #eee; padding-bottom: 5px; }
.legal-content p, .legal-content li { font-size: 14px; line-height: 1.6; color: #444; }



/* --- HERO SECTION STYLES --- */
.hero-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-text-area {
    flex: 1;
    max-width: 650px;
    z-index: 2;
}

.hero-brand {
    font-size: 30px;
    font-weight: 700;
    color: #094ca8;
    letter-spacing: 0.5px;
    margin-bottom: 0;
    display: block;
}

.hero-title {
    font-size: 65px; /* Big and bold like in reference */
    line-height: 1.1;
    font-weight: 800;
    color: #1a1a1a;
    margin: 10px 0 25px;
}

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

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 40px;
    max-width: 500px;
}

/* Button with link to services */
.btn-to-services {
    display: inline-block;
    background: var(--brand-blue-grad);
    color: #fff;
    padding: 18px 45px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(30, 77, 146, 0.2);
}

.btn-to-services:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(30, 77, 146, 0.3);
}

/* Image Area */
.hero-image-area {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    z-index: 1;
}

.hero-main-img {
    max-width: 100%;
    height: auto;
    max-height: 85vh; /* Prevents overflow */
    object-fit: contain;
}

/* --- MOBILE ADAPTIVITY --- */
@media (max-width: 1100px) {
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
        padding-top: 50px;
    }
    
    .hero-text-area {
        max-width: 100%;
        order: 2;
    }
    
    .hero-image-area {
        order: 1;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-description {
        margin: 0 auto 30px;
    }
}

/* --- ENHANCED ANIMATED HERO BACKGROUND --- */

.hero-block {
    position: relative;
    width: 100%;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    
    /* 
       We use 4 colors for better visibility: 
       Off-white, Light Silver, Pale Blue (from your logo), and White 
    */
    background: linear-gradient(
        -45deg, 
        #fcfcfc, /* Your logo bg */
        #f0f0f0, /* Light silver */
        #e3edfb, /* Very soft version of your blue */
        #ffffff  /* Pure white */
    );
    background-size: 400% 400%;
    
    /* Increased speed to 10s for better visibility during check */
    animation: flowGradient 10s ease-in-out infinite;
}

/* Keyframes with subtle zoom effect for the background flow */
@keyframes flowGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* --- ADDING A SUBTLE ORBITAL LINE BACKGROUND --- */
/* To match the "lines" in your logo, we add an overlay with transparency */
.hero-block::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(circle at 20% 30%, rgba(30, 77, 146, 0.03) 0%, transparent 50%),
                      radial-gradient(circle at 80% 70%, rgba(30, 77, 146, 0.03) 0%, transparent 50%);
    pointer-events: none;
}



/* --- SERVICES GRID REFACTORED (50% / 25% / 25%) --- */

.services-block {
    background: #fff;
    width: 100%;
}

.service-row {
    display: grid;
    min-height: 450px;
    width: 100%;
}

/* Row type: Image on the Left */
.layout-img-txt-txt {
    grid-template-columns: 2fr 1fr 1fr; /* 50% image, 25% text, 25% text */
}

/* Row type: Image on the Right */
.layout-txt-txt-img {
    grid-template-columns: 1fr 1fr 2fr; /* 25% text, 25% text, 50% image */
}

.service-text {
    padding: 60px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Text at bottom like in sample */
    position: relative;
    border: 0.5px solid rgba(255,255,255,0.1); /* Subtle separation */
}

.service-text h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #fff;
}

.service-text p {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
}

.service-num {
    position: absolute;
    top: 40px;
    right: 30px;
    font-size: 24px;
    font-weight: 400;
}

/* Colors */
.bg-brand-blue {
    background-color: var(--brand-blue);
    color: #ffffff;
}

.bg-brand-silver {
    background-color: #f1f4f8;
    color: var(--text-main);
}
.bg-brand-silver h3 { color: var(--brand-blue); }

/* Images */
.service-image {
    position: relative;
    overflow: hidden;
}

.s-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- ADAPTIVITY --- */
@media (max-width: 1200px) {
    .layout-img-txt-txt, .layout-txt-txt-img {
        grid-template-columns: 1fr 1fr; /* 50/50 split on tablets */
    }
    .service-image { display: none; } /* Better readability on tablets */
}

@media (max-width: 768px) {
    .service-row {
        grid-template-columns: 1fr; /* Stacked on mobile */
        min-height: auto;
    }
}



/* --- SUPPLY CHAIN BLOCK STYLES --- */

.supply-chain-block {
    background-color: #f1f4f8; /* Your firm silver-grey color */
    padding: 100px 0;
    overflow: hidden;
}

.sc-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.sc-content {
    flex: 1.2;
    max-width: 750px;
}

.sc-category {
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.sc-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 25px;
    line-height: 1.2;
}

.sc-description {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 50px;
}

/* Principles List */
.sc-principles {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.sc-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.sc-num {
    font-size: 18px;
    font-weight: 800;
    color: var(--brand-blue);
    padding-top: 5px;
}

.sc-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.sc-text p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* Visual Side */
.sc-visual {
    flex: 0.8;
}

.sc-main-img {
    width: 100%;
    height: auto;
}

/* --- ADAPTIVITY --- */
@media (max-width: 1100px) {
    .sc-wrapper {
        flex-direction: column;
    }
    .sc-content {
        max-width: 100%;
    }
    .sc-visual {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .sc-main-img {
        max-width: 600px;
    }
}


/* --- SECTION: ABOUT US (REFINED TYPOGRAPHY & ALIGNMENT) --- */

.about-section {
    padding: 120px 0; /* Deep vertical space for premium look */
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50/50 split */
    gap: 100px;
    align-items: stretch; /* Stretch columns to maintain equal height */
}

/* Left Column Styling */
.about-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes sub-info to the baseline of the right button */
}

.about-brand-wrap {
    margin-bottom: 40px;
}

.about-tag {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    display: block;
    margin-bottom: 5px;
}

.about-main-title {
    font-size: 130px; /* Massive typographic focus */
    font-weight: 900; /* Maximum bold */
    line-height: 0.85;
    margin: 0;
    color: #1a1a1a;
    letter-spacing: -6px; /* Tight "Swiss" style tracking */
    display: flex;
    align-items: baseline;
}

.about-main-title span {
    color: var(--brand-blue); /* Your soft blue from root */
    margin-left: -5px;
}

.about-sub-info {
    max-width: 320px;
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin-top: auto; /* Ensures it stays at the bottom on Desktop */
    padding-bottom: 8px; /* Precise alignment with the right button text */
}

/* Right Column Styling */
.about-headline {
    font-size: 32px;
    line-height: 1.3;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 35px;
}

.about-headline strong {
    color: var(--brand-blue);
    font-weight: 700;
}

.about-main-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

/* Professional Dark Button */
.btn-about-more {
    display: inline-block;
    padding: 16px 35px;
    background: #111111;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    margin-top: 15px;
}

.btn-about-more:hover {
    background: var(--brand-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- MOBILE & TABLET ADAPTIVITY --- */

@media (max-width: 1024px) {
    .about-section {
        padding: 80px 0;
    }

    .about-grid {
        grid-template-columns: 1fr; /* Stacked layout */
        gap: 50px;
    }

    .about-left {
        display: block; /* Disables flex "push-to-bottom" */
    }

    .about-main-title {
        font-size: 90px;
        letter-spacing: -4px;
    }

    .about-sub-info {
        margin-top: 30px; /* Removes large desktop gap */
        max-width: 100%;
        padding-bottom: 0;
    }

    .about-headline {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .about-main-title {
        font-size: 70px;
    }
}



/* --- PRODUCT SLIDER REFINED --- */

/* --- PRODUCT SLIDER: DECORATIVE STYLE --- */

.products-section {
    padding: 120px 0;
    background: #fcfcfc; /* Main background color */
    overflow: hidden;
}

.slide-inner {
    display: flex;
    align-items: center;
    gap: 80px;
    min-height: 600px;
}

/* DECOR CIRCLE */
.slide-decor {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.decor-circle {
    width: 480px;
    height: 480px;
    background: var(--brand-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.decor-text-layer {
    font-size: 70px;
    font-weight: 300;
    line-height: 0.9;
    color: #fcfcfc; /* EXACTLY SAME AS SECTION BACKGROUND */
    text-align: center;
    text-transform: uppercase;
    width: 3500px; /* Overflows the circle */
    user-select: none;
    pointer-events: none;
    letter-spacing: -2px;
    font-style: italic;
}

/* CONTENT AREA */
.slide-content {
    flex: 1.2;
}

.slide-top-notice {
    font-size: 15px;
    font-weight: 700;
    color: #094ca8;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    margin-bottom: 15px;
    max-width: 600px;
}

.category-title {
    font-size: 62px;
    font-weight: 800;
    margin-bottom: 30px;
    color: #1a1a1a;
    line-height: 1;
}

.subcategory-list {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 40px;
}

/* CLEAN ARROW NAVIGATION */
.slider-nav {
    display: flex;
    gap: 40px;
    margin-top: 0px;
}

.slick-arrow-custom {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 75px; /* Large and clean */
    font-family: serif; /* For elegant "<" ">" symbols */
    color: var(--brand-blue);
    transition: var(--transition);
    padding: 0;
    line-height: 1;
}

.slick-arrow-custom:hover {
    transform: scale(1.2);
    opacity: 0.7;
}

/* Tablet & Mobile */
@media (max-width: 1100px) {
    .decor-circle { width: 350px; height: 350px; }
    .decor-text-layer { font-size: 50px; }
    .category-title { font-size: 42px; }
}

/* --- SLICK PREVENT STACKING FIX --- */

/* Hide all slides except the first one before Slick loads */
.product-slider:not(.slick-initialized) .product-slide {
    display: none;
}

.product-slider:not(.slick-initialized) .product-slide:first-child {
    display: block;
}

/* Base Slick classes that must be present */
.slick-list {
    overflow: hidden;
    display: block;
    margin: 0;
    padding: 0;
}

.slick-track {
    display: flex !important;
    align-items: center;
}

.slick-slide {
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
}

.slick-initialized .slick-slide {
    display: block;
}


/* --- ORBITAL PARTNERS SECTION --- */

.partners-orbital-block {
    padding: 150px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    min-height: 900px;
    display: flex;
    align-items: center;
}

.orbital-container {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Central Text */
.orbital-center {
    text-align: center;
    max-width: 500px;
    z-index: 10;
}

.orbital-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.orbital-lead {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Blue Info Card (Right Top) */
.partners-info-card {
    position: absolute;
    top: -50px;
    right: 20px;
    width: 300px;
    padding: 30px;
    border-radius: 12px;
    z-index: 20;
    box-shadow: 0 15px 40px rgba(30, 77, 146, 0.2);
    background: var(--brand-blue-grad);
    color: #fff;
}

.card-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; opacity: 0.8; letter-spacing: 1px; display: block; margin-bottom: 10px; }
.partners-info-card h4 { font-size: 18px; margin-bottom: 15px; color: #fff; }
.partners-info-card p { font-size: 13px; line-height: 1.5; margin-bottom: 20px; opacity: 0.9; }

.btn-card-trigger {
    background: #fff;
    color: var(--brand-blue);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}
.btn-card-trigger:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

/* Orbital Movement */
.partners-orbit {
    position: absolute;
    width: 650px;
    height: 650px;
    border: 1px solid rgba(30, 77, 146, 0.05); /* Subtle visual orbit path */
    border-radius: 50%;
    animation: orbitRotation 60s linear infinite;
}

.orbit-item {
    position: absolute;
    width: 100px;
    height: 100px;
    margin-left: -50px;
    margin-top: -50px;
    top: 50%;
    left: 50%;
}

.partner-logo-wrap {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 15px;
    /* Counter-rotation to keep logos upright */
    animation: counterRotation 60s linear infinite;
}

.partner-logo-wrap img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%); /* Elegant monochrome look */
    opacity: 0.6;
    transition: 0.3s;
}

.partner-logo-wrap:hover img { filter: grayscale(0); opacity: 1; }

/* Positioning items on the circle (360 / 8 = 45deg) */
.item-1 { transform: rotate(0deg) translateX(325px); }
.item-2 { transform: rotate(45deg) translateX(325px); }
.item-3 { transform: rotate(90deg) translateX(325px); }
.item-4 { transform: rotate(135deg) translateX(325px); }
.item-5 { transform: rotate(180deg) translateX(325px); }
.item-6 { transform: rotate(225deg) translateX(325px); }
.item-7 { transform: rotate(270deg) translateX(325px); }
.item-8 { transform: rotate(315deg) translateX(325px); }

/* KEYFRAMES */
@keyframes orbitRotation {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes counterRotation {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

/* Mobile Adaptivity */
@media (max-width: 768px) {
    .partners-orbit { width: 400px; height: 400px; }
    .partners-info-card { position: relative; top: 0; right: 0; margin: 0 auto 50px; width: 100%; }
    .item-1 { transform: rotate(0deg) translateX(200px); }
    .item-2 { transform: rotate(45deg) translateX(200px); }
    /* ... rest of mobile offsets ... */
}


/* --- REVIEWS: FINAL OFFSET DESIGN --- */

.reviews-section {
    padding: 120px 0;
    background: #fcfcfc;
    overflow: hidden;
}

.reviews-slider-container {
    position: relative;
    padding: 40px 0;
}

.review-row {
    display: flex;
    gap: 60px; /* Space between cards */
    padding: 40px 20px;
}

.rev-card-wrapper {
    flex: 1;
    position: relative;
    min-height: 250px;
}

/* Offset Shadow Layer - Brand Blue */
.rev-card-shadow {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 100%;
    height: 100%;
    background: #ebeaebb3;
    border-radius: 15px;
    z-index: 1;
}

/* Main Content Card */
.rev-card-main {
    position: relative;
    background: #ffffff;
    border: 2px solid var(--brand-blue);
    padding: 85px 30px 15px 60px;
    border-radius: 15px;
    z-index: 2;
    height: 100%;
}

/* Floating Avatar - Outside on the left */
.rev-avatar {
    position: absolute;
    top: 18%;
    left: -15px;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: #eee;
    z-index: 10;
}

.rev-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rev-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.rev-name {
    font-size: 18px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
}

.rev-stars {
    color: gold;
    font-size: 23px;
    margin: -25px 0 0 0;
}

.rev-text {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin: 0;
    font-style: italic;
}

/* Navigation Arrows */
.rev-arrows {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.rev-prev, .rev-next {
    background: none;
    border: none;
    font-size: 60px;
    color: var(--brand-blue);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.rev-prev:hover, .rev-next:hover {
    transform: scale(1.2);
}

/* --- SECTION SUBTITLE STYLE --- */
.section-subtitle {
    text-align: left;
    margin: 10px 0 0 0;
    font-size: 17px;
    color: #444;
    line-height: 1.6;
}


/* Adaptivity */
@media (max-width: 1100px) {
    .review-row { gap: 30px; }
    .rev-card-main { padding-left: 50px; }
}

@media (max-width: 850px) {
    .review-row { flex-direction: column; gap: 80px; }
    .rev-card-wrapper { width: 90%; margin: 0 auto; }
    .rev-avatar { left: -30px; }
}




/* --- CONTACTS SECTION: PROFESSIONAL VERTICAL DESIGN --- */

.contacts-section {
    padding: 120px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    min-height: 800px;
}

/* Animated Semi-Sphere with Vivid Gradient */
.contacts-visual-sphere {
    position: absolute;
    top: 50%;
    left: -150px;
    transform: translateY(-50%);
    width: 550px;
    height: 1000px;
    /* More vivid colors for visible animation */
    background: linear-gradient(135deg, #4ea1ed, #1e4d92, #002366, #3a7bd5);
    background-size: 300% 300%;
    border-radius: 0 500px 500px 0;
    z-index: 1;
    animation: contactGradientFlow 12s ease-in-out infinite;
    box-shadow: 30px 0 100px rgba(30, 77, 146, 0.15);
}

@keyframes contactGradientFlow {
    0% { background-position: 0% 50%; transform: translateY(-50%) scale(1); }
    50% { background-position: 100% 50%; transform: translateY(-50%) scale(1.05); }
    100% { background-position: 0% 50%; transform: translateY(-50%) scale(1); }
}

.contacts-main-wrapper {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 0.9fr 1.2fr 0.9fr; /* Optimized columns */
    gap: 40px;
    align-items: center;
}

/* Vertical Image in Visual Area */
.contacts-visual-area {
    display: flex;
    justify-content: flex-start;
    padding-left: 20px;
}

.visual-vertical-img {
    width: 380px; /* Larger as requested */
    height: 550px; /* Vertical orientation */
    border-radius: 30px;
    overflow: hidden;
    border: 12px solid rgba(255,255,255,0.2);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.visual-vertical-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Form Professional Design */
.contacts-form-area {
    background: #ffffff;
    padding: 20px;
}

.main-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.main-contact-form input, 
.main-contact-form select, 
.main-contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 15px;
    border: 1px solid #e1e8f0;
    border-radius: 12px;
    background: #f8fafc;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: var(--transition);
}

.main-contact-form input:focus {
    border-color: var(--brand-blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(30, 77, 146, 0.1);
    outline: none;
}

.btn-main-submit {
    width: 100%;
    padding: 18px;
    background: var(--brand-blue-grad);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(30, 77, 146, 0.2);
}

.btn-main-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(30, 77, 146, 0.4);
}

/* Details List Adaptation */
.contacts-details-list {
    padding-left: 20px;
}

.detail-block {
    margin-bottom: 30px;
}

.detail-block h4 {
    color: var(--brand-blue);
    font-size: 19px;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 2px;
}

.detail-block p, .detail-block a {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    text-decoration: none;
}

/* Mobile Adaptation */
@media (max-width: 1200px) {
    .contacts-main-wrapper { grid-template-columns: 1fr; }
    .contacts-visual-sphere { display: none; }
    .contacts-visual-area { justify-content: center; padding: 0; }
    .visual-vertical-img { width: 100%; max-width: 500px; height: 400px; }
}

/* --- OPTIMIZED CONTACTS GRID --- */

.contacts-main-wrapper {
    position: relative;
    z-index: 10;
    display: grid;
    /* We give much more space to the center (1.5fr) */
    grid-template-columns: 0.6fr 1.5fr 0.9fr; 
    gap: 30px; /* Reduced gap to save horizontal space */
    align-items: center;
}

/* Reduced Semi-Sphere */
.contacts-visual-sphere {
    position: absolute;
    top: 50%;
    left: -65px; /* Pushed further left */
    transform: translateY(-50%);
    width: 450px; /* Narrower than before */
    height: 900px;
    background: linear-gradient(135deg, #4ea1ed, #1e4d92, #002366, #3a7bd5);
    background-size: 300% 300%;
    border-radius: 0 450px 450px 0;
    z-index: 1;
    animation: contactGradientFlow 12s ease-in-out infinite;
}

/* Smaller Vertical Image */
.visual-vertical-img {
    width: 280px; /* Significantly narrower */
    height: 450px; /* Scaled down proportionally */
    border-radius: 20px;
    overflow: hidden;
    border: 8px solid rgba(255,255,255,0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    margin-left: -40px; /* Moves image closer to the edge */
}

/* Form Area Expansion */
.contacts-form-area {
    background: #ffffff;
    padding: 0 20px; /* Internal padding only */
}

.contacts-form-area .contact-section-title {
    margin: 0 auto 20px;
}

.main-contact-form {
    max-width: 700px; /* Allows the form to breathe in the new wide space */
    margin: 0 auto;
}

.smartcont_img {
    max-width: 500px;
    margin: 0 0 0 -50px;
}

/* --- DARK INDUSTRIAL FOOTER FIX --- */

.main-footer {
    padding: 100px 0 40px;
    background: #eee; 
    color: #555;
    border-top: 3px solid var(--brand-blue); 
}

.footer-flex-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap; /* Prevents stacking on desktop */
    gap: 30px;
    margin-bottom: 60px;
}

/* Hard locking column widths for grid stability */
.footer-block-main { width: 35%; }
.footer-block { width: 15%; }
.footer-block-contact { width: 25%; text-align: right; }

.footer-logo-light {
    height: 75px;
    margin-bottom: 25px;
    background: transparent;
}

.footer-motto {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.footer-legal-tag {
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    color: #555;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-nav {
    list-style: none;
    padding: 0; margin: 0;
}

.footer-nav li { margin-bottom: 5px; }

.footer-nav a {
    text-decoration: none;
    font-size: 14px;
    color: #555;
    transition: var(--transition);
}

.footer-nav a:hover { color: #ffffff; padding-left: 5px; }

.footer-emails p { font-size: 14px; margin-bottom: 8px; color: var(--brand-blue); }

.footer-hq {
    font-style: normal;
    font-size: 13px;
    color: #777;
    margin-top: 20px;
    line-height: 1.5;
}

.footer-dark-btn {
    margin-top: 25px;
    padding: 12px 25px;
    background: var(--brand-blue);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.footer-dark-btn:hover {
    background: #fff;
    color: var(--brand-blue);
}

.footer-bottom-line {
    padding-top: 30px;
    border-top: 1px solid #222;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #555;
}

.footer-bottom-line p {
    font-size: 14px;
}

.bottom-links { display: flex; gap: 20px; }
.bottom-links a { text-decoration: none; color: #555; }

/* Mobile Adaptation */
@media (max-width: 1024px) {
    .footer-flex-row { flex-wrap: wrap; }
    .footer-block-main, .footer-block-contact { width: 45%; }
    .footer-block { width: 45%; }
}

@media (max-width: 768px) {
    .footer-flex-row { flex-direction: column; text-align: center; }
    .footer-block-main, .footer-block, .footer-block-contact { width: 100%; text-align: center; }
    .footer-block-contact { align-items: center; display: flex; flex-direction: column; }
    .footer-bottom-line { flex-direction: column; gap: 20px; }
}


/* --- BURGER MENU STYLES --- */

.burger-menu {
    display: none; /* Hidden on Desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100; /* Above everything */
    margin-left: 20px;
}

.burger-menu span {
    width: 100%;
    height: 3px;
    background-color: var(--brand-blue);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

/* Burger to X Animation */
.burger-menu.active span:nth-child(1) { transform: rotate(45deg); }
.burger-menu.active span:nth-child(2) { opacity: 0; }
.burger-menu.active span:nth-child(3) { transform: rotate(-45deg); }

/* Mobile View Adaptation */
@media (max-width: 1100px) {
    .burger-menu { display: flex; } /* Show burger */

    .nav-menu { display: none; } /* Hide static menu */

    .menu-content {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off-screen */
        width: 300px;
        height: 100vh;
        background: #ffffff;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s cubic-bezier(0.77,0.2,0.05,1.0);
        z-index: 1050;
    }

    .menu-content.active {
        right: 0; /* Slide in */
    }

    .menu-content .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .menu-content .nav-menu a {
        font-size: 20px;
    }
}


/* super final mobile
-------------------------------------------------------------- */
@media (max-width: 500px) {
h2 {
    font-size: 33px;
}
body {
    padding-top: 64px;
}
p {
    font-size: 15px;
}
.nav-wrapper {
        height: 64px; /* Locking header height */
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .site-logo {
        height: 54px; /* Smaller logo to free up space */
    }

    .header-right {
        display: flex;
        flex-direction: row; /* Aligning button, lang, and burger in one line */
        align-items: center;
        gap: 10px; /* Space between elements */
    }

    .btn-modal-trigger {
        padding: 7px 15px 8px;
        font-size: 14px; /* Compact button for mobile */
        white-space: nowrap;
    }

    .lang-switch {
        position: absolute; /* Disabling absolute positioning from desktop */
        font-size: 13px;
        padding: 5px 8px;
        background: #fff;
        border-radius: 4px;
        display: flex;
        gap: 7px;
        top: unset;
        bottom: -22px;
        left: unset;
        right: 0;
    }

    .burger-menu {
        display: flex;
        width: 26px;
        height: 18px;
        margin-left: 5px;
    }
    
    .burger-menu span {
        height: 2px; /* Thinner lines for mobile */
    }
.hero-brand {
    font-size: 30px;
    font-weight: 700;
    color: #094ca8;
    letter-spacing: 0;
    margin-bottom: 0;
    display: block;
    line-height: 1.2;
}
.hero-title {
    font-size: 39px;
}
.hero-description {
    font-size: 15px;
}
.btn-to-services {
    padding: 12px 32px;
    font-size: 15px;
}
.hero-block {
    padding-bottom: 30px;
}
.about-headline {
    font-size: 23px;
}
.service-text {
    padding: 45px 20px;
}
.service-text h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
.service-num {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 23px;
    font-weight: 400;
}
.decor-circle {width: 310px;height: 310px;}
    .decor-text-layer { font-size: 35px; }
    .category-title { font-size: 27px; }
.decor-circle {
    display: none;
}
.products-section {
    padding: 60px 0;
}    
.slide-inner {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centers all content blocks */
        text-align: center;   /* Centers the text lines */
        padding: 5px 10px;   /* Vertical breathing space */
        min-height: auto;
    }

    .slide-content {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .category-title {
        font-size: 28px;      /* Scaled for mobile screens */
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .subcategory-list {
        font-size: 15px;      /* Better readability for long lists */
        line-height: 1.5;
        margin-bottom: 25px;
    }

    .slide-top-notice {
        font-size: 16px;
        margin-bottom: 15px;
    }

    /* Hide the arrows on mobile if they overlap content */
    .slider-nav {
        justify-content: center;
        margin-top: 20px;
    }
    .sc-title {
    font-size: 37px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 25px;
    line-height: 1.2;
}
.sc-category {
    font-size: 15px;
    letter-spacing: 0.5px;
}    
    .partners-orbital-block {
        padding: 60px 0;
        min-height: auto;
        display: block;
    }

    .orbital-container {
        flex-direction: column;
        height: auto;
        gap: 40px;
    }

    /* 1. Info Card on top */
    .partners-info-card {
        position: static; /* Removes absolute positioning */
        width: 100%;
        margin-bottom: 30px;
        text-align: center;
        box-shadow: none;
    }

    .btn-card-trigger {
        width: 100%; /* Full width button for touch */
    }

    /* 2. Central Heading */
    .orbital-center {
        position: static;
        max-width: 100%;
        margin-bottom: 40px;
    }

    .orbital-title {
        font-size: 28px;
    }

    /* 3. Orbit to Static Grid */
    .partners-orbit {
        position: static;
        width: 100%;
        height: auto;
        border: none;
        animation: none; /* Disable rotation on mobile */
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 columns grid */
        gap: 20px;
    }

    .orbit-item {
        position: static; /* Removes absolute positioning from circle */
        width: auto;
        height: auto;
        margin: 0;
        display: flex;
        justify-content: center;
        transform: none !important; /* Disables all CSS translates/rotates */
    }

    .partner-logo-wrap {
        width: 100px;
        height: 100px;
        animation: none; /* Disable counter-rotation */
        filter: none;
        opacity: 1;
    }
.section-subtitle {
    font-size: 15px;
}
 .rev-card-main {
    padding: 35px 30px 15px 60px;
} 
.rev-avatar {
    left: -40px;
}    
    .contacts-section {
        padding: 60px 0;
    }

    /* 1. Adjusting the animated sphere to be a background header */
    .contacts-visual-sphere {
        width: 100%;
        height: 300px;
        top: 0;
        left: 0;
        transform: none;
        border-radius: 0 0 50% 50%; /* Rounded bottom for style */
    }

    .contacts-main-wrapper {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    /* 2. Visual Area: Center the image on top of the sphere */
    .contacts-visual-area {
        justify-content: center;
        padding-left: 0;
        margin-top: -150px; /* Overlap with the sphere */
    }

    .visual-vertical-img {
        width: 260px;
        height: 380px;
        margin-left: 0;
        border-width: 6px;
    }

    /* 3. Form Area: Full width */
    .contacts-form-area {
        padding: 0;
    }

    .contact-section-title {
        text-align: center;
        font-size: 26px;
    }

    .main-contact-form .form-row {
        grid-template-columns: 1fr; /* Stack inputs on mobile */
        gap: 0;
    }

    /* 4. Details List: Centered grid */
    .contacts-details-list {
        padding-left: 0;
        display: grid;
        grid-template-columns: 1fr; /* Single column for clarity */
        text-align: center;
        gap: 20px;
    }

    .detail-block {
        margin-bottom: 20px;
    }

.legal-info ul {
        display: inline-block;
        text-align: center;
        margin: 10px 0 0 0;
        padding: 0;
        list-style: none;
}
.smartcont_img {
    max-width: 300px;
    margin: 120px 0 0 0;
}
.menu-content .nav-menu {
    gap: 12px;
}
.menu-content .nav-menu a {
    font-size: 16px;
}
.btn-card-trigger {
    font-size: 16px;
}
    .privacy-wrapper {
        margin: 15px 0 25px; /* Adjusting vertical spacing for mobile */
    }

    .checkbox-container {
        display: flex;
        align-items: flex-start; /* Ensures checkmark stays at the top of wrapped text */
        gap: 10px;
        text-align: left;
        font-size: 12px; /* Slightly smaller for mobile screens */
        line-height: 1.4;
    }

    .checkmark {
        flex-shrink: 0; /* Prevents the blue box from being squeezed */
        margin-top: 2px; /* Precise alignment with the first line of text */
    }
.legal-content h2 {
    font-size: 20px;
}
.legal-modal {
    padding: 20px;
}
.close-legal {
    top: 0px;
    right: 2px;
}






    

}
