/*
Theme Name: universal-theme
Theme URI: 
Author: Modern Data
Author URI: 
Description: Themes by MD
Version: 1.0
License: MIT
Text Domain: ultra-light
*/

/* Reset & Basic Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --container: min(100% - 30px, 1200px);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #2a2f3e;
  overflow-x: hidden;
}

.container {
  margin: 0 auto;
}

/* Header */
 /* ============================================
   HEADER STYLES — UR-Expert
   ============================================ */

/* Общие настройки */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.site-header {
  background: #2a2f3e;
  color: #fff;
  position: relative;
  z-index: 100;
}



/* ============================================
   ВЕРХНЯЯ ЧАСТЬ ХЕДЕРА
   ============================================ */

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 20px;
}

/* Логотип */
.header-logo {
  display: flex;
  align-items: center;
}

.header-logo img {
  max-height: 70px;
  width: auto;
  display: block;
}

.header-logo .site-title {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 1px;
}

.header-logo .site-title a {
  color: #fff;
  text-decoration: none;
}

/* Контакты */
.header-contacts {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Блок телефона */
.contact-phone-block {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.phone-icon {
  width: 32px;
  height: 32px;
  border: 2px solid #c9a961;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}

.phone-icon i {
  color: #c9a961;
  font-size: 14px;
}

.contact-phone-block:hover .phone-icon {
  background: #c9a961;
}

.contact-phone-block:hover .phone-icon i {
  color: #2a2f3e;
}

.phone-info a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.phone-info a:hover {
  color: #c9a961;
}

.phone-info span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  display: block;
}

/* Соцсети */
.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 18px;
}

.social-icons a.telegram:hover {
  background: #0088cc;
  border-color: #0088cc;
}

.social-icons a.whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
}

.social-icons a.viber:hover {
  background: #7360f2;
  border-color: #7360f2;
}

/* ============================================
   НИЖНЯЯ ЧАСТЬ ХЕДЕРА
   ============================================ */

.header-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 20px;
	position: sticky;
	top:0;
}

/* Навигация */
.main-navigation {
  position: relative;
}

.desktop-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.desktop-menu li {
  position: relative;
}

.desktop-menu li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 0;
  margin: 0 20px;
  display: block;
  transition: color 0.3s;
  position: relative;
}

.desktop-menu li a:hover {
  color: #c9a961;
}

.desktop-menu li a::after {
  content: '★';
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  color: #c9a961;
  font-size: 8px;
  opacity: 0.6;
}

.desktop-menu li:last-child a::after {
  display: none;
}

/* Кнопка */
.head-button {
  background: #c9a961;
  color: #2a2f3e;
  border: none;
  padding: 15px 35px;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
  font-family: inherit;
  border-radius: 4px;
}

.head-button:hover {
  background: #b8984f;
  transform: translateY(-2px);
}

/* ===== STICKY HEADER ===== */

/* Обёртка нижней части */
.header-bottom-wrapper {
  position: sticky;
  top: 0;
  z-index: 999; /* Ниже мобильного меню (999999) */
  background: #2a2f3e; /* Тот же фон, что у хедера */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Тень при скролле */
  transition: box-shadow 0.3s ease;
}

/* Усиленная тень при прокрутке */
.header-bottom-wrapper.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Сам хедер должен иметь overflow: visible, чтобы sticky работал */
.site-header {
  overflow: visible !important;
}

/* Адаптив: на мобильных можно скрыть тень или уменьшить отступы */
@media (max-width: 768px) {
  .header-bottom-wrapper {
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  }
}

/* ============================================
   МОБИЛЬНОЕ МЕНЮ — ИСПРАВЛЕННОЕ
   ============================================ */

/* Кнопка гамбургер (в хедере) */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 100000;
  position: relative;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

/* ===== OVERLAY — ОТДЕЛЬНО ОТ BODY ===== */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99998; /* Ниже меню */
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  /* БЕЗ backdrop-filter! */
}

body.menu-open .mobile-menu-overlay {
  display: block;
  opacity: 1;
}

/* ===== МОБИЛЬНОЕ МЕНЮ ===== */
.mobile-menu-wrapper {
  display: none;
  position: fixed !important;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: #2a2f3e;
  z-index: 99999 !important; /* ВЫШЕ overlay! */
  padding: 0;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
  /* БЕЗ backdrop-filter! */
}

body.menu-open .mobile-menu-wrapper {
  display: block !important;
}

/* ===== КНОПКА ГАМБУРГЕР ===== */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 100000; /* Выше всего */
  position: relative;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

/* Анимация гамбургера в крестик */
body.menu-open .mobile-menu-toggle {
  /* Можно скрыть или оставить для анимации */
}

body.menu-open .mobile-menu-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

body.menu-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .mobile-menu-toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== КНОПКА ЗАКРЫТИЯ (X) ===== */
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-close:hover {
  background: rgba(201, 169, 97, 0.3);
  border-color: #c9a961;
  transform: rotate(90deg);
}

.mobile-menu-close::before,
.mobile-menu-close::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

.mobile-menu-close::before {
  transform: rotate(45deg);
}

.mobile-menu-close::after {
  transform: rotate(-45deg);
}

.mobile-menu-close:hover::before,
.mobile-menu-close:hover::after {
  background: #c9a961;
}

/* ===== КОНТЕНТ МЕНЮ ===== */
.mobile-menu-content {
  padding: 75px 25px 30px;
  min-height: 100%;
}

.mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu li:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  display: block;
  padding: 18px 0;
  transition: all 0.3s;
}

.mobile-menu a:hover {
  color: #c9a961;
  padding-left: 10px;
}

/* ===== БЛОКИРОВКА ПРОКРУТКИ ===== */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .desktop-menu {
    display: none;
  }
}

/* Принудительно поднимаем меню выше overlay */
.mobile-menu-wrapper {
  z-index: 9999999 !important; /* Очень большое число */
}

.mobile-menu-overlay {
  z-index: 999999 !important; /* Меньше чем меню */
}

.mobile-menu-toggle {
  z-index: 10000000 !important; /* Самое высокое */
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

@media (max-width: 1200px) {
  .contact-phone-block {
    gap: 8px;
    padding-right: 20px;
  }
  
  .phone-info a {
    font-size: 15px;
  }
  
  .header-contacts {
    gap: 20px;
  }
}

@media (max-width: 992px) {
  .header-top {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }
  
  .header-contacts {
    flex-direction: column;
    gap: 20px;
    width: 100%;
    justify-content: center;
  }
  
  .contact-phone-block {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 0;
    padding-bottom: 15px;
  }
  
  .header-bottom {
    flex-direction: column;
    gap: 20px;
  }
  
  .desktop-menu {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .desktop-menu li a {
    margin: 5px 15px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .desktop-menu {
    display: none;
  }
  
  .header-bottom {
    justify-content: center;
  }
  
  .head-button {
    width: 100%;
    max-width: 300px;
  }
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  background: #f8f9fa;
  margin-top: auto;
}

/* Main Content */
.main-content {
  min-height: 70vh;
	background: #2a2f3e;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #333;
    color: #fff;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
}

.cookie-notice-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-policy-link {
    color: #4da6ff;
    text-decoration: underline;
    margin-left: 5px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn-accept,
.cookie-btn-decline {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.cookie-btn-accept {
    background: #4da6ff;
    color: #fff;
}

.cookie-btn-decline {
    background: transparent;
    color: #ccc;
    border: 1px solid #ccc;
}

@media (max-width: 768px) {
    .cookie-notice-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

.custom-paragraph {
	max-width: 1200px;
	margin: 20px auto;
}

.wp-block-heading {
	max-width: 1200px;
	margin: 20px auto;
	font-size: 1.6rem;
    color: #1a2a6c;
	text-align: center;
}

/* Стили для вывода записей */
.posts-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.post-card {
  margin-bottom: 40px;
  border: 1px solid #eee;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.post-content {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.post-image {
  flex-shrink: 0;
}

.post-image img {
  width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: 5px;
}

.post-text {
  flex-grow: 1;
}

.post-title {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 24px;
}

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

.post-title a:hover {
  color: #ebd1a0;
}

.post-meta {
  margin-bottom: 15px;
  font-size: 14px;
  color: #777;
}

.post-meta span {
  margin-right: 15px;
}

.post-meta a {
  color: #777;
  text-decoration: none;
}

.post-meta a:hover {
  color: #ebd1a0;
  text-decoration: underline;
}

.post-excerpt {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #666;
}

.read-more-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ebd1a0;
  color: white;
  text-decoration: none;
  border-radius: 3px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.read-more-btn:hover {
  background-color: #005177;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .post-content {
    flex-direction: column;
  }
  
  .post-image img {
    width: 100%;
    height: auto;
  }
}







/* Стили для страницы отдельной записи */
.post-header, .post-content-str, .post-tags {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.post-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
  gap: 30px;
}

.post-title-section {
  flex: 1;
}

.single-post-title {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 32px;
  line-height: 1.2;
}

.single-post-thumbnail {
  flex-shrink: 0;
}

.single-post-thumbnail img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 5px;
}

.post-meta {
  margin-bottom: 15px;
  font-size: 14px;
  color: #777;
}

.post-meta span {
  margin-right: 15px;
}

.post-meta a {
  color: #777;
  text-decoration: none;
}

.post-meta a:hover {
  color: #ebd1a0;
}

.post-content-str {
display: flex;
    align-items: flex-start;
    flex-direction: column;
}





.post-tags {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.tags-label {
  font-weight: bold;
  margin-bottom: 10px;
}

.post-tags a {
  display: inline-block;
  padding: 5px 10px;
  background-color: #f5f5f5;
  color: #555;
  text-decoration: none;
  border-radius: 3px;
  margin-right: 5px;
  margin-bottom: 5px;
  font-size: 14px;
}

.post-tags a:hover {
  background-color: #0073aa;
  color: white;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .post-header {
    flex-direction: column;
  }
  
  .single-post-thumbnail {
    order: -1;
    margin-bottom: 20px;
    align-self: center;
  }
  
  .single-post-title {
    font-size: 28px;
  }
}











/*MY-STYLE*/

         .parallax-container {
            position: relative;
            height: 70vh;
            overflow: hidden;
            background: url('https://ch077441.tw1.ru/wp-content/uploads/2025/11/Copilot_20251116_182413.png') center/cover no-repeat;
        }

        .parallax-layer {
            position: absolute;
            will-change: transform;
            transition: transform 0.1s ease-out;
        }

        .img-left {
            bottom: 0;
            left: 0;
            width: 50%;
            max-width: 550px;
            z-index: 2;
        }

        .img-center {
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 40%;
            max-width: 500px;
            z-index: 1;
        }

        .img-right {
            bottom: 0;
            right: 0;
            width: 20%;
            max-width: 250px;
            z-index: 3;
        }

        .text-block {
            position: absolute;
            top: 50%;
            right: 5%;
            transform: translateY(-50%);
            background: rgb(41 41 41 / 15%);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            padding: 25px;
            width: 320px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.1);
            z-index: 4;
        }

        .text-block h3 {
            color: #fff;
            margin-bottom: 20px;
            font-size: 1.5rem;
            text-align: center;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .feature {
            display: flex;
            align-items: center;
            margin-bottom: 18px;
            color: #fff;
        }

        .feature:last-child {
            margin-bottom: 0;
        }

        .feature i {
            font-size: 1.5rem;
            margin-right: 15px;
            color: #ebd1a0;
            flex-shrink: 0;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .feature-text {
            font-size: 1rem;
            line-height: 1.4;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        }

         .center-button {
            position: absolute;
            top: calc(50% + 180px);
            left: 50%;
            transform: translateX(-50%);
            background-color: #ebd1a0;
            color: #333;
            border: none;
            padding: 12px 30px;
            border-radius: 30px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            z-index: 5;
        }

        .center-button:hover {
            background-color: #e0c089;
            transform: translateX(-50%) scale(1.05);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        }

        /* Popup окно */
        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

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

        .popup-content {
            background-color: #fff;
            border-radius: 10px;
            width: 90%;
            max-width: 500px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            position: relative;
            transform: translateY(20px);
            transition: transform 0.3s ease;
        }

        .popup-overlay.active .popup-content {
            transform: translateY(0);
        }

        .popup-close {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 1.5rem;
            background: none;
            border: none;
            cursor: pointer;
            color: #888;
            transition: color 0.3s ease;
        }

        .popup-close:hover {
            color: #333;
        }

        .popup-title {
            margin-bottom: 20px;
            text-align: center;
            color: #333;
            font-size: 1.5rem;
        }

        .contact-form {
            display: flex;
            flex-direction: column;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-label {
            display: block;
            margin-bottom: 8px;
            color: #555;
            font-weight: 500;
        }

        .form-input, .form-textarea {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
            transition: border-color 0.3s ease;
        }

        .form-input:focus, .form-textarea:focus {
            border-color: #ebd1a0;
            outline: none;
        }

        .form-textarea {
            min-height: 100px;
            resize: vertical;
        }

        .required {
            color: #e74c3c;
        }

        .submit-btn {
            background-color: #ebd1a0;
            color: #333;
            border: none;
            padding: 12px 20px;
            border-radius: 5px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .submit-btn:hover {
            background-color: #e0c089;
        }

        .error-message {
            color: #e74c3c;
            font-size: 0.9rem;
            margin-top: 5px;
            display: none;
        }

        /* Адаптивность */
        @media (max-width: 992px) {
            .img-left, .img-right {
                width: 30%;
            }
            
            .img-center {
                width: 50%;
            }
            
            .text-block {
                width: 280px;
                right: 3%;
            }
            
            .center-button {
                top: calc(50% + 150px);
            }
        }

        @media (max-width: 768px) {
            .img-left, .img-right {
                width: 35%;
            }
            
            .img-center {
                width: 60%;
            }
            
            .text-block {
                position: relative;
                top: auto;
                right: auto;
                transform: none;
                width: 90%;
                max-width: 400px;
                margin: 30px auto;
            }
            
            .parallax-container {
                height: auto;
                min-height: 70vh;
                padding: 20px 0;
            }
            
            .center-button {
                position: relative;
                top: auto;
                left: auto;
                transform: none;
                margin: 20px auto;
                display: block;
            }
        }

        @media (max-width: 576px) {
            .img-left, .img-right {
                width: 40%;
            }
            
            .img-center {
                width: 70%;
            }
            
            .feature {
                flex-direction: column;
                text-align: center;
            }
            
            .feature i {
                margin-right: 0;
                margin-bottom: 8px;
            }
            
            .popup-content {
                padding: 20px;
            }
        }






             .services-section {
            padding: 60px 20px;
            max-width: 1400px;
            margin: 0 auto;
        }

        .section-title, h2 {
            text-align: center;
            margin-bottom: 50px;
            font-size: 2.5rem;
            color: white;
            position: relative;
        }

.blackttl {
	color: black !important;
}

        .section-title:after, h2:after {
            content: '';
            display: block;
            width: 100px;
            height: 3px;
            background-color: #ebd1a0;
            margin: 15px auto 0;
        }

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

        .service-item {
			    margin: auto;
    width: 250px;
    height: 300px;
            position: relative;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            aspect-ratio: 4/3;
            background-color: #fff;
        }

        .service-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        }

        .service-link {
            display: block;
            height: 100%;
            text-decoration: none;
            color: inherit;
        }

        .service-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.4s ease;
        }

        .service-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.9);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 20px;
            opacity: 0;
            transition: opacity 0.4s ease;
            text-align: center;
            overflow-y: auto;
        }

        .service-item:hover .service-overlay {
            opacity: 1;
        }

        .service-item:hover .service-image {
            filter: brightness(1.2) blur(2px);
            transform: scale(1.05);
        }

        .service-title {
            color: #222;
            font-size: 1.1rem;
            margin-bottom: 15px;
            font-weight: 600;
        }

        .service-underline {
            width: 50px;
            height: 2px;
            background-color: #ebd1a0;
            margin-bottom: 15px;
        }

        .service-description {
            color: #444;
            font-size: 0.95rem;
            line-height: 1.5;
        }

        /* Адаптивность */
        @media (max-width: 1200px) {
            .services-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 768px) {
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .service-overlay {
                padding: 15px;
            }
            
            .service-title {
                font-size: 1.2rem;
            }
            
            .service-description {
                font-size: 0.85rem;
            }
        }

        @media (max-width: 576px) {
            .services-grid {
                grid-template-columns: 1fr;
            }
            
            .section-title {
                font-size: 1.8rem;
            }
            
            .services-section {
                padding: 40px 15px;
            }
        }









        .grid-block {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0;
            overflow: hidden;
            
        }
        
        .item {
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        .black-bg {
            background-color: 1a1a1a;
            color: #fff;
        }
        
        .white-bg {
            background-color: #fff;
			    border-radius: 0 50px 0 0;
            color: #333;
        }


        
        .img-block {
            padding: 0;
            overflow: hidden;
        }
        
        .img-block img {
            width: 100%;
            height: 550px;
            object-fit: contain;
            transition: transform 0.5s ease;
        }
        
        .img-block:hover img {
            transform: scale(1.05);
        }
        

        
        p {
            margin-bottom: 15px;
            font-size: 1.1rem;
        }
        
        ul {
            margin: 20px 0;
            padding-left: 20px;
        }
        
        li {
            margin-bottom: 10px;
            font-size: 1rem;
        }
        
        form {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        input, textarea {
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
            transition: border-color 0.3s;
        }
        
        input:focus, textarea:focus {
            outline: none;
            border-color: #d4af37;
        }
        
        textarea {
            min-height: 150px;
            resize: vertical;
        }
        
        .contact-block p {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 15px;
        }
        
        .contact-block a {
            color: #d4af37;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .contact-block a:hover {
            color: #fff;
            text-decoration: underline;
        }
        
        .contact-block p i {
            color: #d4af37;
            width: 20px;
        }
        
        /* Адаптивность для планшетов */
        @media (max-width: 992px) {
            .grid-block {
                grid-template-columns: 1fr;
            }
            
            .item {
                padding: 30px;
            }
            
            h2 {
                font-size: 1.8rem;
            }
            
            h3 {
                font-size: 1.6rem;
            }
        }
        
        /* Адаптивность для мобильных устройств */
        @media (max-width: 576px) {
            .container {
                padding: 10px;
            }
            
            .item {
                padding: 20px;
            }
            
            h2 {
                font-size: 1.6rem;
            }
            
            h3 {
                font-size: 1.4rem;
            }
            
            p, li {
                font-size: 1rem;
            }
        }















      
        
        .subtitle {
            font-size: 1.2rem;
            color: #ccc;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .cases-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
			    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
        }
        
        .case-card {
            background-color: #2a2a2a;
            border-radius: 10px;
            overflow: hidden;
            transition: transform 0.3s, box-shadow 0.3s;
            cursor: pointer;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        .case-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        }
        
        .case-header {
            background-color: #ebd1a0;
            color: #1a1a1a;
            padding: 20px;
            text-align: center;
        }
        
        .case-title {
            font-size: 1.3rem;
            font-weight: bold;
            margin-bottom: 10px;
        }
        
        .case-summary {
            padding: 20px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        
        .case-summary p {
            margin-bottom: 15px;
            color: #ddd;
        }
        
        .case-stats {
            display: flex;
            justify-content: space-between;
            margin-top: 15px;
            font-weight: bold;
            color: #ebd1a0;
        }
        
        .read-more {
            background-color: #ebd1a0;
            color: #1a1a1a;
            border: none;
            padding: 10px 15px;
            border-radius: 5px;
            font-weight: bold;
            cursor: pointer;
            margin-top: 15px;
            transition: background-color 0.3s;
        }
        
        .read-more:hover {
            background-color: #d4b980;
        }
        
        /* Модальное окно */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            z-index: 1000;
            overflow-y: auto;
            padding: 20px;
        }
        
        .modal-content {
            background-color: #2a2a2a;
            max-width: 900px;
            margin: 40px auto;
            border-radius: 10px;
            overflow: hidden;
            position: relative;
            box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
        }
        
        .close-modal {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 2rem;
            color: #ebd1a0;
            cursor: pointer;
            z-index: 10;
            transition: color 0.3s;
        }
        
        .close-modal:hover {
            color: #fff;
        }
        
        .modal-header {
            background-color: #ebd1a0;
            color: #1a1a1a;
            padding: 25px;
        }
        
        .modal-title {
            font-size: 1.8rem;
            margin-bottom: 10px;
        }
        
        .modal-subtitle {
            font-size: 1.1rem;
            color: #333;
        }
        
        .modal-body {
            padding: 30px;
        }
        
        /* Вертикальная дорожная карта */
        .timeline {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .timeline::after {
            content: '';
            position: absolute;
            width: 4px;
            background-color: #ebd1a0;
            top: 0;
            bottom: 0;
            left: 50%;
            margin-left: -2px;
            border-radius: 2px;
        }
        
        .timeline-step {
            padding: 20px 40px;
            position: relative;
            background-color: inherit;
            width: 50%;
            margin-bottom: 30px;
        }
        
        .timeline-step::after {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            right: -10px;
            background-color: #2a2a2a;
            border: 4px solid #ebd1a0;
            top: 30px;
            border-radius: 50%;
            z-index: 1;
        }
        
        .left {
            left: 0;
        }
        
        .right {
            left: 50%;
        }
        
        .right::after {
            left: -10px;
        }
        
        .step-content {
            padding: 20px;
            background-color: #3a3a3a;
            position: relative;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

.step-content p {
	color: white;
}
        
        .step-title {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            color: #ebd1a0;
            font-size: 1.4rem;
        }
        
        .step-title i {
            margin-right: 10px;
            font-size: 1.2rem;
        }
        
        .results-highlight {
            background-color: rgba(235, 209, 160, 0.1);
            border-left: 4px solid #ebd1a0;
            padding: 20px;
            border-radius: 0 5px 5px 0;
            margin-top: 20px;
        }
        
        .results-highlight h3 {
            color: #ebd1a0;
            margin-bottom: 15px;
        }
        
        .results-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 15px;
        }
        
        .result-item {
            background-color: #3a3a3a;
            padding: 15px;
            border-radius: 5px;
            display: flex;
            align-items: center;
        }
        
        .result-item i {
            color: #4CAF50;
            margin-right: 10px;
            font-size: 1.2rem;
        }
        
        footer {
            text-align: center;
            padding: 30px 0;
            margin-top: 50px;
            border-top: 1px solid #333;
            color: #999;
        }
        
        /* Адаптивность */
        @media (max-width: 992px) {
            .cases-grid {
                grid-template-columns: 1fr;
            }
            
            .timeline::after {
                left: 31px;
            }
            
            .timeline-step {
                width: 100%;
                padding-left: 70px;
                padding-right: 25px;
            }
            
            .timeline-step::after {
                left: 21px;
            }
            
            .left::after, .right::after {
                left: 21px;
            }
            
            .right {
                left: 0;
            }
            
            .results-list {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 768px) {
            h1 {
                font-size: 2.2rem;
            }
            
            .modal-content {
                margin: 20px auto;
            }
            
            .modal-body {
                padding: 20px;
            }
        }








        
        .containerrev {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }
        
        .reviews-section {
            padding: 60px 0;
        }
        
        .section-header {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .section-header h2 {
            font-size: 2.5rem;
            color: #ffffff;
            margin-bottom: 15px;
        }
        
        .section-subtitle {
            font-size: 1.1rem;
            color: #b0b0b0;
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.6;
        }
        
        .carousel-wrapper {
            position: relative;
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 50px;
        }
        
        .carousel-container {
            overflow: hidden;
            border-radius: 12px;
        }
        
        .carousel-track {
            display: flex;
            transition: transform 0.5s ease-in-out;
        }
        
        .review-card {
            flex: 0 0 calc(33.333% - 20px);
            margin: 0 10px;
            background: #2d2d2d;
            border-radius: 12px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            display: flex;
            flex-direction: column;
            min-height: 350px;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .review-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
        }
        
        .review-header {
            display: flex;
            align-items: flex-start;
            margin-bottom: 20px;
        }
        
        .client-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, #3498db, #8e44ad);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            font-weight: bold;
            margin-right: 15px;
            flex-shrink: 0;
        }
        
        .client-info {
            flex-grow: 1;
        }
        
        .client-name {
            font-weight: 700;
            font-size: 1.2rem;
            color: #ffffff;
            margin-bottom: 5px;
        }
        
        .client-case {
            font-size: 0.9rem;
            color: #b0b0b0;
        }
        
        .review-text {
            flex-grow: 1;
            line-height: 1.6;
            color: #e0e0e0;
            font-style: italic;
        }
        
        .carousel-nav {
            display: flex;
            justify-content: center;
            margin-top: 30px;
        }
        
        .carousel-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: #444;
            margin: 0 8px;
            cursor: pointer;
            transition: background-color 0.3s, transform 0.3s;
        }
        
        .carousel-dot.active {
            background-color: #3498db;
            transform: scale(1.2);
        }
        
        .carousel-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: #3498db;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            color: white;
            transition: all 0.3s;
            z-index: 10;
        }
        
        .carousel-btn:hover {
            background: #2980b9;
            transform: translateY(-50%) scale(1.1);
        }
        
        .carousel-btn.prev {
            left: 0;
        }
        
        .carousel-btn.next {
            right: 0;
        }
        
        /* Адаптивность */
        @media (max-width: 992px) {
            .review-card {
                flex: 0 0 calc(50% - 20px);
            }
        }
        
        @media (max-width: 768px) {
            .review-card {
                flex: 0 0 calc(100% - 20px);
            }
            
            .carousel-btn {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }
            
            .section-header h2 {
                font-size: 2rem;
            }
            
            .carousel-wrapper {
                padding: 0 40px;
            }
        }



.results-list div span {
	color: white !important;
}