:root {
    --bg-main: #0a0a0c;
    --bg-card: #121317;
    --bg-light: #1a1b22;
    --primary: #e5a93c;
    --primary-hover: #f3be5d;
    --text-main: #ffffff;
    --text-muted: #9aa0a6;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(229, 169, 60, 0.25);
    --radius: 12px;
    --transition: all 0.3s ease;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 20px 20px;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  /* ШАПКА */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
  }
  
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .logo-img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    /* Мягкая золотистая подложка и подсветка */
    background: radial-gradient(circle, rgba(229, 169, 60, 0.22) 0%, rgba(20, 20, 25, 0.95) 75%);
    border: 1.5px solid var(--primary);
    box-shadow: 0 0 20px rgba(229, 169, 60, 0.35), inset 0 0 10px rgba(229, 169, 60, 0.2);
    padding: 2px;
    transition: var(--transition);
  }
  
  .logo-img:hover {
    box-shadow: 0 0 28px rgba(229, 169, 60, 0.6);
    transform: scale(1.04);
  }

  .logo-text {
    display: flex;
    flex-direction: column;
  }
  
  .logo-brand {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--primary);
    text-transform: uppercase;
  }
  
  .logo-tag {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
  }
  
  .nav-menu {
    display: flex;
    gap: 25px;
  }
  
  .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
  }
  
  .nav-link:hover {
    color: var(--primary);
  }
  
  .header-socials {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50% !important;
    overflow: hidden !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem; /* Крупный значок */
    transition: all 0.3s ease;
  }
  
  .social-icon.insta:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    border-color: transparent;
    box-shadow: 0 0 16px rgba(214, 36, 159, 0.45);
  }
  
  /* Белый четкий значок внутри круга (без прозрачности и без раздувания) */
  .social-icon.insta:hover i {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    transform: none !important;
  }

  .social-icon.tg:hover {
    background: #229ED9;
    color: #fff;
    border-color: #229ED9;
  }
  
  .social-icon.wa:hover {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
  }
  
  .burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
  }
  
  .burger span {
    width: 24px;
    height: 2px;
    background: #fff;
  }
  
  /* ПЕРВЫЙ ЭКРАН */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
  }
  
  .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  
  .hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10,10,12,0.95) 0%, rgba(10,10,12,0.7) 50%, rgba(10,10,12,0.95) 100%);
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 650px;
  }

  .hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
  }

  .hero-logo-box {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero-logo-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(229, 169, 60, 0.28) 0%, rgba(229, 169, 60, 0.05) 55%, transparent 75%);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(20px);
  }

  .hero-main-logo {
    position: relative;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(229, 169, 60, 0.35);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }

  .hero-main-logo:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8), 0 0 35px rgba(229, 169, 60, 0.55);
  }

  .hero-logo-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(229, 169, 60, 0.3) 0%, transparent 70%);
    border-radius: 50%;
  }
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(229, 169, 60, 0.12);
    color: var(--primary);
    border: 1px solid var(--border-gold);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
  }
  
  .hero-title {
    font-size: 3.2rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 20px;
  }
  
  .hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 35px;
  }
  
  .hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }
  
  /* КНОПКИ */
  .btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .btn-primary {
    background: var(--primary);
    color: #000;
    border: none;
  }
  
  .btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(229, 169, 60, 0.3);
  }
  
  .btn-outline {
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
  }
  
  .btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
  }
  
  /* СЕКЦИИ */
  .section {
    padding: 100px 0;
  }
  
  .section-head {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
  }
  
  .section-tag {
    color: var(--primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
  }
  
  .section-title {
    font-size: 2.3rem;
    font-weight: 700;
    margin: 8px 0 12px 0;
  }
  
  .section-desc {
    color: var(--text-muted);
    font-size: 1rem;
  }
  
  /* УСЛУГИ */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
  }
  
  .service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
  }
  
  .service-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-gold);
  }
  
  .service-img-box {
    height: 200px;
    overflow: hidden;
  }
  
  .service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .service-card:hover .service-img {
    transform: scale(1.05);
  }
  
  .service-body {
    padding: 24px;
    position: relative;
  }
  
  .service-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
  }
  
  .service-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 12px;
  }
  
  .service-body h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
  }
  
  .service-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
  }
  
  /* ДО И ПОСЛЕ СЛАЙДЕР */
  .comparison-section {
    background: #070708;
  }
  
  .ba-slider-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 500px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-gold);
    user-select: none;
    touch-action: pan-y;
    cursor: ew-resize;
  }
  
  .ba-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .ba-before-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
  }
  
  .ba-before-wrap .ba-img {
    width: 900px;
    max-width: none;
  }
  
  .ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    bottom: 0;
    width: 4px;
    background: #fff;
    z-index: 3;
    transform: translateX(-50%);
    pointer-events: none;
  }
  
  .ba-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    background: var(--primary);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    font-size: 1rem;
  }
  
  .ba-label {
    position: absolute;
    top: 20px;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 4;
  }
  
  .label-before { left: 20px; color: #ff5e5e; }
  .label-after { right: 20px; color: #4ade80; }
  
  .comparison-footer-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
  }
  
  .info-pill {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
  }
  
  .info-pill strong {
    color: #fff;
  }
  
  .info-pill i {
    color: var(--primary);
    margin-right: 6px;
  }
  
  /* ПЕРФОРАЦИЯ */
  .perf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
  }
  
  .perf-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
    transition: var(--transition);
  }
  
  .perf-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
  }
  
  /* Окно превью для фото */
  .perf-preview {
    height: 180px;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
    background: #0f1015;
  }
  
  .perf-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    display: block;
  }

    /* Красивое приближение фактуры кожи при наведении */
  .perf-card:hover .perf-img {
    transform: scale(1.08);
  }

  .perf-pattern {
    width: 100%;
    height: 100%;
  }
  
  .pattern-maybach {
    background-image: 
      radial-gradient(circle, var(--primary) 1.5px, transparent 1.5px),
      radial-gradient(circle, var(--primary) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
  }
  
  .pattern-rs {
    background: radial-gradient(circle at 50% 50%, #fff 2px, transparent 2.5px);
    background-size: 14px 14px;
  }
  
  .pattern-gt {
    background: radial-gradient(circle at 50% 50%, var(--text-muted) 1px, transparent 1.5px);
    background-size: 8px 8px;
  }
  
  .pattern-custom {
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, var(--primary) 10px, var(--primary) 11px);
    opacity: 0.5;
  }
  
  .perf-info h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }
  
  .perf-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
  }
  
  /* ПОРТФОЛИО */
  .filter-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 35px;
    flex-wrap: wrap;
  }
  
  .filter-btn {
    padding: 8px 20px;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.85rem;
  }
  
  .filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
  }
  
  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
  }
  
  .work-item {
    position: relative;
    height: 280px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
  }
  
  .work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
  }
  
  .work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transform: translateY(15px);
    opacity: 0.9;
    transition: var(--transition);
  }
  
  .work-item:hover img {
    transform: scale(1.08);
  }
  
  .work-item:hover .work-overlay {
    transform: translateY(0);
    opacity: 1;
  }
  
  .work-overlay h4 {
    font-size: 1.15rem;
    color: #fff;
  }
  
  .work-overlay span {
    font-size: 0.85rem;
    color: var(--primary);
  }
  
  /* КОНТАКТЫ */
  .contact-box {
    background: linear-gradient(135deg, #15161c 0%, #0d0e12 100%);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .contact-title {
    font-size: 2.4rem;
    margin: 10px 0 15px 0;
  }
  
  .contact-desc {
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto 35px auto;
    font-size: 1rem;
  }
  
  .direct-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
  }
  
  .chat-btn {
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
  }
  
  .insta-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
  }
  
  .wa-btn {
    background: #25D366;
    color: #fff;
  }
  
  .tg-btn {
    background: #229ED9;
    color: #fff;
  }
  
  .chat-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
  }
  
  /* ПОДВАЛ */
  .footer {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    background: #070708;
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
  }
  
  .footer-socials {
    display: flex;
    gap: 15px;
  }
  
  .footer-socials a {
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: var(--transition);
  }
  
  .footer-socials a:hover {
    color: var(--primary);
  }
  
  /* ПЛАВАЮЩАЯ КНОПКА */
  .floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
  }
  
  .floating-btn:hover {
    transform: scale(1.1);
  }
  
  /* МОБИЛЬНЫЕ СТИЛИ */
  @media (max-width: 860px) {
    .nav-menu {
      position: fixed;
      top: 80px;
      left: -100%;
      width: 100%;
      height: calc(100vh - 80px);
      background: var(--bg-main);
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 30px;
      transition: var(--transition);
    }
  
    .nav-menu.active {
      left: 0;
    }
  
    .burger {
      display: flex;
    }
  
    .hero-title {
      font-size: 2.2rem;
    }
  
    .ba-slider-container {
      height: 340px;
    }
  
    .ba-before-wrap .ba-img {
      width: 100vw;
    }
  
    .contact-box {
      padding: 35px 20px;
    }
  
    .footer-content {
      flex-direction: column;
      gap: 15px;
      text-align: center;
    }
    
    .hero-container {
      flex-direction: column-reverse;
      text-align: center;
      padding-top: 30px;
      gap: 25px;
    }
  
    .hero-content {
      max-width: 100%;
    }
  
    .hero-actions {
      justify-content: center;
    }
  
    .hero-main-logo {
      width: 180px;
      height: 180px;
    }
  
    .hero-logo-glow {
      width: 200px;
      height: 200px;
    }
  }