/* =========================================================
   🔤 LOCAL FONTS — MANROPE (нужные веса: 400, 500, 600, 700)
   ========================================================= */
/* ============================================
   ТЕСТЫМОНИАЛЫ (отзывы)
   ============================================ */

:root {
  --testimonial-bg: #f8fafc;
  --testimonial-card-bg: #ffffff;
  --testimonial-text: #334155;
  --testimonial-name: #0f172a;
  --testimonial-role: #64748b;
  --testimonial-star: #f59e0b;
  --testimonial-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --testimonial-radius: 16px;
  --testimonial-transition: all 0.3s ease;
}

.tablebodytext{
    display: none;
}
/* Кнопки навигации */
.swiper-testimonials .swiper-button-prev,
.swiper-testimonials .swiper-button-next {
  width: 44px;
  height: 44px;
  background-color: var(--testimonial-card-bg);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: var(--testimonial-transition);
  color: var(--testimonial-name);
}

.swiper-testimonials .swiper-button-prev::after,
.swiper-testimonials .swiper-button-next::after {
  font-size: 18px;
  font-weight: 700;
}

.swiper-testimonials .swiper-button-prev:hover,
.swiper-testimonials .swiper-button-next:hover {
  background-color: #3b82f6;
  color: #ffffff;
  transform: scale(1.1);
}

.swiper-testimonials .swiper-button-prev {
  left: 0;
}

.swiper-testimonials .swiper-button-next {
  right: 0;
}

/* Пагинация (точки) */
.swiper-testimonials .swiper-pagination {
  bottom: 10px;
}

.swiper-testimonials .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #cbd5e1;
  opacity: 1;
  transition: var(--testimonial-transition);
}

.swiper-testimonials .swiper-pagination-bullet-active {
  background-color: #3b82f6;
  width: 28px;
  border-radius: 5px;
}

/* Адаптив */
@media (max-width: 768px) {
  .testimonials-section {
    padding: 60px 0;
  }

  .testimonial-card {
    padding: 24px;
  }

  .swiper-testimonials .swiper-button-prev,
  .swiper-testimonials .swiper-button-next {
    display: none;
  }

  .testimonial-slide {
    min-height: 300px;
  }
}
/* Manrope Regular (400) */
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url('./files/manrope-cyrillic-ext-400-normal.woff2') format('woff2'),
         url('./files/manrope-cyrillic-ext-400-normal.woff') format('woff');
    unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url('./files/manrope-cyrillic-400-normal.woff2') format('woff2'),
         url('./files/manrope-cyrillic-400-normal.woff') format('woff');
    unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url('./files/manrope-latin-ext-400-normal.woff2') format('woff2'),
         url('./files/manrope-latin-ext-400-normal.woff') format('woff');
    unicode-range: U+0100-02AF,U+1E00-1E9F,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url('./files/manrope-latin-400-normal.woff2') format('woff2'),
         url('./files/manrope-latin-400-normal.woff') format('woff');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Manrope Medium (500) */
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-display: swap;
    font-weight: 500;
    src: url('./files/manrope-cyrillic-ext-500-normal.woff2') format('woff2'),
         url('./files/manrope-cyrillic-ext-500-normal.woff') format('woff');
    unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-display: swap;
    font-weight: 500;
    src: url('./files/manrope-cyrillic-500-normal.woff2') format('woff2'),
         url('./files/manrope-cyrillic-500-normal.woff') format('woff');
    unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-display: swap;
    font-weight: 500;
    src: url('./files/manrope-latin-ext-500-normal.woff2') format('woff2'),
         url('./files/manrope-latin-ext-500-normal.woff') format('woff');
    unicode-range: U+0100-02AF,U+1E00-1E9F,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-display: swap;
    font-weight: 500;
    src: url('./files/manrope-latin-500-normal.woff2') format('woff2'),
         url('./files/manrope-latin-500-normal.woff') format('woff');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Manrope SemiBold (600) */
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-display: swap;
    font-weight: 600;
    src: url('./files/manrope-cyrillic-ext-600-normal.woff2') format('woff2'),
         url('./files/manrope-cyrillic-ext-600-normal.woff') format('woff');
    unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-display: swap;
    font-weight: 600;
    src: url('./files/manrope-cyrillic-600-normal.woff2') format('woff2'),
         url('./files/manrope-cyrillic-600-normal.woff') format('woff');
    unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-display: swap;
    font-weight: 600;
    src: url('./files/manrope-latin-ext-600-normal.woff2') format('woff2'),
         url('./files/manrope-latin-ext-600-normal.woff') format('woff');
    unicode-range: U+0100-02AF,U+1E00-1E9F,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-display: swap;
    font-weight: 600;
    src: url('./files/manrope-latin-600-normal.woff2') format('woff2'),
         url('./files/manrope-latin-600-normal.woff') format('woff');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Manrope Bold (700) */
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url('./files/manrope-cyrillic-ext-700-normal.woff2') format('woff2'),
         url('./files/manrope-cyrillic-ext-700-normal.woff') format('woff');
    unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url('./files/manrope-cyrillic-700-normal.woff2') format('woff2'),
         url('./files/manrope-cyrillic-700-normal.woff') format('woff');
    unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url('./files/manrope-latin-ext-700-normal.woff2') format('woff2'),
         url('./files/manrope-latin-ext-700-normal.woff') format('woff');
    unicode-range: U+0100-02AF,U+1E00-1E9F,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url('./files/manrope-latin-700-normal.woff2') format('woff2'),
         url('./files/manrope-latin-700-normal.woff') format('woff');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* =========================================================
   🔤 LOCAL FONTS — PLUS JAKARTA SANS (нужные веса: 300, 700, 800, 900)
   ========================================================= */

/* Plus Jakarta Sans Light (300) */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 300;
    src: url('./files/plus-jakarta-sans-cyrillic-ext-300-normal.woff2') format('woff2'),
         url('./files/plus-jakarta-sans-cyrillic-ext-300-normal.woff') format('woff');
    unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 300;
    src: url('./files/plus-jakarta-sans-latin-ext-300-normal.woff2') format('woff2'),
         url('./files/plus-jakarta-sans-latin-ext-300-normal.woff') format('woff');
    unicode-range: U+0100-02AF,U+1E00-1E9F,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 300;
    src: url('./files/plus-jakarta-sans-latin-300-normal.woff2') format('woff2'),
         url('./files/plus-jakarta-sans-latin-300-normal.woff') format('woff');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Plus Jakarta Sans Bold (700) */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url('./files/plus-jakarta-sans-cyrillic-ext-700-normal.woff2') format('woff2'),
         url('./files/plus-jakarta-sans-cyrillic-ext-700-normal.woff') format('woff');
    unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url('./files/plus-jakarta-sans-latin-ext-700-normal.woff2') format('woff2'),
         url('./files/plus-jakarta-sans-latin-ext-700-normal.woff') format('woff');
    unicode-range: U+0100-02AF,U+1E00-1E9F,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url('./files/plus-jakarta-sans-latin-700-normal.woff2') format('woff2'),
         url('./files/plus-jakarta-sans-latin-700-normal.woff') format('woff');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Plus Jakarta Sans ExtraBold (800) */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 800;
    src: url('./files/plus-jakarta-sans-cyrillic-ext-800-normal.woff2') format('woff2'),
         url('./files/plus-jakarta-sans-cyrillic-ext-800-normal.woff') format('woff');
    unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 800;
    src: url('./files/plus-jakarta-sans-latin-ext-800-normal.woff2') format('woff2'),
         url('./files/plus-jakarta-sans-latin-ext-800-normal.woff') format('woff');
    unicode-range: U+0100-02AF,U+1E00-1E9F,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 800;
    src: url('./files/plus-jakarta-sans-latin-800-normal.woff2') format('woff2'),
         url('./files/plus-jakarta-sans-latin-800-normal.woff') format('woff');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Plus Jakarta Sans Black (900) */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 900;
    src: url('./files/plus-jakarta-sans-cyrillic-ext-900-normal.woff2') format('woff2'),
         url('./files/plus-jakarta-sans-cyrillic-ext-900-normal.woff') format('woff');
    unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 900;
    src: url('./files/plus-jakarta-sans-latin-ext-900-normal.woff2') format('woff2'),
         url('./files/plus-jakarta-sans-latin-ext-900-normal.woff') format('woff');
    unicode-range: U+0100-02AF,U+1E00-1E9F,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 900;
    src: url('./files/plus-jakarta-sans-latin-900-normal.woff2') format('woff2'),
         url('./files/plus-jakarta-sans-latin-900-normal.woff') format('woff');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* ===== CSS VARIABLES ===== */
:root {
    --primary: #2f4858;
    --accent: #FFD35D;
    --light: #f8f6f0;
    --white: #ffffff;
    --gray: #8a95a0;
    --text: #4a5a66;
    --dark: #1a2d3a;
}

/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Manrope', sans-serif;
    background: var(--light);
    color: var(--primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Project-page override: белый фон для страницы проекта */
body.page-project {
    background: var(--white);
    color: var(--text);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

/* =========================================================
   🧭 NAVBAR — ОБЩИЕ ЭЛЕМЕНТЫ (brand-custom)
   ========================================================= */
.navbar-brand-custom {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.navbar-brand-custom svg { overflow: visible; }

.navbar-brand-custom .brand-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.1;
    color: var(--primary);
}

.navbar-brand-custom .brand-text span { color: var(--accent); }

.navbar-brand-custom .brand-sub {
    font-size: 0.65rem;
    color: var(--gray);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Footer override для brand-text */
.footer-section .navbar-brand-custom .brand-text { font-size: 1.1rem; }

/* =========================================================
   🖱️ CURSOR GLOW
   ========================================================= */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,211,93,0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    will-change: transform;
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .cursor-glow { display: block; }
}

/* =========================================================
   🧭 NAVBAR — ГЛАВНАЯ / ОБЩИЙ (.navbar-custom)
   ========================================================= */
.navbar-custom {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: transparent !important;
    will-change: padding, background;
}

.navbar-custom.scrolled {
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(47,72,88,0.1);
    padding: 0.6rem 0;
}

.nav-link-custom {
    color: var(--primary) !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color 0.3s;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 0; left: 1rem; right: 1rem;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link-custom:hover { color: var(--accent) !important; }
.nav-link-custom:hover::after { transform: scaleX(1); }

.btn-nav-cta {
    background: var(--primary);
    color: var(--accent) !important;
    padding: 0.6rem 1.8rem !important;
    border-radius: 50px;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(47,72,88,0.3);
}

.btn-nav-cta:hover {
    background: var(--accent) !important;
    color: var(--primary) !important;
    transform: translateY(-2px);
}

.navbar-toggler-custom { border: none; padding: 0; z-index: 1001; }
.navbar-toggler-custom:focus { box-shadow: none; }

.hamburger-line {
    display: block;
    width: 26px; height: 2px;
    background: var(--primary);
    margin: 6px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger-active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger-active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger-active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* =========================================================
   🧭 NAVBAR — 3D PORTFOLIO PAGE (.navbar)
   ========================================================= */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(26,42,53,0.95);
    backdrop-filter: blur(20px);
    padding: 0.8rem 2rem;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
}

.logo span { color: var(--accent); }

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--accent); }

.nav-cta {
    padding: 0.6rem 1.5rem !important;
    background: var(--accent) !important;
    color: var(--dark) !important;
    border-radius: 50px;
    font-weight: 700 !important;
}

.nav-cta:hover {
    background: #fff !important;
    color: var(--dark) !important;
}

/* =========================================================
   🦸 HERO SECTION (Главная)
   ========================================================= */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light) 0%, #e8e4da 100%);
    padding-top: 100px;
}

.hero-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    will-change: transform;
}

.hero-shape-1 { width: 500px; height: 500px; background: var(--primary); top: -150px; right: -100px; animation: floatShape 20s infinite ease-in-out; }
.hero-shape-2 { width: 350px; height: 350px; background: var(--accent); bottom: -100px; left: -80px; animation: floatShape 20s infinite ease-in-out -7s; }
.hero-shape-3 { width: 250px; height: 250px; background: var(--primary); top: 40%; left: 40%; animation: floatShape 20s infinite ease-in-out -14s; }

@keyframes floatShape {
    0%, 100% { transform: translate(0,0) scale(1); }
    25% { transform: translate(25px,-25px) scale(1.05); }
    50% { transform: translate(-15px,20px) scale(0.95); }
    75% { transform: translate(10px,8px) scale(1.02); }
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(255,211,93,0.2);
    border: 1px solid rgba(255,211,93,0.4);
    padding: 0.5rem 1.2rem; border-radius: 50px;
    font-size: 0.8rem; font-weight: 700; color: var(--primary);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease forwards; opacity: 0;
}

.pulse-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: pulseDot 2s infinite; }
@keyframes pulseDot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: 0.5; } }

.hero-title {
    font-size: clamp(2rem, 5vw, 3.8rem);
    color: var(--primary); margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s forwards; opacity: 0;
}

.hero-title .highlight { position: relative; display: inline-block; }
.hero-title .highlight::after {
    content: ''; position: absolute; bottom: 4px; left: -4px; right: -4px;
    height: 12px; background: rgba(255,211,93,0.35); z-index: -1;
    transform: skewX(-5deg) scaleX(0); transform-origin: left;
    animation: highlightGrow 1s ease 1s forwards;
}
@keyframes highlightGrow { to { transform: skewX(-5deg) scaleX(1); } }

.hero-desc {
    font-size: 1.1rem; line-height: 1.8; color: var(--gray);
    margin-bottom: 2.5rem; max-width: 520px;
    animation: fadeInUp 0.8s ease 0.4s forwards; opacity: 0;
}

.hero-buttons {
    display: flex; flex-wrap: wrap; gap: 1rem;
    animation: fadeInUp 0.8s ease 0.6s forwards; opacity: 0;
}

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.btn-primary-custom {
    background: var(--primary); color: var(--accent);
    padding: 0.9rem 2.2rem; border: none; border-radius: 50px;
    font-size: 0.95rem; font-weight: 700; cursor: pointer;
    transition: all 0.4s ease; box-shadow: 0 8px 30px rgba(47,72,88,0.3);
    text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
}

.btn-primary-custom:hover {
        color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(47,72,88,0.4);
}

.btn-outline-custom {
    background: transparent; color: var(--primary);
    padding: 0.85rem 2.2rem; border: 2px solid var(--primary);
    border-radius: 50px; font-size: 0.95rem; font-weight: 700;
    cursor: pointer; transition: all 0.3s ease;
    text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
}

.btn-outline-custom:hover {
    background: var(--primary); color: var(--accent);
    transform: translateY(-3px);
}

.hero-visual { position: relative; width: 100%; height: 500px; z-index: 2; margin-right: 10rem;}
.hero-card {
    position: absolute; background: var(--white);
    border-radius: 20px; box-shadow: 0 20px 60px rgba(47,72,88,0.15);
    overflow: hidden; transition: transform 0.5s ease;
}
.hero-card:hover { transform: translateY(-10px) !important; }
.hero-card-1 { width: 280px; height: 350px; top: 20px; left: 0; z-index: 2; }
.hero-card-2 { width: 200px; height: 160px; bottom: 60px; right: 0; z-index: 3; padding: 1.5rem; display: flex; flex-direction: column; justify-content: center; }
.hero-card-1 img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-2 .card-stat { font-size: 2.5rem; font-weight: 700; color: var(--primary); }
.hero-card-2 .card-label { font-size: 0.85rem; color: var(--gray); margin-top: 0.3rem; }
.hero-card-2 .stat-bar { height: 4px; background: #eee; border-radius: 2px; margin-top: 0.8rem; overflow: hidden; }
.hero-card-2 .stat-bar-fill { height: 100%; background: var(--accent); animation: barGrow 2s ease 1.5s forwards; width: 0; }
@keyframes barGrow { to { width: 92%; } }
.hero-card-3 {
    position: absolute; background: var(--accent); color: var(--primary);
    padding: 1rem 1.5rem; border-radius: 15px; font-weight: 600; font-size: 0.9rem;
    top: 0; right: 30px; z-index: 4; box-shadow: 0 10px 30px rgba(255,211,93,0.4);
    animation: floatCard 4s ease-in-out infinite;
}
@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* =========================================================
   📢 MARQUEE
   ========================================================= */
.marquee-section { background: var(--accent); padding: 1.2rem 0; overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marqueeScroll 25s linear infinite; }
.marquee-item { font-size: 1.1rem; font-weight: 700; color: var(--primary); white-space: nowrap; padding: 0 2rem; display: flex; align-items: center; gap: 2rem; }
.marquee-dot { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; flex-shrink: 0; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   📊 STATS SECTION
   ========================================================= */
.stats-section { background: var(--primary); padding: 4rem 0; position: relative; overflow: hidden; }
.stats-section::before {
    content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFD35D' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stat-item { text-align: center; position: relative; z-index: 1; }
.stat-number { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 0.4rem; }
.stat-label { font-size: 0.9rem; color: rgba(255,255,255,0.7); }

/* =========================================================
   🏷️ SECTION HEADERS (общие)
   ========================================================= */
.section-tag {
    display: inline-block; background: rgba(255,211,93,0.2); color: var(--primary);
    padding: 0.4rem 1.2rem; border-radius: 50px; font-size: 0.75rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem;
}

/* Вариант .section-tag для тёмных фонов */
.section-tag-dark { background: rgba(255,211,93,0.15); color: var(--accent); }

/* Вариант .section-tag для 3D Portfolio (внутри .section-header) */
.section-header .section-tag {
    background: rgba(255,211,93,0.12);
    color: var(--accent);
    padding: 0.5rem 1.4rem;
    border: 1px solid rgba(255,211,93,0.25);
    font-size: 0.8rem;
    letter-spacing: 2.5px;
    margin-bottom: 1.2rem;
}

/* Вариант .section-tag для Process Header */
.process-header .section-tag {
    background: rgba(47,72,88,0.08);
    color: var(--primary);
    border-color: rgba(47,72,88,0.15);
}

.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--primary); margin-bottom: 1rem; }
.section-title-light { color: var(--white); }
.section-subtitle { font-size: 1rem; color: var(--gray); max-width: 550px; line-height: 1.7; margin: 0 auto; }
.section-subtitle-light { color: rgba(255,255,255,0.6); }

/* =========================================================
   🛠️ SERVICES SECTION (Главная — карточки)
   ========================================================= */
.services-section { padding: 5rem 0; }
.service-card {
    background: var(--white); border-radius: 20px; padding: 2.5rem 2rem;
    position: relative; overflow: hidden; transition: all 0.3s ease;
    border: 1px solid rgba(47,72,88,0.05); height: 100%;
    display: flex; flex-direction: column;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 15px 30px rgba(47,72,88,0.1); 
}
.service-icon-wrap {
    width: 64px; height: 64px; background: linear-gradient(135deg, rgba(255,211,93,0.2), rgba(255,211,93,0.05));
    border-radius: 18px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem; transition: all 0.4s ease;
}
.service-icon-wrap svg { width: 32px; height: 32px; color: var(--primary); }
.service-card:hover .service-icon-wrap { background: var(--accent); transform: scale(1.1); box-shadow: 0 10px 30px rgba(255,211,93,0.4); }
.service-card h4 { font-size: 1.2rem; margin-bottom: 0.8rem; color: var(--primary); }
.service-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.7; margin-bottom: 1.5rem; flex-grow: 1; }
.service-link {
    border: none; background: none; display: inline-flex; align-items: center; gap: 0.4rem;
    color: var(--primary); font-weight: 700; font-size: 0.85rem; text-decoration: none; transition: all 0.3s;
    margin-top: auto;
}
.service-card:hover .service-link { color: var(--accent); gap: 0.7rem; }

/* =========================================================
   🖼️ PORTFOLIO SECTION (Главная — Swiper)
   Используется :has() чтобы не конфликтовать с 3D-версией
   ========================================================= */
.portfolio-section:has(.portfolio-swiper),
.portfolio-section:has(.portfolio-slide) {
    padding: 5rem 0;
    background: var(--primary);
}

.portfolio-swiper { padding: 2rem 0 4rem; }
.portfolio-slide { border-radius: 20px; overflow: hidden; position: relative; aspect-ratio: 4/3; cursor: pointer; }
.portfolio-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.portfolio-slide:hover img { transform: scale(1.08); }
.portfolio-overlay {
    position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,45,58,0.9) 0%, transparent 60%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem;
    opacity: 0; transition: opacity 0.4s ease;
}
.portfolio-slide:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h5 { color: var(--white); font-size: 1.1rem; margin-bottom: 0.3rem; transform: translateY(15px); transition: transform 0.4s ease 0.1s; }
.portfolio-slide:hover .portfolio-overlay h5 { transform: translateY(0); }
.portfolio-overlay span { color: var(--accent); font-size: 0.8rem; font-weight: 600; transform: translateY(15px); transition: transform 0.4s ease 0.2s; }
.portfolio-slide:hover .portfolio-overlay span { transform: translateY(0); }
.swiper-portfolio .swiper-pagination-bullet { background: var(--accent); opacity: 0.3; }
.swiper-portfolio .swiper-pagination-bullet-active { opacity: 1; width: 24px; border-radius: 6px; }

/* =========================================================
   🖼️ PORTFOLIO SECTION (3D Slider — отдельная страница)
   ========================================================= */
.portfolio-section:has(.slider-3d-wrapper),
.portfolio-section:has(.portfolio-bg-glow),
.portfolio-section:has(.portfolio-grid-overlay) {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #2a3a47 0%, #1e3040 50%, #263845 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(200px);
    opacity: 0.2;
    pointer-events: none;
    transition: background 1s ease;
}

.portfolio-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.section-header {
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    text-align: center;
    width: 100%;
    max-width: 700px;
    padding: 0 2rem;
}

.section-header h1 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

/* ===== 3D Slider ===== */
.slider-3d-wrapper {
    position: relative;
    width: 100%;
    height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    z-index: 10;
}

.slider-3d {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.card-3d {
    position: absolute;
    width: 420px;
    height: 65vh;
    max-height: 540px;
    border-radius: 20px;
    transition: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.card-3d.active {
    transform: translateX(0) translateZ(0) rotateY(0deg) scale(1);
    z-index: 10;
    opacity: 1;
    filter: none;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.card-3d.prev {
    transform: translateX(calc(-115% - 60px)) translateZ(-100px) rotateY(25deg) scale(0.85);
    z-index: 5;
    opacity: 0.4;
    filter: grayscale(100%) brightness(0.35);
}

.card-3d.next {
    transform: translateX(calc(115% + 60px)) translateZ(-100px) rotateY(-25deg) scale(0.85);
    z-index: 5;
    opacity: 0.4;
    filter: grayscale(100%) brightness(0.35);
}

.card-3d.far-prev {
    transform: translateX(calc(-210% - 100px)) translateZ(-200px) rotateY(40deg) scale(0.68);
    z-index: 3;
    opacity: 0.18;
    filter: grayscale(100%) brightness(0.25);
}

.card-3d.far-next {
    transform: translateX(calc(210% + 100px)) translateZ(-200px) rotateY(-40deg) scale(0.68);
    z-index: 3;
    opacity: 0.18;
    filter: grayscale(100%) brightness(0.25);
}

.card-3d.hidden {
    transform: translateZ(-300px) scale(0.5);
    z-index: 0;
    opacity: 0;
    pointer-events: none;
}

.card-3d-img {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform 0.7s ease;
}

.card-3d:hover .card-3d-img { transform: scale(1.05); }

.card-3d:hover {
    border: 1px solid;
    border-color: #FFD35D;
}

.card-3d-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(0,0,0,0.05) 0%, 
        rgba(0,0,0,0.3) 35%, 
        rgba(0,0,0,0.82) 75%,
        rgba(0,0,0,0.92) 100%
    );
    z-index: 1;
}

.card-3d-content {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    padding: 32px;
    z-index: 2;
    transform: translateY(25px);
    opacity: 0;
    transition: all 0.5s ease 0.3s;
}

.card-3d.active .card-3d-content {
    transform: translateY(0);
    opacity: 1;
}

.card-3d-category {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.card-3d-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    color: #fff;
}

.card-3d-desc {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
    max-width: 360px;
}

.card-3d-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 12px;
    background: rgba(255,211,93,0.15);
    border: 1px solid rgba(255,211,93,0.35);
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.card-3d-btn:hover {
    background: var(--accent);
    color: var(--dark);
}

.card-3d-btn svg { width: 16px; height: 16px; transition: transform 0.3s; }
.card-3d-btn:hover svg { transform: translateX(4px); }

.card-3d-number {
    position: absolute;
    top: 20px;
    left: 24px;
    z-index: 2;
    font-size: 70px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.273);
    line-height: 1;
}

.card-3d.active .card-3d-number {
    color: rgba(255, 212, 93, 0.555);
}

/* ===== Slider Navigation ===== */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    transition: all 0.3s;
}

.slider-nav:hover {
    background: rgba(255,211,93,0.18);
    border-color: rgba(255,211,93,0.4);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev { left: 30px; }
.slider-nav.next { right: 30px; }
.slider-nav svg { width: 22px; height: 22px; }

.slider-counter {
    position: absolute;
    bottom: 0px;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-weight: 300;
}

.slider-counter-current {
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
}

.slider-counter-sep {
    font-size: 18px;
    color: rgba(255,255,255,0.25);
    margin: 0 4px;
}

.slider-counter-total {
    font-size: 18px;
    color: rgba(255,255,255,0.35);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    right: 40px;
    z-index: 50;
    display: flex;
    gap: 6px;
}

.slider-dot {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.15);
    cursor: pointer;
    transition: all 0.4s;
}

.slider-dot.active {
    background: var(--accent);
    width: 44px;
}

.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 40px;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.35);
    font-size: 0.8rem;
    font-weight: 500;
}

.scroll-hint-icon {
    width: 24px;
    height: 24px;
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scrollBounce 2s infinite;
}

.scroll-hint-icon div {
    width: 3px;
    height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* =========================================================
   ⚙️ PROCESS SECTION (Главная — шаги)
   ========================================================= */
.process-section:has(.process-step-item) {
    padding: 5rem 0;
}

.process-step-item { text-align: center; position: relative; z-index: 1; padding: 0 1rem; }
.process-step-num {
    width: 72px; height: 72px; border-radius: 50%; background: var(--white);
    border: 3px solid #e0ddd5; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.2rem; font-size: 1.3rem; font-weight: 700; color: var(--gray); transition: all 0.5s ease;
}
.process-step-item.active .process-step-num {
    border-color: var(--accent); background: var(--accent); color: var(--primary);
    box-shadow: 0 0 30px rgba(255,211,93,0.4); transform: scale(1.1);
}
.process-step-item h5 { font-size: 1.1rem; margin-bottom: 0.6rem; color: var(--primary); }
.process-step-item p { font-size: 0.85rem; color: var(--gray); line-height: 1.6; }
.process-line { position: absolute; top: 62px; left: 13%; right: 15%; height: 2px; background: #e0ddd5; }
.process-line-fill { height: 100%; background: var(--accent); width: 0; transition: width 1.5s ease; }

/* =========================================================
   ⚙️ PROCESS SECTION (3D-страница — полноэкранные слайды)
   ========================================================= */
.process-section:has(.process-header),
.process-section:has(.process-slides-container) {
    position: relative;
    width: 100vw;
    overflow: hidden;
}

.process-header {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    background: var(--light);
}

.process-header h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    color: var(--primary);
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
}

.process-header p {
    font-size: 1.15rem;
    color: var(--gray);
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.process-scroll-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: var(--primary);
    color: var(--accent);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Manrope', sans-serif;
}

.process-scroll-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(47,72,88,0.3);
}

.process-slides-container {
    position: relative;
    width: 100%;
}

.process-step-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: none;
}

.process-step-slide.active-slide {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

.process-step-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.process-step-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-step-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(26,42,53,0.88) 0%, rgba(47,72,88,0.75) 50%, rgba(26,42,53,0.85) 100%);
}

.process-step-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    height: 100%;
}

.process-step-number-big {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    font-size: clamp(100px, 15vw, 180px);
    font-weight: 900;
    color: rgba(255,211,93,0.06);
    line-height: 1;
    font-family: 'Plus Jakarta Sans', sans-serif;
    z-index: 2;
    pointer-events: none;
}

.process-step-info {
    padding: 2rem 0;
}

.process-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--accent);
    color: var(--dark);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1.8rem;
    box-shadow: 0 10px 30px rgba(255,211,93,0.3);
}

.process-step-title {
    font-size: clamp(2rem, 3vw, 2.8rem);
    color: #fff;
    margin-bottom: 1.2rem;
    letter-spacing: -0.3px;
    line-height: 1.15;
}

.process-step-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 500px;
}

.process-step-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.process-step-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.06);
}

.process-step-features li svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

.process-step-meta {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.process-step-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.process-step-meta-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.process-step-meta-value {
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 700;
}

/* Step Progress Bar */
.process-progress {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: none;
}

.process-progress.visible {
    display: flex;
}

.progress-line {
    width: 3px;
    height: 350px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--accent);
    border-radius: 3px;
    transition: height 0.5s ease;
}

.progress-dots {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.progress-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    z-index: 2;
}

.progress-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 16px rgba(255,211,93,0.5);
    transform: scale(1.3);
}

.progress-dot-label {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    background: rgba(26,42,53,0.8);
    padding: 4px 10px;
    border-radius: 6px;
}

.progress-dot:hover .progress-dot-label {
    opacity: 1;
}

/* Step Navigation */
.step-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.step-nav-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.step-nav-btn:hover {
    background: var(--accent);
    color: var(--dark);
    border-color: var(--accent);
    transform: scale(1.1);
}

.step-nav-btn svg { width: 20px; height: 20px; }

.step-nav-counter {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    min-width: 60px;
    text-align: center;
}

.step-nav-counter span {
    color: rgba(255,255,255,0.4);
    font-weight: 400;
}

/* =========================================================
   💬 TESTIMONIALS
   ========================================================= */
.testimonials-section { padding: 5rem 0; background: linear-gradient(180deg, var(--light) 0%, #eae7df 100%); }
.testimonial-card {
    background: var(--white); border-radius: 20px; padding: 2.5rem 2rem;
    box-shadow: 0 10px 40px rgba(47,72,88,0.08); text-align: center; max-width: 700px; margin: 0 auto;
}
.testimonial-stars { margin-bottom: 1.2rem; }
.testimonial-stars svg { color: var(--accent); }
.testimonial-text { font-size: 1.05rem; line-height: 1.8; color: var(--primary); font-style: italic; margin-bottom: 1.5rem; }
.testimonial-author-row { display: flex; align-items: center; justify-content: center; gap: 0.8rem; }
.testimonial-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent); }
.testimonial-name { font-weight: 700; font-size: 0.95rem; color: var(--primary); }
.testimonial-role { font-size: 0.8rem; color: var(--gray); }
.swiper-testimonials .swiper-button-next, .swiper-testimonials .swiper-button-prev {
    color: var(--primary); width: 44px; height: 44px; border-radius: 50%;
    background: var(--white); box-shadow: 0 4px 15px rgba(47,72,88,0.1); transition: all 0.3s;
}
.swiper-testimonials .swiper-button-next:hover, .swiper-testimonials .swiper-button-prev:hover { background: var(--primary); color: var(--accent); }

/* =========================================================
   📢 CTA SECTION (Главная — с glow-эффектом)
   ========================================================= */
.cta-section:has(.cta-glow) {
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute; width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,211,93,0.15) 0%, transparent 70%);
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    animation: ctaPulse 4s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

/* =========================================================
   📢 CTA SECTION (Project page — с cta-box)
   ========================================================= */
.cta-section:has(.cta-box) {
    padding: 0 0 5rem;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    border-radius: 24px;
    padding: 3.5rem 3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    width: 350px; height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,211,93,0.15) 0%, transparent 70%);
    top: -100px; right: -80px;
}

.cta-box h3 { color: var(--white); font-size: clamp(1.3rem, 2.5vw, 1.7rem); margin-bottom: 0.5rem; position: relative; }
.cta-box p { color: rgba(255,255,255,0.7); margin: 0; font-size: 0.95rem; position: relative; max-width: 520px; }

.btn-cta-accent {
    background: var(--accent);
    color: var(--primary);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Manrope', sans-serif;
    position: relative;
    white-space: nowrap;
}

.btn-cta-accent:hover { background: var(--white); transform: translateY(-3px); }

/* =========================================================
   📞 CONTACT SECTION
   ========================================================= */
.contact-section { padding: 5rem 0; background: var(--primary); }
.contact-detail-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.contact-detail-icon {
    width: 48px; height: 48px; background: rgba(255,211,93,0.1); border-radius: 14px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.3s ease;
}
.contact-detail-item:hover .contact-detail-icon { background: var(--accent); transform: rotate(-5deg) scale(1.1); }
.contact-detail-item:hover .contact-detail-icon svg { color: var(--primary); }
.contact-detail-icon svg { color: var(--accent); transition: color 0.3s; }
.contact-detail-item h6 { color: var(--white); font-size: 0.95rem; margin-bottom: 0.15rem; }
.contact-detail-item span { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.contact-form-wrap { background: var(--white); border-radius: 24px; padding: 2.5rem; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }

/* =========================================================
   🦶 FOOTER
   ========================================================= */
.footer-section { background: var(--dark); padding: 4rem 0 0; }
.footer-section h5 { color: var(--white); font-size: 1rem; margin-bottom: 1.2rem; }
.footer-section p { color: rgba(255,255,255,0.5); font-size: 0.85rem; line-height: 1.7; }
.footer-section ul { list-style: none; padding: 0; }
.footer-section ul li { margin-bottom: 0.6rem; }
.footer-section ul li a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.85rem; transition: all 0.3s; }
.footer-section ul li a:hover { color: var(--accent); padding-left: 5px; }
.footer-social-icon {
    width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,0.05);
    display: inline-flex; align-items: center; justify-content: center; transition: all 0.3s; cursor: pointer; text-decoration: none;
}
.footer-social-icon:hover { background: var(--accent); transform: translateY(-3px); }
.footer-social-icon svg { color: rgba(255,255,255,0.6); transition: color 0.3s; }
.footer-social-icon:hover svg { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 0; margin-top: 3rem; }
.qwe{ color: rgba(255,255,255,0.4); font-size: 0.8rem; margin: 0; }
.qwe:hover { color: var(--accent); padding-left: 5px; }

/* Footer CTA (3D Portfolio page) */
.footer-cta {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    text-align: center;
    overflow: hidden;
}

.footer-cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,211,93,0.15) 0%, transparent 70%);
    animation: footerPulse 4s ease-in-out infinite;
}

@keyframes footerPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

.footer-cta-content {
    position: relative;
    z-index: 2;
}

.footer-cta h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: #fff;
    margin-bottom: 1.2rem;
}

.footer-cta p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.6);
    max-width: 550px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 44px;
    background: var(--accent);
    color: var(--dark);
    border: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Manrope', sans-serif;
    text-decoration: none;
}

.footer-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255,211,93,0.35);
}

/* =========================================================
   ⬆️ BACK TO TOP
   ========================================================= */
.back-to-top {
    position: fixed; bottom: 2rem; right: 2rem; width: 46px; height: 46px;
    border-radius: 50%; background: var(--primary); color: var(--accent);
    border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 100;
    box-shadow: 0 5px 20px rgba(47,72,88,0.3);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(47,72,88,0.4); }

/* =========================================================
   🪟 MODALS (Общие — объединены из разных файлов)
   ========================================================= */
.modal-custom .modal-content { border: none; border-radius: 24px; overflow: hidden; }
.modal-custom .modal-header { background: var(--primary); border: none; padding: 2rem 2rem 1.5rem; position: relative; }
.modal-custom .modal-title { color: var(--white); }
.modal-custom .modal-body { padding: 0; }
.modal-close-custom {
    background: rgba(255,255,255,0.1); border: none; width: 36px; height: 36px;
    border-radius: 50%; color: var(--accent); display: flex; align-items: center; justify-content: center;
    transition: all 0.3s; position: absolute; top: 1.5rem; right: 1.5rem;
}
.modal-close-custom:hover { background: var(--accent); color: var(--primary); }

.service-modal-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.service-modal-content {
    padding: 2rem;
}
.service-modal-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}
.service-modal-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--gray);
    font-size: 0.95rem;
}
.service-modal-list li svg {
    color: var(--accent);
    flex-shrink: 0;
}
.service-modal-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: var(--accent);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}
.service-modal-btn:hover {
    background: var(--accent);
    color: var(--primary);
}

.modal-custom .service-modal-content p.text-muted.mb-4 { font-size: 0.9rem; }

/* Success Modal */
.modal-success .modal-content { border: none; border-radius: 24px; text-align: center; padding: 3rem 2rem; }
.modal-success #successModalLabel { color: var(--primary); font-family: 'Plus Jakarta Sans', sans-serif; margin-bottom: 0.5rem; }
.modal-success p.text-muted.mb-3 { font-size: 0.9rem; }

.success-icon {
    width: 80px; height: 80px; background: rgba(255,211,93,0.15); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}
.success-icon svg { width: 40px; height: 40px; color: var(--primary); }

/* Contact Modal (Project page) */
.modal-contact .modal-content { border: none; border-radius: 24px; overflow: hidden; }
.modal-contact .modal-header { background: var(--primary); border: none; padding: 2rem 2rem 1.5rem; }
.modal-contact .modal-title { color: var(--white); }
.modal-contact .modal-body { padding: 2rem; }

/* Lightbox Modal (Project page) */
.lightbox-modal .modal-content {
    background: transparent;
    border: none;
}

.lightbox-modal .btn-close {
    position: absolute;
    top: -10px; right: -10px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 1;
    z-index: 10;
    padding: 0.9rem;
}

.lightbox-img {
    width: 100%;
    border-radius: 20px;
    display: block;
    box-shadow: 0 25px 70px rgba(0,0,0,0.5);
}

.lightbox-caption {
    text-align: center;
    color: var(--white);
    font-weight: 700;
    margin-top: 1rem;
    font-size: 0.95rem;
}

/* =========================================================
   📝 FORMS (Общие стили форм)
   ========================================================= */
.form-custom-label { font-weight: 700; font-size: 0.85rem; color: var(--primary); margin-bottom: 0.4rem; }

.form-control-custom {
    border: 2px solid #e8e6df; border-radius: 12px; padding: 0.8rem 1rem;
    font-size: 0.9rem; color: var(--primary); background: var(--light); transition: all 0.3s;
    width: 100%;
    font-family: 'Manrope', sans-serif;
}
.form-control-custom:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,211,93,0.15); outline: none; }

.form-select-custom {
    border: 2px solid #e8e6df; border-radius: 12px; padding: 0.8rem 1rem;
    font-size: 0.9rem; color: var(--primary); background-color: var(--light); transition: all 0.3s;
}
.form-select-custom:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,211,93,0.15); outline: none; }

.btn-form-submit {
    width: 100%; padding: 0.9rem; background: var(--accent); color: var(--primary);
    border: none; border-radius: 12px; font-size: 0.95rem; font-weight: 700;
    cursor: pointer; transition: all 0.3s; position: relative; overflow: hidden;
}
.btn-form-submit:hover { background: var(--primary); color: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(47,72,88,0.3); }

/* =========================================================
   ✨ PARTICLES & REVEAL
   ========================================================= */
.particles-container { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.particle {
    position: absolute; width: 4px; height: 4px; background: var(--accent);
    border-radius: 50%; opacity: 0; animation: particleFloat 8s infinite;
}
@keyframes particleFloat { 0% { opacity: 0; transform: translateY(100vh) scale(0); } 10% { opacity: 0.5; } 90% { opacity: 0.5; } 100% { opacity: 0; transform: translateY(-10vh) scale(1); } }

.reveal { opacity: 0; transform: translateY(35px); transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* =========================================================
   📄 SERVICES PAGE (sp-* префикс, изолированный блок)
   ========================================================= */
.sp-wrap {
    --sp-primary: #2f4858;
    --sp-accent: #FFD35D;
    --sp-light: #f8f6f0;
    --sp-white: #ffffff;
    --sp-gray: #8a95a0;
    --sp-text: #4a5a66;
    --sp-dark: #1a2d3a;
    font-family: 'Manrope', sans-serif;
    color: var(--sp-text);
    background: var(--sp-light);
}

.sp-wrap h1, .sp-wrap h2, .sp-wrap h3, .sp-wrap h4, .sp-wrap h5 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: var(--sp-primary);
    line-height: 1.3;
}

.sp-head {
    padding: 9rem 0 0rem;
}

.sp-crumb {
    display: flex;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--sp-gray);
    margin-bottom: 1rem;
}
.sp-crumb a { color: var(--sp-primary); text-decoration: none; }
.sp-crumb a:hover { color: var(--sp-accent); }

.sp-title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    margin-bottom: 1rem;
}

.sp-title .sp-mark {
    position: relative;
    display: inline-block;
}
.sp-title .sp-mark::after {
    content: '';
    position: absolute;
    bottom: 6px; left: -4px; right: -4px;
    height: 14px;
    background: rgba(255,211,93,0.4);
    z-index: -1;
    transform: skewX(-5deg);
}

.sp-sub {
    font-size: 1.1rem;
    color: var(--sp-gray);
    max-width: 640px;
    line-height: 1.7;
}

.sp-sec { padding: 5rem 0; }
.sp-sec-white { background: var(--sp-white); }
.sp-sec-dark { background: var(--sp-primary); }

.sp-sec-tag {
    display: inline-block;
    background: rgba(255,211,93,0.2);
    color: var(--sp-primary);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.sp-sec-title { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 0.8rem; }
.sp-sec-sub { font-size: 1rem; color: var(--sp-gray); max-width: 620px; line-height: 1.7; }

.sp-block {
    background: var(--sp-white);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(47,72,88,0.06);
    box-shadow: 0 10px 30px rgba(47,72,88,0.05);
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
    transition: all 0.35s ease;
}

.sp-block:hover {
    box-shadow: 0 20px 50px rgba(47,72,88,0.1);
}

.sp-block-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.sp-block-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, rgba(255, 212, 93, 0.944), rgba(255, 212, 93, 0.59));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sp-block-icon svg { width: 28px; height: 28px; color: var(--sp-primary); }

.sp-block h3 { font-size: 1.4rem; margin: 0; }

.sp-block-desc { font-size: 0.95rem; line-height: 1.75; margin-bottom: 1.5rem; }

.sp-includes-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--sp-gray);
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.sp-includes {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.2rem;
}

.sp-includes li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.88rem;
    line-height: 1.5;
}

.sp-includes li svg { color: var(--sp-accent); flex-shrink: 0; margin-top: 0.2rem; }

.sp-block-side {
    background: var(--sp-primary);
    border-radius: 20px;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
}

.sp-price-box {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(47,72,88,0.08);
}
.sp-price-box:first-child { padding-top: 0; }

.sp-price-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--sp-gray);
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.sp-price-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--sp-accent);
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.sp-price-value .sp-from { font-size: 0.85rem; color: var(--sp-gray); font-weight: 600; }
.sp-price-value .sp-to { font-size: 0.85rem; color: var(--sp-gray); font-weight: 600; }
.sp-price-value .sp-dash { color: var(--sp-gray); }

.sp-block-btn {
    margin-top: auto;
    padding-top: 1.5rem;
}

.sp-block-btn button {
    width: 100%;
    padding: 1rem;
    background: var(--sp-accent);
    color: var(--sp-primary);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Manrope', sans-serif;
}
.sp-block-btn button:hover { background: #fbc224; color: #223440; }

.sp-block-note {
    font-size: 0.75rem;
    color: var(--sp-gray);
    margin-top: 0.8rem;
    text-align: center;
}

.sp-cat { margin-bottom: 3rem; }
.sp-cat:last-child { margin-bottom: 0; }

.sp-cat-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.sp-cat-num {
    width: 44px; height: 44px;
    background: var(--sp-accent);
    color: var(--sp-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.sp-cat-head h3 { font-size: 1.25rem; margin: 0; }

.sp-row {
    background: var(--sp-light);
    border-radius: 14px;
    padding: 1.1rem 1.4rem;
    margin-bottom: 0.7rem;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 1rem;
    align-items: center;
    transition: all 0.25s;
}

.sp-row:hover {
    background: var(--sp-white);
    box-shadow: 0 8px 25px rgba(47,72,88,0.08);
    transform: translateX(4px);
}

.sp-row-name { font-weight: 700; color: var(--sp-primary); font-size: 0.92rem; }

.sp-row-cell { display: flex; flex-direction: column; }
.sp-row-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sp-gray);
    font-weight: 700;
    margin-bottom: 0.15rem;
}
.sp-row-value { font-weight: 700; font-size: 0.92rem; color: var(--sp-primary); }

.sp-form-box {
    background: var(--sp-white);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(47,72,88,0.08);
    max-width: 760px;
    margin: 0 auto;
}

.sp-form-title { text-align: center; margin-bottom: 2rem; }
.sp-form-title h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.sp-form-title p { color: var(--sp-gray); font-size: 0.95rem; margin: 0; }

.sp-field { margin-bottom: 1.2rem; }

.sp-field label {
    display: block;
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--sp-primary);
    margin-bottom: 0.4rem;
}

.sp-input {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border: 2px solid #e8e6df;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: 'Manrope', sans-serif;
    color: var(--sp-primary);
    background: var(--sp-light);
    transition: all 0.3s;
}
.sp-input:focus {
    border-color: var(--sp-accent);
    background: var(--sp-white);
    box-shadow: 0 0 0 4px rgba(255,211,93,0.15);
    outline: none;
}

.sp-submit {
    width: 100%;
    padding: 1.1rem;
    background: var(--sp-primary);
    color: var(--sp-accent);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Manrope', sans-serif;
    margin-top: 0.5rem;
}
.sp-submit:hover { background: var(--sp-accent); color: var(--sp-primary); transform: translateY(-2px); }

.sp-form-legal {
    font-size: 0.75rem;
    color: var(--sp-gray);
    text-align: center;
    margin-top: 1rem;
}

/* SP Modals */
.sp-modal .modal-content { border: none; border-radius: 24px; overflow: hidden; }
.sp-modal .modal-header { background: var(--sp-primary); border: none; padding: 2rem 2rem 1.5rem; }
.sp-modal .modal-title { color: var(--sp-white); font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; }
.sp-modal .modal-body { padding: 2rem; }

.sp-success .modal-content { border: none; border-radius: 24px; text-align: center; padding: 3rem 2rem; }
.sp-success-icon {
    width: 80px; height: 80px;
    background: rgba(255,211,93,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
}
.sp-success-icon svg { width: 40px; height: 40px; color: var(--sp-primary); }

/* =========================================================
   📄 PROJECT PAGE (Страница проекта)
   ========================================================= */
.project-header {
    padding: 9rem 0 3rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: all 0.3s;
}

.back-link:hover { color: var(--accent); gap: 0.8rem; }

.badges-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.style-badge {
    background: var(--primary);
    color: var(--accent);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.year-badge {
    background: rgba(255,211,93,0.35);
    color: var(--primary);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-title {
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    max-width: 850px;
    margin-bottom: 1rem;
}

.project-location {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 1rem;
}

/* Hero Image */
.hero-img-wrap { display: flex; justify-content: center; padding: 0 0 2rem; }

.hero-img-wrap img {
    height: 400px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(47,72,88,0.12);
    display: block;
    max-width: 100%;
    object-fit: cover;
}

/* Specs Strip */
.specs-strip {
    padding: 3rem 0;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.spec-card {
    background: var(--light);
    border-radius: 16px;
    padding: 1.3rem 1rem;
    text-align: center;
    transition: all 0.3s;
}

.spec-card:hover {
    background: rgba(255,211,93,0.18);
    transform: translateY(-3px);
}

.spec-card .icon {
    width: 38px; height: 38px;
    margin: 0 auto 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.spec-card .icon svg { width: 26px; height: 26px; color: var(--primary); }

.spec-card .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    margin-bottom: 0.3rem;
}
.spec-card .value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
}

/* Main Content Layout */
.project-main { padding: 2rem 0 5rem; }

.project-desc { font-size: 1.05rem; line-height: 1.85; }
.project-desc p { margin-bottom: 1.4rem; }

.project-desc h2 {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    margin: 2.5rem 0 1rem;
    position: relative;
    padding-left: 1.2rem;
}

.project-desc h2::before {
    content: '';
    position: absolute;
    left: 0; top: 0.3rem; bottom: 0.3rem;
    width: 4px;
    background: var(--accent);
    border-radius: 2px;
}

/* Passport Card */
.passport-card {
    background: var(--light);
    border-radius: 24px;
    padding: 2rem;
    position: sticky;
    top: 100px;
}

.passport-title {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.passport-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(47,72,88,0.08);
    font-size: 0.9rem;
}

.passport-row:last-of-type { border-bottom: none; }
.passport-row .k { color: var(--gray); }
.passport-row .v { font-weight: 700; color: var(--primary); text-align: right; }

.btn-passport {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--primary);
    color: var(--accent);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Manrope', sans-serif;
}

.btn-passport:hover { background: var(--accent); color: var(--primary); }

/* Gallery */
.gallery-section { padding: 4rem 0; background: var(--light); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-top: 2.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(47,72,88,0.08);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item .room-label {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    background: rgba(26,45,58,0.85);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.gallery-item .zoom-icon {
    position: absolute;
    top: 1rem; right: 1rem;
    width: 40px; height: 40px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.3s;
}

.gallery-item:hover .zoom-icon { opacity: 1; transform: scale(1); }

/* Works */
.works-section { padding: 5rem 0; }

.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem 2rem;
    margin-top: 2.5rem;
}

.work-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1.1rem 1.3rem;
    background: var(--light);
    border-radius: 14px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.work-item:hover {
    background: rgba(255,211,93,0.18);
    transform: translateX(4px);
}

.work-check {
    width: 22px; height: 22px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}
.work-check svg { width: 12px; height: 12px; }

/* Review Block */
.review-section { padding: 0 0 5rem; }

.review-card {
    background: var(--primary);
    border-radius: 24px;
    padding: 3rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '«';
    position: absolute;
    top: -1rem; right: 2rem;
    font-size: 12rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: rgba(255,211,93,0.15);
    line-height: 1;
}

.review-text {
    font-size: 1.15rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    max-width: 800px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.review-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    flex-shrink: 0;
}

.review-name { font-weight: 700; font-size: 0.95rem; }
.review-role { font-size: 0.8rem; opacity: 0.6; }

/* Project Navigation */
.project-nav { padding: 0 0 5rem; }

.project-nav-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: var(--light);
    border-radius: 20px;
    padding: 1.3rem 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.project-nav-card:hover {
    background: var(--white);
    box-shadow: 0 15px 35px rgba(47,72,88,0.1);
    color: inherit;
    transform: translateY(-3px);
}

.project-nav-card img {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

.project-nav-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    margin-bottom: 0.2rem;
}

.project-nav-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary);
}

.project-nav-card.next { text-align: right; flex-direction: row-reverse; }

/* =========================================================
   📱 MEDIA QUERIES (объединённые и сгруппированные)
   ========================================================= */

/* ===== max-width: 1200px ===== */
@media (max-width: 1200px) {
    .card-3d { width: 360px; }
    .card-3d.prev { transform: translateX(calc(-125% - 40px)) translateZ(-100px) rotateY(25deg) scale(0.85); }
    .card-3d.next { transform: translateX(calc(125% + 40px)) translateZ(-100px) rotateY(-25deg) scale(0.85); }
}

/* ===== max-width: 992px (Tablet) ===== */
@media (max-width: 992px) {
    .process-step-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 6rem 2rem 5rem;
    }
    .process-step-info { text-align: center; }
    .process-step-desc { margin: 0 auto 2rem; }
    .process-step-features { 
        grid-template-columns: 1fr; 
        display: inline-block; 
        text-align: left;
    }
    .process-step-meta { justify-content: center; }
    .process-step-number-big { display: none; }
}

/* ===== max-width: 991.98px (Bootstrap md-breakpoint) ===== */
@media (max-width: 991.98px) {
    /* Navbar home */
    .navbar-collapse {
        background: var(--white) !important;
        padding: 1.5rem 1rem;
        border-radius: 16px;
        margin-top: 1rem;
        box-shadow: 0 10px 40px rgba(47,72,88,0.15);
        max-height: 90vh;
        overflow-y: auto;
    }

    .navbar-nav {
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
        width: 100%;
    }

    .nav-item { width: auto; }
    
    .nav-link-custom {
        padding: 0.6rem 1rem !important;
        font-size: 0.9rem;
        background: rgba(47, 72, 88, 0.05);
        border-radius: 8px;
    }

    .btn-nav-cta {
        width: 100%;
        margin-top: 0.5rem;
        justify-content: center;
        display: flex;
    }

    /* Hero visual */
    .hero-visual { position: relative; width: 100%; height: auto; min-height: 400px; margin-top: 2rem; display: flex; justify-content: center; align-items: center; }
    .hero-card-1 { position: relative; width: 280px; height: 350px; top: auto; left: auto; margin: 0 auto; z-index: 2; }
    .hero-card-2 { position: absolute; bottom: 20px; right: 10%; width: 180px; height: 140px; }
    .hero-card-3 { top: 10px; right: 10%; }

    /* Services page */
    .sp-block { grid-template-columns: 1fr; gap: 2rem; }
    .sp-head { padding: 7.5rem 0 0rem; }
    .sp-row { grid-template-columns: 1fr; gap: 0.6rem; }
    .sp-row-cell { flex-direction: row; align-items: baseline; gap: 0.6rem; }
    .sp-row-label { margin-bottom: 0; min-width: 90px; }

    /* Project page */
    .specs-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .passport-card { position: static; margin-top: 2rem; }
}

/* ===== min-width: 992px (Desktop only) ===== */
@media (min-width: 992px) {
    .hero-visual { position: absolute; right: 4rem; top: 50%; transform: translateY(-50%); width: 450px; height: 500px; }
}

/* ===== max-width: 768px ===== */
@media (max-width: 768px) {
    .navbar { padding: 1rem 1.5rem; }
    .nav-links { display: none; }

    .card-3d { width: 300px; height: 58vh; max-height: 420px; }
    .card-3d.prev { transform: translateX(calc(-135% - 20px)) translateZ(-100px) rotateY(25deg) scale(0.85); }
    .card-3d.next { transform: translateX(calc(135% + 20px)) translateZ(-100px) rotateY(-25deg) scale(0.85); }
    .card-3d.far-prev, .card-3d.far-next { display: none; }
    .slider-nav.prev { left: 15px; }
    .slider-nav.next { right: 15px; }
    .slider-nav { width: 46px; height: 46px; }
    .slider-counter { bottom: 15px; }
    .slider-counter-current { font-size: 38px; }
    .slider-dots { display: none; }
    .scroll-hint { display: none; }
    .card-3d-title { font-size: 22px; }
    .card-3d-desc { font-size: 13px; }
    .card-3d-content { padding: 22px; }
    .card-3d-number { font-size: 48px; }

    .process-step-inner { padding: 5rem 1.5rem 4.5rem; }
    .process-progress { right: 10px; }
    .progress-line { height: 200px; }
    .progress-dot-label { display: none; }
}

/* ===== max-width: 767.98px ===== */
@media (max-width: 767.98px) {
    .hero-section { padding-top: 80px; padding-bottom: 3rem; }
    .hero-title { font-size: 2rem; }
    .hero-desc { font-size: 0.95rem; }
    .hero-visual { min-height: 350px; }
    .hero-card-1 { width: 240px; height: 300px; }
    .hero-card-2 { width: 160px; height: 120px; bottom: 10px; right: 0; padding: 1rem; }
    .hero-card-2 .card-stat { font-size: 1.8rem; }
    .hero-card-3 { top: 0; right: 0; padding: 0.6rem 1rem; font-size: 0.75rem; }
    .services-section, .portfolio-section, .process-section, .testimonials-section, .cta-section, .contact-section { padding: 4rem 0; }
    .stats-section { padding: 3rem 0; }
    .contact-form-wrap { padding: 1.5rem; margin-top: 2rem; }
    .process-line { display: none; }

    .sp-sec { padding: 3.5rem 0; }
    .sp-block { padding: 1.8rem; }
    .sp-includes { grid-template-columns: 1fr; }
    .sp-note { flex-direction: column; padding: 1.5rem; }
    .sp-form-box { padding: 2rem 1.5rem; }

    .project-header { padding: 7rem 0 2.5rem; }
    .works-grid { grid-template-columns: 1fr; }
    .review-card { padding: 2rem 1.5rem; }
    .cta-box { padding: 2.5rem 1.5rem; text-align: center; justify-content: center; }
    .specs-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-img-wrap img { height: 250px; }
}

/* ===== max-width: 575.98px ===== */
@media (max-width: 575.98px) {
    .hero-title { font-size: 1.8rem; }
    .hero-buttons { flex-direction: column; }
    .btn-primary-custom, .btn-outline-custom { width: 100%; justify-content: center; }
    .hero-card-1 { width: 220px; height: 280px; }
    .stat-number { font-size: 2rem; }
    .testimonial-card { padding: 1.8rem 1.2rem; }
    .contact-form-wrap { padding: 1.2rem; }

    .gallery-grid { grid-template-columns: 1fr; }
    .project-nav-card.next { flex-direction: row-reverse; }
    .project-nav-card { padding: 1rem; }
}

/* ===== max-width: 480px ===== */
@media (max-width: 480px) {
    .card-3d { width: 270px; height: 52vh; max-height: 380px; }
    .card-3d-title { font-size: 20px; }
}

/* ===== max-width: 374.98px ===== */
@media (max-width: 374.98px) {
    .hero-title { font-size: 1.6rem; }
    .section-title { font-size: 1.5rem; }
    .hero-card-1 { width: 200px; height: 260px; }
    .hero-card-2 { width: 140px; height: 100px; bottom: 0; right: -5px; padding: 0.8rem; }
    .hero-card-2 .card-stat { font-size: 1.5rem; }
    .hero-card-2 .card-label { font-size: 0.7rem; }
    .hero-card-3 { font-size: 0.65rem; padding: 0.5rem 0.8rem; right: -5px; }
    .navbar-brand-custom .brand-text { font-size: 1.1rem; }
    .service-card { padding: 2rem 1.5rem; }

    .sp-title { font-size: 1.7rem; }
    .sp-block { padding: 1.4rem; }
    .sp-price-value { font-size: 1.1rem; }
    .sp-block h3 { font-size: 1.2rem; }

    .project-title { font-size: 1.6rem; }
    .spec-card .value { font-size: 0.85rem; }
}
