/* Основные стили для WHITE AGENCY */

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

body {
    font-family: 'Arial', sans-serif;
    color: #000;
    line-height: 1.6;
    /* Простой светло-серый фон для всего сайта */
    background: #f5f5f5;
    min-height: 100vh;
}

/* Шапка сайта */
.header {
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Левое меню */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    padding: 10px 15px;
    border-radius: 5px;
}

.nav-menu li a:hover {
    color: #ccc;
    background: rgba(255, 255, 255, 0.1);
}

/* Социальные сети в правом углу */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #fff;
    font-size: 20px;
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    color: #ccc;
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

/* Основной контент */
.main-content {
    margin-top: 80px;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Главная секция с единым контейнером */
.hero-benefits-section {
    margin-bottom: 80px;
    padding: 0;
}

.hero-benefits-container {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url('https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 70px 0;
    width: 100%;
    position: relative;
}

.hero-benefits-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    color: white;
    line-height: 1.2;
    text-align: left;
    margin: 0;
    width: 100%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.benefit-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 30px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.benefit-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.benefit-card h3 {
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin-bottom: 15px;
    margin-top: 18px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.benefit-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Секция услуг */
.services-section {
    margin-bottom: 80px;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    color: #000;
    text-align: center;
    margin-bottom: 50px;
}

.services-container {
    max-width: 1300px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1300px;
}

.services-grid-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 880px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    height: 300px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.service-card:hover .service-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.service-background {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.service-title {
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    padding: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Фоновые изображения для услуг */
.service-smm {
    background-image: url('https://images.unsplash.com/photo-1611224923853-80b023f02d71?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
}

.service-yandex {
    background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
}

.service-web {
    background-image: url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
}

.service-design {
    background-image: url('https://images.unsplash.com/photo-1561070791-2526d30994b5?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
}

.service-content {
    background-image: url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
}

.service-targeting {
    background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
}

/* Секция отзывов */
.reviews-section {
    margin-bottom: 80px;
    text-align: center;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.review-card {
    background: rgba(255, 255, 255, 0.4);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.review-header {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 15px;
}

.review-header h4 {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    margin-bottom: 5px;
}

.review-header .company {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.rating {
    color: #ffd700;
    font-size: 16px;
}

.rating .far {
    color: #ddd;
}

.review-text p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    font-style: italic;
}

.reviews-placeholder {
    background: rgba(255, 255, 255, 0.3);
    padding: 60px 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.reviews-placeholder p {
    font-size: 18px;
    color: #666;
    font-style: italic;
}

/* Промежуточные страницы услуг */
.service-detail-hero {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('https://images.unsplash.com/photo-1553877522-43269d4ea984?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0 80px;
    color: white;
}

.service-detail-title {
    font-size: 48px;
    font-weight: bold;
    margin: 20px 0 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.breadcrumb {
    font-size: 16px;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.service-detail-content {
    padding: 80px 0;
    background: #f8f9fa;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.service-description h2 {
    font-size: 32px;
    color: #000;
    margin-bottom: 40px;
    font-weight: bold;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 20px;
}

.service-list li {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #e9ecef;
}

.service-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-left: 4px solid #007bff;
}

.service-list li a {
    color: #495057;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    display: block;
    transition: color 0.3s ease;
}

.service-list li:hover a {
    color: #007bff;
}

.service-list li a::before {
    content: '→';
    font-size: 20px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-10px);
    margin-right: 5px;
}

.service-list li:hover a {
    display: flex;
    align-items: center;
}

.service-list li:hover a::before {
    opacity: 1;
    transform: translateX(0px);
}

.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #28a745;
}

.sidebar-card h3 {
    font-size: 20px;
    color: #000;
    margin-bottom: 20px;
    font-weight: bold;
}

.service-cta {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin-top: 40px;
    box-shadow: 0 15px 35px rgba(40, 167, 69, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.service-cta h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 24px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons a {
    background: rgba(255, 255, 255, 0.9);
    color: #28a745;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-buttons a:hover {
    background: white;
    color: #1e7e34;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 2px solid white;
}

.other-services {
    list-style: none;
    padding: 0;
    margin: 0;
}

.other-services li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.other-services li:last-child {
    border-bottom: none;
}

.other-services a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.other-services a:hover {
    color: #0056b3;
}

@media (max-width: 768px) {
    .service-detail-hero {
        padding: 100px 0 60px;
    }
    
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-detail-title {
        font-size: 32px;
    }
    
    .service-description h2 {
        font-size: 24px;
    }
    
    .service-cta {
        padding: 30px 20px;
        margin-top: 30px;
    }
    
    .service-cta h3 {
        font-size: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .cta-buttons a {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .service-list li {
        padding: 20px;
    }
    
    .sidebar-card {
        padding: 25px;
    }
}

/* Футер */
.footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 40px 0;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: white;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
}

.footer-section a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social a {
    color: #ccc;
    font-size: 24px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: white;
}

/* Стили для страниц услуг */
.service-detail-hero {
    padding: 40px 0;
    margin-bottom: 40px;
}

.breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #333;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.service-detail-title {
    font-size: 36px;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
}

.service-detail-content {
    margin-bottom: 80px;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.service-description {
    background: rgba(255, 255, 255, 0.4);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-description h2 {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    margin-bottom: 30px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.service-list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 16px;
    color: #333;
    position: relative;
    padding-left: 30px;
}

.service-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
    font-size: 18px;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-cta {
    background: rgba(0, 0, 0, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.service-cta h3 {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    margin-bottom: 10px;
}

.service-cta p {
    color: #666;
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #000;
    color: white;
}

.btn-primary:hover {
    background: #333;
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: #000;
    border: 1px solid #000;
}

.btn-secondary:hover {
    background: #000;
    color: white;
    text-decoration: none;
}

.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-card {
    background: rgba(255, 255, 255, 0.4);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-card h3 {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
}

.other-services {
    list-style: none;
    padding: 0;
}

.other-services li {
    margin-bottom: 10px;
}

.other-services a {
    color: #333;
    text-decoration: none;
    padding: 8px 0;
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: color 0.3s ease;
}

.other-services a:hover {
    color: #000;
    text-decoration: none;
}

.sidebar-card p {
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-card i {
    color: #666;
    width: 16px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }
    
    .nav-menu {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-benefits-container {
        padding: 60px 0;
    }
    
    .hero-benefits-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.3;
        text-align: center;
        margin: 0;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .benefit-card h3 {
        font-size: 20px;
    }
    
    .benefit-card p {
        font-size: 14px;
    }
    
    .services-container {
        padding: 0 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-grid-bottom {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 100%;
    }
    
    .service-card {
        height: 250px;
    }
    
    .main-content {
        margin-top: 120px;
    }
    
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
}

/* Стили для кликабельных ссылок в списке услуг */
.service-list a {
    color: #4A90E2 !important;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
}

.service-list a:hover {
    color: #357ABD !important;
    text-decoration: underline;
}

.service-list a::after {
    content: ' →';
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-list a:hover::after {
    opacity: 1;
}
