/* Дополнительные стили для страницы бренда */
.brand-header {
    margin-top: 100px;
    text-align: center;
}

.brand-video {
    margin: 40px 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.brand-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.brand-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s;
}

.brand-gallery img:hover {
    transform: scale(1.05);
}

.back-button {
    margin: 20px 0 0 20px;
    display: inline-block;
}

.back-button a {
    text-decoration: none;
    color: #333;
    font-size: 1.5rem;
    padding: 10px 20px;
    background: #f8f9fa;
    border-radius: 30px;
    transition: all 0.3s;
}

.back-button a:hover {
    background: #e9ecef;
    transform: translateX(-5px);
}

.brand-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
    color: #555;
}

.brand-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 60px 0;
    text-align: center;
}

.feature-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.display-5 {
    font-family: 'Inter Tight', serif;
    font-size: 2rem;
    line-height: 1.5;
}

.image-container {
    position: relative;
    display: inline-block;
    width: 100%;
}
.tooltip-text {
    visibility: hidden;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 5px 10px;
    border-radius: 6px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    font-size: 14px;
    z-index: 1;
}

.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.image-container:hover .tooltip-text {
    visibility: visible;
}