/* Homepage promo sections (hero, brand-cloud, about, gallery, clients, logistics, contact) */
:root {
    --primary-color: #003366;
    --accent-color: #ff6600;
    --text-color: #333;
    --bg-light: #f4f7f6;
    --white: #ffffff;
}

.stk-home {
    scroll-behavior: smooth;
}

.stk-home section[id] {
    scroll-margin-top: 80px;
}

.stk-home * { box-sizing: border-box; }

.stk-home a { text-decoration: none; color: inherit; }
.stk-home ul { list-style: none; }

.stk-home .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Brand cloud */
.stk-home .brand-cloud {
    background: var(--bg-light);
    padding: 36px 0;
    text-align: center;
}
.stk-home .brand-cloud__label {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 18px;
    font-weight: 700;
}
.stk-home .brand-cloud__items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 22px;
    max-width: 900px;
    margin: 0 auto;
}
.stk-home .brand-cloud__items span {
    font-weight: 700;
    color: var(--primary-color);
    transition: 0.25s;
    cursor: default;
}
.stk-home .brand-cloud__items span:hover {
    color: var(--accent-color);
    transform: scale(1.08);
}
.stk-home .brand-cloud__items .b-xl { font-size: 1.9rem; }
.stk-home .brand-cloud__items .b-lg { font-size: 1.4rem; opacity: 0.85; }
.stk-home .brand-cloud__items .b-md { font-size: 1.1rem; opacity: 0.7; font-weight: 500; }
.stk-home .brand-cloud__items .b-sm { font-size: 0.95rem; opacity: 0.55; font-weight: 400; }

/* Hero */
.stk-home .hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('/promo/img/photo3.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}
.stk-home .hero-content h1 { font-size: 3rem; margin-bottom: 20px; line-height: 1.2; }
.stk-home .hero-content p { font-size: 1.2rem; margin-bottom: 40px; max-width: 800px; margin-left: auto; margin-right: auto; }
.stk-home .btn {
    display: inline-block; padding: 15px 40px; background: var(--accent-color); color: var(--white);
    font-weight: 700; border-radius: 5px; transition: 0.3s; border: none; cursor: pointer; font-size: 1rem;
}
.stk-home .btn:hover { background: #e65c00; transform: translateY(-2px); }

/* Sections */
.stk-home .section { padding: 80px 0; }
.stk-home .section-title { text-align: center; font-size: 2.5rem; margin-bottom: 50px; color: var(--primary-color); }

/* About */
.stk-home .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.stk-home .about-text h3 { font-size: 1.5rem; margin-bottom: 20px; color: var(--primary-color); }
.stk-home .about-text li { margin-bottom: 10px; position: relative; padding-left: 25px; }
.stk-home .about-text li::before { content: "✔"; color: var(--accent-color); position: absolute; left: 0; font-weight: bold; }

/* Brands */
.stk-home .brands { background-color: var(--bg-light); text-align: center; }
.stk-home .brands-container { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-bottom: 30px; }
.stk-home .brand-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    width: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom: 4px solid var(--accent-color);
    min-height: 140px;
}
.stk-home .brand-name { font-weight: 700; font-size: 1.5rem; color: var(--primary-color); margin-bottom: 5px; text-align: center; line-height: 1.2; }
.stk-home .brand-desc { font-size: 0.9rem; color: #666; line-height: 1.3; text-align: center; }

/* Gallery */
.stk-home .gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.stk-home .gallery-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
    border: 1px solid #eee;
    width: 350px;
}
.stk-home .gallery-item:hover { transform: translateY(-5px); }
.stk-home .gallery-img { width: 100%; height: 250px; object-fit: cover; background-color: #eee; display: block; }

/* Clients */
.stk-home .clients-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
}
.stk-home .client-logo {
    width: 160px;
    height: 100px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
}
.stk-home .client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Logistics */
.stk-home .logistics-section {
    background: #ffffff;
    overflow: hidden;
}
.stk-home .logistics-panel {
    position: relative;
}
.stk-home .logistics-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}
.stk-home .logistics-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--white);
    padding: 26px;
    border: 1px solid rgba(0, 51, 102, 0.10);
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(0, 51, 102, 0.08);
    overflow: hidden;
    transition: 0.3s;
}
.stk-home .logistics-card:hover {
    box-shadow: 0 20px 44px rgba(0, 51, 102, 0.14);
    transform: translateY(-5px);
}
.stk-home .logistics-card__top {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
.stk-home .flag-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 52px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(0, 51, 102, 0.12);
    border: 1px solid rgba(0, 51, 102, 0.08);
    overflow: hidden;
}
.stk-home .flag-badge svg {
    width: 100%;
    height: 100%;
    display: block;
}
.stk-home .logistics-card h3 {
    position: relative;
    z-index: 1;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.35rem;
}
.stk-home .logistics-card p {
    position: relative;
    z-index: 1;
    color: #5c6670;
}
.stk-home .logistics-time {
    margin-top: auto;
    margin-left: -26px;
    margin-right: -26px;
    margin-bottom: -26px;
    padding: 18px 26px 26px;
    width: calc(100% + 52px);
    background: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
    color: #1a4d8c !important;
    border-radius: 0 0 22px 22px;
}

/* Contact block (stkContactBlock chunk on homepage) */
.stk-home .contact {
    background: var(--primary-color);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.stk-home .contact-plane {
    position: absolute;
    bottom: 14px;
    left: -44px;
    width: 34px;
    height: auto;
    pointer-events: none;
    z-index: 1;
    opacity: 0.72;
}
.stk-home .contact-plane--ltr {
    animation: contact-plane-fly-ltr 12s ease-in-out infinite;
}
.stk-home .contact-plane--rtl {
    animation: contact-plane-fly-rtl 12s ease-in-out infinite;
    transform: scaleX(-1);
}
@keyframes contact-plane-fly-ltr {
    0% { left: -44px; }
    100% { left: calc(100% + 44px); }
}
@keyframes contact-plane-fly-rtl {
    0% { left: calc(100% + 44px); }
    100% { left: -44px; }
}
@media (prefers-reduced-motion: reduce) {
    .stk-home .contact-plane { display: none !important; }
}
.stk-home .contact .section-title { color: var(--white); }
.stk-home .contact-container-centered { text-align: center; max-width: 800px; margin: 0 auto; }
.stk-home .contact-links-row {
    display: flex; justify-content: center; align-items: center; flex-wrap: nowrap;
    gap: 16px; margin-top: 40px; max-width: 1100px; margin-left: auto; margin-right: auto;
}
.stk-home .contact-big-link {
    padding: 16px 22px; border: 2px solid var(--white); border-radius: 8px;
    font-size: 1.05rem; font-weight: bold; transition: 0.3s; display: inline-block;
    white-space: nowrap; flex: 0 1 auto;
}
.stk-home .contact-big-link.email { background: var(--accent-color); border-color: var(--accent-color); }
.stk-home .contact-big-link:hover { transform: scale(1.05); }

.stk-home .kp-form {
    max-width: 520px; margin: 0 auto 30px; text-align: left;
    background: rgba(255,255,255,0.08); padding: 24px; border-radius: 8px;
}
.stk-home .kp-form label { display: block; margin-bottom: 6px; font-size: 0.95rem; }
.stk-home .kp-form input, .stk-home .kp-form textarea {
    width: 100%; padding: 12px; margin-bottom: 16px; border: none;
    border-radius: 5px; font-family: inherit; font-size: 1rem;
}
.stk-home .kp-form textarea { min-height: 90px; resize: vertical; }
.stk-home .kp-form .btn { width: 100%; }
.stk-home .stk-form-consent { margin-bottom: 16px; font-size: 0.9rem; }
.stk-home .stk-form-consent input { width: auto; margin: 0 8px 0 0; vertical-align: middle; }
.stk-home .stk-form-consent label { display: inline; margin: 0; }
.stk-home .stk-form-consent a { color: #fff; text-decoration: underline; }

@media (max-width: 768px) {
    .stk-home .brand-cloud__items .b-xl { font-size: 1.4rem; }
    .stk-home .brand-cloud__items .b-lg { font-size: 1.15rem; }
    .stk-home .brand-cloud__items .b-md { font-size: 1rem; }
    .stk-home .brand-cloud__items .b-sm { font-size: 0.85rem; }
    .stk-home .hero-content h1 { font-size: 2rem; }
    .stk-home .about-grid { grid-template-columns: 1fr; }
    .stk-home .contact-links-row {
        flex-direction: row; flex-wrap: wrap; gap: 12px; max-width: 100%;
    }
    .stk-home .contact-big-link {
        padding: 14px 18px; font-size: 0.95rem; white-space: normal;
        flex: 1 1 calc(50% - 6px); min-width: 140px;
    }
    .stk-home .contact-big-link.email { flex: 1 1 100%; }
    .stk-home .logistics-grid { grid-template-columns: 1fr; gap: 16px; }
    .stk-home .logistics-card { padding: 22px; }
    .stk-home .logistics-time {
        margin-left: -22px;
        margin-right: -22px;
        margin-bottom: -22px;
        padding: 18px 22px 22px;
        width: calc(100% + 44px);
    }
    .stk-home .flag-badge { width: 66px; height: 48px; }
}
