 /* Общие стили */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      line-height: 1.6;
      color: #333;
      background-color: #fcfcfc;
    }

    .container {
      width: 90%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 15px;
    }

    /* Шапка */
    header {
      background: #1a1a1a;
      color: white;
      padding: 15px 0;
      position: fixed;
      width: 100%;
      top: 0;
      z-index: 1000;
    }

.logo-animated {
  animation: pulse 9s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

    nav ul {
      display: flex;
      list-style: none;
    }

    nav ul li {
      margin-left: 25px;
    }

    nav ul li a {
      color: white;
      text-decoration: none;
      font-weight: 500;
      transition: color 0.3s;
    }

    nav ul li a:hover {
      color: #e74c3c;
    }

    /* Герой-секция */
    .hero {
      background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('');
      background-size: cover;
      background-position: center;
      height: 100vh;
      display: flex;
      align-items: center;
      color: white;
      text-align: center;
      margin-top: 60px;
    }

    .hero-content {
      max-width: 800px;
      margin: 0 auto;
    }

    .hero h1 {
      font-size: 3rem;
      margin-bottom: 20px;
    }

    .hero p {
      font-size: 1.2rem;
      margin-bottom: 30px;
    }

    .btn {
      display: inline-block;
      background: #e74c3c;
      color: white;
      padding: 12px 30px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      transition: background 0.3s;
    }

    .btn:hover {
      background: #c0392b;
    }

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

    /* Секции */
    section {
      padding: 80px 0;
    }

    h2 {
      text-align: center;
      margin-bottom: 50px;
      font-size: 2.2rem;
      color: #1a1a1a;
    }

    /* Услуги */
    #services {
      background: white;
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
    }

    .service-card {
      background: #fff9f9;
      padding: 25px;
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.05);
      text-align: center;
      border-top: 4px solid #e74c3c;
    }

    .service-card h3 {
      margin: 15px 0;
      color: #1a1a1a;
    }

    /* Примеры работ */
    #portfolio {
      background: #f5f5f5;
    }

    .portfolio-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 20px;
    }

    .portfolio-item {
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .portfolio-item img {
      width: 100%;
      height: auto;
      display: block;
    }

    /* Преимущества */
    #advantages {
      background: white;
    }

    .advantages-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
    }

    .advantage-item {
      text-align: center;
      padding: 20px;
    }

    .advantage-item h3 {
      color: #e74c3c;
      margin: 15px 0;
    }

    /* Отзывы */
    #reviews {
      background: #f5f5f5;
    }

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

    .review-card {
      background: white;
      padding: 25px;
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    }

    .review-card p {
      font-style: italic;
      color: #555;
    }

    .review-card .author {
      margin-top: 15px;
      font-weight: bold;
      color: #1a1a1a;
    }

    /* Контакты */
    #contact {
      background: white;
    }

    .contact-info {
      text-align: center;
    }

    .contact-info p {
      margin: 10px 0;
      font-size: 1.1rem;
    }

    /* Футер */
    footer {
      background: #1a1a1a;
      color: white;
      text-align: center;
      padding: 25px 0;
    }

    /* Адаптивность */
      nav ul {
        flex-wrap: wrap;
        justify-content: center;
      }

      nav ul li {
        margin: 5px 10px;
      }

      .hero h1 {
        font-size: 2rem;
      }
    }

/*Scoped CSS услуги*/
        .engraving-service-section {
            font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
            background-color: #ffffff;
            color: #1a1a1a;
            padding: 80px 20px;
            box-sizing: border-box;
            overflow: hidden;
        }

        .engraving-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 60px;
        }

        /* Content Side */
        .engraving-content {
            flex: 1;
            min-width: 300px;
        }

        .engraving-label {
            display: inline-block;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: #7f8c8d;
            margin-bottom: 15px;
            font-weight: 600;
        }

        .engraving-title {
            font-size: 3rem;
            line-height: 1.1;
            font-weight: 800;
            margin: 0 0 25px 0;
            color: #2c3e50;
        }

        .engraving-title span {
            color: #e67e22; /* Accent color (Bronze/Heat) */
            position: relative;
            display: inline-block;
        }
        
        /* Underline effect for the span */
        .engraving-title span::after {
            content: '';
            position: absolute;
            bottom: 5px;
            left: 0;
            width: 100%;
            height: 8px;
            background-color: rgba(230, 126, 34, 0.2);
            z-index: -1;
        }

        .engraving-desc {
            font-size: 1.125rem;
            line-height: 1.7;
            color: #555;
            margin-bottom: 40px;
            max-width: 500px;
        }

        /* Features List */
        .engraving-features {
            list-style: none;
            padding: 0;
            margin: 0 0 40px 0;
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
        }

        .engraving-feature {
            display: flex;
            align-items: flex-start;
        }

        .engraving-icon {
            flex-shrink: 0;
            width: 40px;
            height: 40px;
            background: #f4f6f7;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            color: #2c3e50;
            font-weight: bold;
            font-size: 1.2rem;
        }

        .engraving-feature-text h4 {
            margin: 0 0 5px 0;
            font-size: 1.1rem;
            color: #2c3e50;
        }

        .engraving-feature-text p {
            margin: 0;
            font-size: 0.95rem;
            color: #7f8c8d;
        }

        /* Visual Side */
        .engraving-visual {
            flex: 1;
            min-width: 300px;
            position: relative;
        }

        .engraving-image-box {
            width: 100%;
            height: 500px;
            background-color: #f0f2f5;
            border-radius: 8px;
            position: relative;
            overflow: hidden;
            box-shadow: 20px 20px 0px rgba(230, 126, 34, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Placeholder styling */
        .engraving-placeholder-text {
            text-align: center;
            color: #bdc3c7;
        }
        .engraving-placeholder-text h3 {
            font-size: 2rem;
            margin: 0;
            opacity: 0.5;
        }
        .engraving-placeholder-text p {
            margin: 10px 0 0 0;
            font-size: 0.9rem;
        }

        /* Responsive */
        @media (max-width: 900px) {
            .engraving-container {
                flex-direction: column;
                gap: 40px;
            }
            .engraving-title {
                font-size: 2.2rem;
            }
            .engraving-image-box {
                height: 350px;
                width: 100%;
            }
        }

/* Scoped CSS преимущества */
        .why-us-section-light {
            font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
            background-color: #ffffff;
            color: #1a1a1a;
            padding: 80px 20px;
            box-sizing: border-box;
            border-top: 1px solid #eee;
        }

        .why-us-container-light {
            max-width: 1200px;
            margin: 0 auto;
        }

        /* Header */
        .why-us-header-light {
            text-align: center;
            margin-bottom: 60px;
        }

        .why-us-label-light {
            display: inline-block;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: #7f8c8d;
            margin-bottom: 15px;
            font-weight: 600;
        }

        .why-us-title-light {
            font-size: 2.5rem;
            font-weight: 800;
            color: #2c3e50;
            margin: 0;
        }

        /* Grid Layout */
        .why-us-grid-light {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
        }

        /* Cards */
        .why-us-card-light {
            background: #ffffff;
            padding: 40px 30px;
            border-radius: 8px;
            border: 1px solid #e0e0e0;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .why-us-card-light:hover {
            border-color: #e67e22;
            box-shadow: 0 15px 40px rgba(0,0,0,0.08);
            transform: translateY(-5px);
        }

        .why-us-card-number {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 3rem;
            font-weight: 900;
            color: #f5f5f5;
            line-height: 1;
        }

        .why-us-icon-light {
            width: 60px;
            height: 60px;
            background: #f8f9fa;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 25px;
            font-size: 1.8rem;
            border: 1px solid #eee;
        }

        .why-us-card-light h3 {
            font-size: 1.25rem;
            color: #2c3e50;
            margin: 0 0 15px 0;
            font-weight: 700;
        }

        .why-us-card-light p {
            font-size: 1rem;
            color: #666;
            line-height: 1.6;
            margin: 0;
        }

        /* Divider */
        .why-us-divider-light {
            height: 1px;
            background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
            margin: 60px 0;
        }

        /* Bottom Stats */
        .why-us-stats-light {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            gap: 30px;
            text-align: center;
        }

        .why-us-stat-item-light {
            flex: 1;
            min-width: 150px;
        }

        .why-us-stat-number-light {
            display: block;
            font-size: 3rem;
            font-weight: 800;
            color: #e67e22;
            line-height: 1;
            margin-bottom: 10px;
        }

        .why-us-stat-label-light {
            font-size: 0.9rem;
            color: #7f8c8d;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .why-us-title-light {
                font-size: 2rem;
            }
            .why-us-card-light {
                padding: 30px 20px;
            }
            .why-us-stats-light {
                flex-direction: column;
            }
        }

/* ========== БАЗОВЫЕ СТИЛИ ШАПКИ ========== */
.header-content {
    display: flex;
    justify-content: space-between; /* Лого слева, бургер справа */
    align-items: center;
    padding: 10px 0;
    position: relative; /* Для позиционирования меню */
}

.header-left {
    display: flex;
    align-items: center;
    z-index: 1002; /* Чтобы лого было поверх меню */
}

.logo img {
    max-height: 50px; /* Подстройте под ваш логотип */
    width: auto;
    display: block;
}

/* Меню на ПК */
.nav-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    color: inherit;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 12px;
}

/* Кнопка бургер (скрыта на ПК) */
.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1002; /* Поверх меню */
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========== МОБИЛЬНАЯ ВЕРСИЯ ========== */
@media (max-width: 768px) {
    
    /* Показываем бургер */
    .hamburger-btn {
        display: flex;
        order: 2; /* Вторым элементом (после лого) */
    }
    
    /* Логотип всегда первый */
    .header-left {
        order: 1;
    }
    
    /* Меню на мобильном — скрыто, будет выезжать */
    .nav-menu {
        position: fixed;
        top: 60px; /* Высота вашей шапки */
        left: -100%;
        flex-direction: column;
        width: 100%;
        background: #fff; /* 🎨 Поменяйте на цвет вашей шапки */
        padding: 20px 0;
        text-align: center;
        transition: left 0.3s ease;
        z-index: 1001;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    
    /* Показ меню */
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 10px 0;
    }
    
    .nav-menu li a {
        font-size: 18px;
        padding: 12px 20px;
        display: block;
    }
    
    /* Анимация бургера → крестик */
    .hamburger-btn.active .bar:nth-child(2) { opacity: 0; }
    .hamburger-btn.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger-btn.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 768px) {
    .nav-menu {
        background: #333; /* Тёмный фон */
    }
    .nav-menu li a {
        color: #fff; /* Белый текст */
    }
    .bar {
        background-color: #fff; /* Белые полоски */
    }
}

@media (max-width: 768px) {
    .engraving-container {
        flex-direction: column-reverse; /* Меняет порядок детей на обратный */
        gap: 20px;
    }
    
    .engraving-visual {
        width: 100%;
    }
}

/* ========== КНОПКА «НАВЕРХ» ========== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: #333; /* Цвет фона кнопки */
    color: #fff; /* Цвет стрелки */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; /* Скрыта по умолчанию */
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999; /* Поверх всех элементов */
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    padding: 0;
}

/* Состояние: кнопка видима */
.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Эффект при наведении */
.scroll-top:hover {
    background: #e74c3c; /* Цвет при наведении */
    transform: translateY(-3px);
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}