/* ==========================================================================
   GREVIR PREMIUM THEME - CSS ФАЙЛ (С НУЛЯ)
   ========================================================================== */

/* 1. БАЗОВЫЕ ПЕРЕМЕННЫЕ И СБРОС (QUIET LUXURY) */
:root {
    --color-bg-light: #FAF8F5; /* Теплый фон (Слоновая кость) */
    --color-bg-dark: #2A2724; /* Мягкий графит */
    --color-text-main: #332F2A;
    --color-text-p: #5A554E;
    --color-accent: #A68A6B; /* Теплая бронза/сепия */
    --color-tg: #2AABEE; /* Телеграм */
    --font-main: 'Inter', sans-serif;
    --font-head: 'Cormorant Garamond', serif;
    --radius: 16px;
  }

  /* Жестко перебиваем Bootstrap для наших блоков */
  .premium-global-header *, .premium-footer *, .mobile-overlay *, .premium-home * {
    box-sizing: border-box;
  }

  /* ==============================================
     2. ГЛОБАЛЬНАЯ ШАПКА (ДЕСКТОП)
  ============================================== */
  .premium-global-header {
    background-color: var(--color-bg-dark);
    color: #fff;
    position: relative;
    z-index: 1000;
    font-family: var(--font-main);
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .pgh-container {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 4%; max-width: 1600px; margin: 0 auto;
  }

  /* Логотип */
  .pgh-logo a {
    font-family: var(--font-head); font-size: 2.2rem; font-weight: 700;
    color: #fff; text-decoration: none; line-height: 1; display: block; letter-spacing: 1px;
  }
  .pgh-logo span {
    font-size: 0.75rem; font-family: var(--font-main); letter-spacing: 3px;
    display: block; text-transform: uppercase; color: var(--color-accent); margin-top: 5px;
  }

  /* Навигация десктоп */
  .pgh-nav { display: flex; gap: 30px; align-items: center; margin: 0; padding: 0; list-style: none; }
  .pgh-nav > li > a {
    color: #fff; text-decoration: none; font-size: 1.05rem; font-weight: 400;
    transition: 0.3s; padding: 25px 0; display: inline-block;
  }
  .pgh-nav > li > a:hover { color: var(--color-accent); }

  /* Выпадающее меню Каталога */
  .has-dropdown { position: relative; }
  .has-dropdown > a::after {
    content: '\f107'; font-family: 'Font Awesome 6 Free'; font-weight: 900; margin-left: 8px; font-size: 0.8rem; opacity: 0.7;
  }
  .dropdown-menu-custom {
    visibility: hidden; opacity: 0; position: absolute; top: 100%; left: 0;
    background: #fff; min-width: 280px; box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-radius: 12px; padding: 15px 0; transform: translateY(15px);
    transition: all 0.3s ease; z-index: 1001; border: 1px solid rgba(0,0,0,0.05);
    list-style: none; margin: 0;
  }
  .has-dropdown:hover .dropdown-menu-custom { visibility: visible; opacity: 1; transform: translateY(0); }
  .dropdown-menu-custom a {
    display: block; padding: 10px 25px; color: var(--color-text-main);
    text-decoration: none; font-size: 0.95rem; transition: 0.2s; border: none;
  }
  .dropdown-menu-custom a:hover { background: var(--color-bg-light); color: var(--color-accent); padding-left: 30px; }

  /* Контакты справа */
  .pgh-actions { display: flex; align-items: center; gap: 20px; }
  .pgh-geo { font-size: 0.85rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; border-right: 1px solid rgba(255,255,255,0.2); padding-right: 20px; }
  .pgh-phone { color: #fff; text-decoration: none; font-size: 1.2rem; font-weight: 600; }
  .pgh-tg-btn { background: var(--color-tg); color: #fff; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; transition: 0.3s; text-decoration: none; }
  .pgh-tg-btn:hover { background: #1c92d2; transform: scale(1.1); color: #fff; }

  /* ==============================================
     3. МОБИЛЬНОЕ МЕНЮ И АДАПТИВ ШАПКИ
  ============================================== */
  .pgh-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 10px; z-index: 10001; position: relative; }
  .pgh-hamburger span { display: block; width: 30px; height: 2px; background: #fff; margin: 6px auto; transition: 0.3s; }
  .pgh-hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .pgh-hamburger.open span:nth-child(2) { opacity: 0; }
  .pgh-hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .mobile-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: var(--color-bg-dark);
    z-index: 10000; transform: translateX(-100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 100px 20px 40px; overflow-y: auto; display: flex; flex-direction: column;
  }
  .mobile-overlay.active { transform: translateX(0); }

  /* Списки мобильного меню */
  .mob-nav { list-style: none; padding: 0; margin: 0; flex-grow: 1; }
  .mob-nav li { border-bottom: 1px solid rgba(255,255,255,0.05); }
  .mob-nav li a {
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-head); font-size: 1.8rem; color: #fff; text-decoration: none; padding: 15px 0;
  }
  .mob-nav li a:hover { color: var(--color-accent); }

  /* Подкатегории в мобилке (Аккордеон) */
  .mob-toggle { cursor: pointer; color: var(--color-accent); padding: 0 10px; }
  .mob-sub { list-style: none; padding-left: 20px; display: none; border: none; margin-bottom: 10px;}
  .mob-sub li { border-bottom: none; }
  .mob-sub li a { font-family: var(--font-main); font-size: 1.1rem; color: rgba(255,255,255,0.8); padding: 10px 0; }
  .mob-sub li a:hover { color: #fff; }

  /* Подвал мобильного меню */
  .mob-footer { margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; text-align: center; }

  @media (max-width: 1024px) {
    .pgh-nav, .pgh-geo, .pgh-phone { display: none; }
    .pgh-hamburger { display: block; }
  }
  @media (max-width: 768px) {
    .pgh-logo a { font-size: 1.8rem; }
    .pgh-logo span { font-size: 0.65rem; }
  }

  /* ==============================================
     4. ФУТЕР (ДЕСКТОП И МОБИЛЬНЫЕ)
  ============================================== */
  .premium-footer { background-color: var(--color-bg-dark); color: rgba(255, 255, 255, 0.7); font-family: var(--font-main); padding: 80px 5% 30px; border-top: 1px solid rgba(166, 138, 107, 0.2); }
  .footer-trust-badges { max-width: 1400px; margin: 0 auto 60px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 50px; }
  .ft-badge { display: flex; align-items: center; gap: 20px; }
  .ft-badge i { font-size: 35px; color: var(--color-accent); }
  .ft-badge div strong { display: block; color: #fff; font-size: 1.1rem; font-weight: 500; margin-bottom: 5px; }
  .ft-badge div span { font-size: 1rem; line-height: 1.4; display: block; }
  .footer-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; }
  .footer-brand .fb-logo { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: #fff; text-decoration: none; line-height: 1; display: block; margin-bottom: 20px; }
  .footer-brand p { font-size: 1rem; line-height: 1.6; margin-bottom: 25px; max-width: 350px; }
  .footer-contacts a { display: block; color: #fff; font-size: 1.4rem; font-weight: 500; text-decoration: none; margin-bottom: 10px; transition: 0.3s; }
  .footer-contacts a:hover { color: var(--color-accent); }
  .footer-contacts span { font-size: 1rem; }
  .footer-col h4 { font-family: var(--font-head); color: #fff; font-size: 1.4rem; margin-bottom: 25px; font-weight: 600; }
  .footer-col ul { list-style: none; padding: 0; margin: 0; }
  .footer-col ul li { margin-bottom: 15px; }
  .footer-col ul li a { color: rgba(255, 255, 255, 0.7); text-decoration: none; font-size: 0.95rem; transition: 0.3s ease; }
  .footer-col ul li a:hover { color: var(--color-accent); }
  .footer-legal-box { background: rgba(255, 255, 255, 0.03); padding: 25px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.05); }
  .footer-legal-box p { font-size: 1rem; margin-bottom: 8px; line-height: 1.5; }
  .footer-legal-box p strong { color: #fff; font-size: 1rem;}
  .footer-bottom { max-width: 1400px; margin: 60px auto 0; padding-top: 25px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; }
  .footer-bottom a { color: rgba(255, 255, 255, 0.5); text-decoration: underline; transition: 0.3s; }
  .footer-bottom a:hover { color: #fff; }

  @media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
  }
  @media (max-width: 768px) {
    .premium-footer { padding: 50px 5% 30px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-brand { grid-column: span 1; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 15px; }
  }


  /* ==========================================================================
   5. ГЛАВНАЯ СТРАНИЦА (HOME ЛЕНДИНГ)
   ========================================================================== */

/* Очистка старого каркаса на главной */
.grevir-left, .grevir-topbar, .header01, .breadcrumb { display: none !important; }
.grevir-right { width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; }
.grevir-content, .category-class, #content { width: 100% !important; padding: 0 !important; margin: 0 !important; }

.premium-home {
  background-color: var(--color-bg-light);
  color: var(--color-text-p);
  position: relative;
  font-family: var(--font-main);
}
/* Блики на фоне */
.premium-home::before { content: ''; position: absolute; top: 15%; left: -10%; width: 50vw; height: 50vw; background: radial-gradient(circle, rgba(166,138,107,0.05) 0%, rgba(250,248,245,0) 70%); z-index: 0; pointer-events: none; }

/* Типографика главной */
.premium-home p { font-size: 1.15rem !important; line-height: 1.6 !important; font-weight: 400 !important; margin-bottom: 20px !important; }
.premium-home h1, .premium-home h2, .premium-home h3, .premium-home h4 { font-family: var(--font-head) !important; font-weight: 600 !important; margin: 0 !important; line-height: 1.2 !important; }
.premium-home h1 { font-size: 4.5rem !important; margin-bottom: 20px !important; }
.premium-home h2 { font-size: 3.2rem !important; margin-bottom: 25px !important; }
.premium-home h3 { font-size: 2rem !important; margin-bottom: 15px !important; }

/* Глобальные Кнопки */
.btn-warm { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 40px !important; background-color: var(--color-accent) !important; color: #fff !important; font-size: 1.15rem !important; font-weight: 500 !important; text-decoration: none !important; border-radius: 50px !important; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important; box-shadow: 0 10px 25px rgba(166, 138, 107, 0.3) !important; border: none !important; cursor: pointer; }
.btn-warm:hover { background-color: #8C7256 !important; transform: translateY(-3px) !important; box-shadow: 0 15px 35px rgba(166, 138, 107, 0.4) !important; color: #fff !important; }
.btn-tg { background-color: var(--color-tg) !important; box-shadow: 0 10px 25px rgba(42, 171, 238, 0.3) !important; }
.btn-tg:hover { background-color: #1c92d2 !important; box-shadow: 0 15px 35px rgba(42, 171, 238, 0.4) !important;}
.btn-outline { background: transparent !important; border: 1px solid rgba(255,255,255,0.3) !important; box-shadow: none !important; padding: 14px 30px !important; font-size: 1rem !important;}
.btn-outline:hover { background: #fff !important; color: var(--color-bg-dark) !important; }

/* Hero */
.hero-section { position: relative; height: 90vh; min-height: 700px; background: linear-gradient(rgba(42, 39, 36, 0.6), rgba(42, 39, 36, 0.3)), url('/image/myback/start1.jpg') center/cover no-repeat; display: flex; align-items: center; justify-content: center; text-align: center; padding-top: 80px; }
.hero-content { max-width: 900px; padding: 0 20px; z-index: 2; }
.hero-title { color: #ffffff !important; text-shadow: 0 4px 20px rgba(0,0,0,0.3); margin-bottom: 25px !important; }
.hero-desc { font-size: 1.4rem !important; color: rgba(255,255,255,0.9) !important; font-weight: 300 !important; text-shadow: 0 2px 10px rgba(0,0,0,0.4); margin-bottom: 40px !important; }

/* Статистика и Мостик */
.stats-banner { max-width: 1200px; margin: -50px auto 0; position: relative; z-index: 10; background: #fff; border-radius: var(--radius); padding: 40px 50px; box-shadow: 0 20px 50px rgba(0,0,0,0.05); display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item { border-right: 1px solid #EFEBE4; }
.stat-item:last-child { border-right: none; }
.stat-value { font-family: var(--font-head) !important; font-size: 4.5rem !important; font-weight: 600 !important; color: var(--color-accent) !important; line-height: 1 !important; display: inline-block; }
.stat-plus { font-family: var(--font-main) !important; font-size: 2rem !important; font-weight: 400 !important; color: var(--color-accent) !important; vertical-align: top; margin-left: 2px; }
.stat-label { font-size: 1rem !important; font-weight: 500 !important; color: #8A857F !important; text-transform: uppercase; letter-spacing: 1px; margin-top: 10px !important; display: block; }
.bridge-section {
    padding: 100px 5% 80px; /* Добавили больше воздуха сверху */
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }

  /* Создаем огромную фоновую кавычку */
  .bridge-section::before {
    content: '«';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-family: serif;
    font-size: 220px; /* Гигантский размер */
    color: var(--color-accent); /* Ваш золотой/бронзовый цвет */
    opacity: 0.05; /* Делаем ее еле заметной */
    line-height: 1;
    z-index: -1;
  }

.premium-home p.bridge-text {
    font-family: var(--font-head) !important;
    font-style: italic !important;
    font-size: 2.2rem !important; /* Убедитесь, что он реально применяется */
    color: #333 !important; /* Чуть смягченный черный */
    line-height: 1.6 !important;
    font-weight: 300;
  }

  /* Выделим главные слова вашим акцентным цветом */
  .bridge-text span {
    color: var(--color-accent);
    font-weight: 400;
  }
/* Мега-Каталог */
.mega-catalog { padding: 60px 5% 100px; text-align: center; position: relative; z-index: 1; }
.section-header { max-width: 800px; margin: 0 auto 50px; }
.mega-grid {
    display: grid;
    /* Заменяем auto-fit на жесткие 4 колонки для десктопа */
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: left;
}
/* Растягиваем первую карточку на 2 колонки */
.mc-card:first-child {
    grid-column: span 2;
}
.mc-card { position: relative; height: 380px; border-radius: 16px; overflow: hidden; display: block; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.mc-card img { position: absolute; top:0; left:0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.mc-card::after { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(to top, rgba(30, 28, 25, 0.95) 0%, rgba(30, 28, 25, 0.5) 40%, rgba(30, 28, 25, 0.1) 100%); transition: background 0.5s ease; }
.mc-card:hover img { transform: scale(1.05); }
.mc-card:hover::after { background: linear-gradient(to top, rgba(166, 138, 107, 0.95) 0%, rgba(42, 39, 36, 0.4) 60%, rgba(42, 39, 36, 0.1) 100%); }
.mc-content { position: absolute; bottom: 0; left: 0; padding: 35px 30px; z-index: 2; width: 100%; }
.mc-content h3 { font-size: 2rem !important; color: #fff !important; margin-bottom: 5px !important; font-family: var(--font-main) !important; font-weight: 500 !important; }
.mc-content span { font-size: 0.95rem !important; color: var(--color-accent) !important; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; display: block; margin-bottom: 15px; transition: color 0.3s; }
.mc-card:hover .mc-content span { color: #fff !important; }
.mc-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mc-tags li { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); padding: 5px 12px; border-radius: 20px; font-size: 0.85rem !important; color: #EFEBE4 !important; backdrop-filter: blur(5px); transition: 0.3s; }
.mc-card:hover .mc-tags li { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.2); color: #fff !important;}


/* ОБЯЗАТЕЛЬНО: Адаптивность для мобильных устройств */
@media (max-width: 1100px) {
    .mega-grid {
        grid-template-columns: repeat(2, 1fr); /* На планшетах 2 колонки */
    }
}

@media (max-width: 768px) {
    .mega-grid {
        grid-template-columns: 1fr; /* На телефонах всё в одну колонку */
    }
    .mc-card:first-child {
        grid-column: span 1; /* На телефоне первый блок возвращаем в обычный размер */
    }
}
/* Производство и Эмпатия */
.process-section { padding: 100px 5%; background: #fff; position: relative; z-index: 1; }
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1300px; margin: 0 auto; }
.process-card { border-radius: var(--radius); overflow: hidden; background: var(--color-bg-light); display: flex; flex-direction: column; border: 1px solid rgba(0,0,0,0.03); }
.process-img { height: 350px; width: 100%; object-fit: cover; }
.process-content { padding: 50px; flex-grow: 1; }
.empathy-section { padding: 100px 5%; position: relative; z-index: 1; }
.empathy-wrap { max-width: 1200px; margin: 0 auto; display: flex; gap: 60px; align-items: center; }
.empathy-text { flex: 1.1; }
.empathy-img-wrap { flex: 1; position: relative; }
.empathy-img { width: 100%; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,0.08); display: block; }
.empathy-badge { position: absolute; bottom: -30px; left: -30px; background: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 15px 40px rgba(0,0,0,0.08); max-width: 85%; border: 1px solid #EFEBE4; }
.empathy-badge p { margin: 0 !important; font-family: var(--font-head) !important; font-style: italic !important; font-size: 1.4rem !important; color: var(--color-accent) !important; }

/* Финтех-Скролл */
.tech-section { padding: 100px 5% 150px; background: var(--color-bg-dark); color: #fff; }
.tech-wrap { max-width: 1300px; margin: 0 auto; display: flex; gap: 60px; align-items: flex-start; }
.tech-left { flex: 0.8; position: sticky; top: 20vh; height: fit-content; }
.tech-left h2 { color: #fff !important; font-size: 3.5rem !important; line-height: 1.1 !important; }
.tech-left p { color: rgba(255,255,255,0.7) !important; font-size: 1.25rem !important; }
.tech-right { flex: 1.2; display: flex; flex-direction: column; padding-bottom: 20vh; }
.tech-card { position: sticky; top: 15vh; background: #fff; color: var(--color-text-main); border-radius: 24px; overflow: hidden; box-shadow: 0 -10px 40px rgba(0,0,0,0.3); display: flex; flex-direction: column; height: 70vh; max-height: 700px; margin-bottom: 80vh; transition: transform 0.3s; }
.tech-card:last-child { margin-bottom: 0; }
.tech-card:nth-child(1) { top: 15vh; }
.tech-card:nth-child(2) { top: 18vh; }
.tech-card:nth-child(3) { top: 21vh; }
.tech-card:nth-child(4) { top: 24vh; }
.tc-img-wrap { height: 50%; width: 100%; position: relative; overflow: hidden; background: #111; }
.tc-img-wrap img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.tc-content { padding: 40px 50px; height: 50%; display: flex; flex-direction: column; justify-content: center; }
.tc-content h3 { font-size: 2.2rem !important; margin-bottom: 15px !important; color: var(--color-text-main) !important;}
.tc-content p { font-size: 1.1rem !important; color: var(--color-text-p) !important; margin-bottom: 25px !important; }
.tc-diamond { background: linear-gradient(135deg, #1A1816 0%, #2A2724 100%); color: #fff; border: 1px solid rgba(166,138,107,0.2); }
.tc-diamond .tc-content h3 { color: #fff !important; }
.tc-diamond .tc-content p { color: rgba(255,255,255,0.8) !important; }

/* Фонд, Отзывы, CTA, SEO */
.charity-section { padding: 120px 5%; background: #fff; }
.charity-wrap { max-width: 1200px; margin: 0 auto; display: flex; gap: 60px; align-items: center; flex-direction: row-reverse; }
.charity-img { flex: 1; border-radius: var(--radius); width: 30%; object-fit: cover; box-shadow: 0 20px 50px rgba(0,0,0,0.08); }
.charity-text { flex: 1.2; }
.reviews-section { padding: 100px 5%; background: var(--color-bg-light); text-align: center; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; max-width: 1300px; margin: 0 auto; text-align: left; }
.review-card { background: #fff; padding: 40px; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,0.02); }
.cta-section { padding: 120px 5%; background: linear-gradient(135deg, var(--color-bg-dark), #1A1816); color: #fff; text-align: center; }
.seo-section { padding: 80px 5%; background: #fff; border-top: 1px solid #EFEBE4; }
.seo-content { max-width: 1200px; margin: 0 auto; }
.seo-content h1 { font-size: 2.2rem !important; margin-bottom: 20px !important; color: #6A655F !important; }
.seo-content h2 { font-size: 1.8rem !important; margin-top: 40px !important; margin-bottom: 20px !important; color: #6A655F !important; }
.seo-content p { font-size: 1.15rem !important; color: #8A857F !important; margin-bottom: 20px !important; line-height: 1.7 !important; }

/* Адаптив главной */
@media (max-width: 1024px) {
  .premium-home h1 { font-size: 3.2rem !important; }
  .premium-home h2 { font-size: 2.6rem !important; }
  .tech-wrap { flex-direction: column; gap: 40px; }
  .tech-left { position: relative; top: 0; }
  .tech-right { gap: 30px; padding-bottom: 0; }
  .tech-card { position: relative; top: 0 !important; height: auto; max-height: none; margin-bottom: 20px !important; }
  .tc-img-wrap { height: 250px; }
  .tc-content { height: auto; padding: 30px; }
  .empathy-wrap, .charity-wrap, .process-grid { flex-direction: column; }
  .empathy-badge { position: relative; bottom: 0; left: 0; max-width: 100%; margin-top: -20px; }
}
@media (max-width: 768px) {
  .premium-home h1 { font-size: 2.4rem !important; }
  .hero-desc { font-size: 1.15rem !important; }
  .btn-warm { padding: 15px 30px !important; font-size: 1rem !important; width: 100%; }
  .stats-banner { grid-template-columns: 1fr 1fr; margin-top: -30px; padding: 25px 15px; gap: 25px 10px; }
  .stat-item { border-right: none; border-bottom: 1px solid #EFEBE4; padding-bottom: 15px; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; padding-bottom: 0; }
  .stat-value { font-size: 3rem !important; }
  .bridge-text { font-size: 1.6rem !important; }
  .mc-content h3 { font-size: 1.6rem !important; }
  .cta-section h2 { font-size: 2.2rem !important; }
}

/* =========================================
   ПЛАНШЕТЫ (до 992px)
   ========================================= */
   @media (max-width: 992px) {
    /* Общие отступы секций делаем чуть меньше */
    .process-section, .empathy-section {
      padding: 80px 5%;
    }

    /* Блок 4. Производство */
    .process-grid {
      gap: 25px;
    }
    .process-img {
      height: 280px; /* Уменьшаем высоту картинки */
    }
    .process-content {
      padding: 30px 25px; /* Уменьшаем внутренние отступы карточки */
    }

    /* Секция Эмпатии (которая идет следом) */
    .empathy-wrap {
      flex-direction: column; /* Ставим текст и картинку друг под друга */
      gap: 50px;
    }
    .empathy-img-wrap {
      width: 100%;
      max-width: 600px; /* Ограничиваем ширину картинки, чтобы не была гигантской */
      margin: 0 auto;
    }
    .empathy-badge {
      /* Убираем отрицательный отступ слева, чтобы не было скролла по горизонтали */
      left: 20px;
      bottom: -25px;
      padding: 20px;
    }
    .empathy-badge p {
      font-size: 1.2rem !important;
    }
  }

  /* =========================================
     МОБИЛЬНЫЕ ТЕЛЕФОНЫ (до 768px)
     ========================================= */
  @media (max-width: 768px) {
    /* Делаем отступы комфортными для маленьких экранов */
    .process-section, .empathy-section {
      padding: 60px 5%;
    }

    /* Блок 4. Производство */
    .process-grid {
      grid-template-columns: 1fr; /* Карточки встают друг под друга */
      gap: 30px;
    }
    .process-img {
      height: 240px;
    }
    .process-content {
      padding: 25px 20px;
    }

    /* Секция Эмпатии */
    .empathy-badge {
      /* На смартфонах меняем логику плашки: убираем абсолютное позиционирование,
         делаем красивый наплыв через отрицательный margin */
      position: relative;
      bottom: auto;
      left: auto;
      margin: -30px auto 0 auto; /* Наплыв на картинку сверху */
      width: 90%;
      max-width: 100%;
      text-align: center; /* Центрируем текст цитаты */
      z-index: 2; /* Чтобы плашка точно была поверх картинки */
    }
    .empathy-badge p {
      font-size: 1.1rem !important;
    }
  }

  /* =========================================
   ПЛАНШЕТЫ (до 992px)
   ========================================= */
@media (max-width: 992px) {
    .bridge-section {
      padding: 80px 5% 60px; /* Немного убираем воздух */
    }

    .bridge-section::before {
      font-size: 160px; /* Слегка уменьшаем кавычку */
      top: 15px;
    }

    .premium-home p.bridge-text {
      font-size: 1.8rem !important; /* Уменьшаем шрифт текста */
      line-height: 1.5 !important;
    }
  }

  /* =========================================
     МОБИЛЬНЫЕ ТЕЛЕФОНЫ (до 768px)
     ========================================= */
  @media (max-width: 768px) {
    .bridge-section {
      padding: 60px 5% 50px; /* Оставляем комфортные отступы для телефона */
    }

    .bridge-section::before {
      font-size: 120px; /* Делаем кавычку соразмерной экрану */
      top: 20px;
    }

    .premium-home p.bridge-text {
      font-size: 1.35rem !important; /* Комфортный размер для чтения с мобильного */
      line-height: 1.45 !important;
    }

    /* ВАЖНЫЙ ТРЮК: отключаем жесткий перенос строки на смартфонах,
       чтобы текст переносился мягко и естественно по ширине экрана */
    .bridge-text br {
      display: none;
    }
  }
/* ==============================================
   КАТЕГОРИЯ: Хлебные крошки и структура
============================================== */
.category-page-premium { padding: 40px 15px 80px; font-family: var(--font-main); }
.breadcrumb-quiet { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 30px; font-size: 0.85rem; color: #8A857F; }
.breadcrumb-quiet li { display: flex; align-items: center; }
.breadcrumb-quiet li:not(:last-child)::after { content: '/'; margin: 0 10px; color: #D9D0C5; }
.breadcrumb-quiet a { color: #8A857F; text-decoration: none; transition: 0.2s; }
.breadcrumb-quiet a:hover { color: var(--color-accent); }

/* ==============================================
   КАТЕГОРИЯ: Шапка (Hero)
============================================== */
.category-hero { display: flex; gap: 40px; background: #fff; padding: 40px; border-radius: var(--radius); margin-bottom: 40px; align-items: center; border: 1px solid #EFEBE4; }
.cat-hero-text { flex: 1; }
.cat-title { font-family: var(--font-head); font-size: 3rem; color: var(--color-text-main); margin: 0 0 20px; line-height: 1.1; }
.cat-subtitle { display: block; font-family: var(--font-main); font-size: 1.2rem; color: var(--color-accent); margin-top: 10px; font-weight: 400; }
.cat-short-desc { font-size: 1.1rem; color: var(--color-text-p); line-height: 1.6; }
.cat-hero-image { flex: 0.8; height: 250px; overflow: hidden; border-radius: 12px; }
.cat-hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* ==============================================
   КАТЕГОРИЯ: Теги подкатегорий
============================================== */
.category-tags { display: flex; align-items: center; gap: 20px; margin-bottom: 40px; background: #fff; padding: 15px 25px; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.02); }
.tags-label { font-weight: 500; color: #8A857F; white-space: nowrap; }
.tags-scroll {
    display: flex;
    flex-wrap: wrap; /* Разрешаем перенос на новые строки */
    gap: 10px;
}
.tags-scroll::-webkit-scrollbar { display: none; }
.cat-tag-btn { padding: 8px 20px; background: var(--color-bg-light); border: 1px solid #EFEBE4; color: var(--color-text-main); border-radius: 30px; font-size: 0.9rem; text-decoration: none; white-space: nowrap; transition: 0.3s; }
.cat-tag-btn:hover { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }

/* ==============================================
   КАТЕГОРИЯ: Сетка и Карточка товара (Тихая роскошь)
============================================== */
.custom-product-grid { display: flex; flex-wrap: wrap; margin-left: -15px; margin-right: -15px; }

/* Сама карточка (делаем отступы чуть аккуратнее) */
.card-quiet {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    padding: 20px; /* Сделали одинаковые отступы со всех сторон */
    margin-bottom: 30px;
    border: 1px solid #EFEBE4;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: calc(100% - 30px);
}
.card-quiet:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

/* Контейнер для картинки (Делаем его ВЫСОКИМ и прозрачным) */
.card-img-wrap {
    height: 340px; /* Было 280px. Теперь памятник будет высоким и статным! */
    display: block;
    position: relative;
    background: transparent; /* Убрали бежевый фон */
    margin-bottom: 20px;
}

/* Сама картинка */
.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0; /* Убрали padding, чтобы картинка заняла 100% ширины */
    transition: transform 0.5s;
    mix-blend-mode: multiply; /* МАГИЯ: Эта строчка делает белый фон картинок прозрачным! */
}
.card-quiet:hover .card-img-wrap img {
    transform: scale(1.06); /* Плавное увеличение при наведении */
}
.card-benefits { display: flex; gap: 5px; margin-bottom: 10px; }
.card-benefits img { width: 20px; height: 20px; opacity: 0.6; }

.card-title { font-family: var(--font-main); font-size: 1.1rem; font-weight: 500; line-height: 1.4; margin: 0 0 15px; flex-grow: 1; }
.card-title a { color: var(--color-text-main); text-decoration: none; }
.card-title a:hover { color: var(--color-accent); }

.card-price-box { margin-bottom: 20px; border-top: 1px dashed #EFEBE4; padding-top: 15px; }
.price-label { display: block; font-size: 0.8rem; color: #8A857F; margin-bottom: 3px; }
.card-price { font-family: var(--font-head); font-size: 1.6rem; font-weight: 600; color: var(--color-text-main); }
.price-sale { color: #D9534F; }
.price-old { text-decoration: line-through; color: #999; font-size: 0.9rem; margin-left: 10px; }

.btn-quiet { display: block; width: 100%; text-align: center; padding: 12px 0; background: var(--color-bg-light); color: var(--color-text-main); font-weight: 500; border-radius: 8px; text-decoration: none; transition: 0.3s; }
.card-quiet:hover .btn-quiet {     background: var(--color-accent); /* Это теплый бронзовый цвет */
    color: #fff; }

/* ==============================================
   КАТЕГОРИЯ: Нативные Вставки (Эмпатия)
============================================== */
.inline-banner { background: var(--color-bg-light); border-radius: 16px; padding: 30px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; height: calc(100% - 30px); border: 1px solid #EFEBE4; gap: 30px; }
.ib-content h4 { font-family: var(--font-head); font-size: 1.8rem; margin: 0 0 15px; color: var(--color-text-main); }
.ib-content p { font-size: 1rem; color: var(--color-text-p); margin-bottom: 25px; line-height: 1.5; }
.ib-img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; }

.banner-tech { background: linear-gradient(135deg, var(--color-bg-dark), #1A1816); color: #fff; text-align: center; justify-content: center; }
.banner-tech h4 { color: #fff; font-size: 2.2rem; }
.banner-tech p { color: rgba(255ags-scroll255,255,0.7); max-width: 600px; margin: 0 auto 25px; }
/* КНОПКА: ВОПРОС ИНЖЕНЕРУ */
.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 35px;
    font-size: 1.05rem;
    font-weight: 500;
    border-radius: 8px;
    border: 2px solid #2A2724; /* Темная рамка */
    color: #2A2724; /* Темный текст */
    background: transparent;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background: #2A2724;
    color: #fff !important;
}

/* ==============================================
   КАТЕГОРИЯ: SEO Подвал
============================================== */
.seo-bottom-block { margin-top: 60px; padding: 40px; background: #fff; border-radius: var(--radius); color: #6A655F; font-size: 0.95rem; line-height: 1.7; border: 1px solid #EFEBE4; }
.seo-bottom-block h2 { font-family: var(--font-head); font-size: 2rem; color: var(--color-text-main); margin-bottom: 20px; }

/* Адаптив */
@media(max-width: 991px) {
    .category-hero { flex-direction: column; text-align: center; padding: 30px 20px; }
    .cat-hero-image { width: 100%; height: 200px; }
    .inline-banner { flex-direction: column; text-align: center; }
}
/* Исправление ховера кнопок на теплый цвет */
.card-quiet:hover .btn-quiet { background: var(--color-accent); color: #fff; }

/* Перенос тегов на новые строки */
.tags-scroll { display: flex; flex-wrap: wrap; gap: 10px; }

/* Дизайн блока QR памяти */
.banner-qr { background: var(--color-bg-light); border: 1px solid #EFEBE4; }
.banner-qr h4 { color: var(--color-text-main); font-size: 1.8rem; margin: 0 0 15px; font-family: var(--font-head); }

/* ==============================================
   КАТЕГОРИЯ: Нижние блоки доверия (Подвал страницы)
============================================== */
.bottom-trust-section { margin-top: 60px; border-top: 1px dashed #D9D0C5; padding-top: 50px; }

/* Полоса гарантий */
.trust-strip { display: flex; justify-content: space-between; background: #fff; padding: 30px; border-radius: 12px; border: 1px solid #EFEBE4; margin-bottom: 40px; gap: 20px;}
.ts-item { flex: 1; text-align: center; color: var(--color-text-p); font-size: 0.95rem; font-weight: 500;}
.ts-item i { display: block; color: var(--color-accent); font-size: 2rem; margin-bottom: 12px; }

/* Блок Основателя */
.founder-block { display: flex; align-items: center; background: linear-gradient(to right, #FDFBF8, #fff); padding: 40px; border-radius: 16px; border: 1px solid #EFEBE4; gap: 40px; margin-bottom: 40px; }
.fb-photo { width: 150px; height: 150px; flex-shrink: 0; }
.fb-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.fb-text h4 { font-family: var(--font-head); font-size: 1.6rem; margin-top: 0; margin-bottom: 10px; color: var(--color-text-main); }
.fb-text p { font-style: italic; font-size: 1.05rem; line-height: 1.6; color: var(--color-text-p); margin-bottom: 15px; }
.founder-link { color: var(--color-accent); font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; transition: 0.3s; }
.founder-link:hover { border-bottom-color: var(--color-accent); }

/* SEO Текст и FAQ */
.seo-bottom-block { padding: 40px; background: #fff; border-radius: 16px; border: 1px solid #EFEBE4; color: var(--color-text-p); font-size: 1rem; line-height: 1.7; }
.seo-bottom-block h2 { font-family: var(--font-head); font-size: 2rem; color: var(--color-text-main); margin-bottom: 20px; }

/* Аккордеон FAQ */
.faq-item { border-bottom: 1px solid #EFEBE4; padding: 15px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item summary { font-size: 1.1rem; font-weight: 500; color: var(--color-text-main); cursor: pointer; list-style: none; position: relative; padding-right: 30px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 1.5rem; color: var(--color-accent); transition: transform 0.3s; }
.faq-item[open] summary::after { content: '−'; }
.faq-content { padding-top: 15px; color: var(--color-text-p); font-size: 0.95rem; }

/* Адаптив для нижних блоков */
@media (max-width: 768px) {
    .trust-strip { flex-direction: column; gap: 30px; }
    .founder-block { flex-direction: column; text-align: center; padding: 30px 20px; gap: 20px; }
}
/* ==============================================
   САЙДБАР (Левая колонка и Фильтры)
============================================== */
.premium-sidebar {
    padding-right: 20px;
}

/* Переодеваем стандартные модули OpenCart (Фильтры, Категории) */
.premium-sidebar .panel {
    background: #fff;
    border: 1px solid #EFEBE4;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.01);
    margin-bottom: 30px;
    overflow: hidden;
}

/* Заголовок фильтра/модуля */
.premium-sidebar .panel-heading {
    background: var(--color-bg-light);
    border-bottom: 1px solid #EFEBE4;
    padding: 18px 20px;
    color: var(--color-text-main);
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 600;
}

/* Элементы списка (пункты фильтра/категорий) */
.premium-sidebar .list-group-item {
    border: none;
    border-bottom: 1px solid #F5F3F0;
    padding: 12px 20px;
    color: var(--color-text-p);
    transition: 0.3s;
    font-size: 0.95rem;
    background: transparent;
}
.premium-sidebar .list-group-item:last-child {
    border-bottom: none;
}

/* Эффект наведения для ссылок в сайдбаре (сдвиг вправо) */
.premium-sidebar .list-group a.list-group-item:hover,
.premium-sidebar .list-group a.list-group-item.active {
    background: var(--color-bg-light);
    color: var(--color-accent);
    padding-left: 25px;
    font-weight: 500;
}

/* Дизайн чекбоксов внутри стандартного фильтра */
.premium-sidebar .checkbox label {
    font-size: 0.95rem;
    color: var(--color-text-p);
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
}
.premium-sidebar .checkbox input {
    margin-right: 12px;
    margin-top: 0;
    accent-color: var(--color-accent); /* Красит чекбокс в теплый цвет в новых браузерах */
}

/* Кнопка "Применить" (если есть в фильтре) */
.premium-sidebar .panel-footer {
    background: #fff;
    border-top: 1px solid #EFEBE4;
    padding: 15px 20px;
}
.premium-sidebar .btn-primary {
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    width: 100%;
    padding: 10px;
    font-weight: 500;
    transition: 0.3s;
}
.premium-sidebar .btn-primary:hover {
    background: #8C7256;
    color: #fff;
}

/* ==============================================
   ВИДЖЕТ ПОМОЩИ (ЛИПКИЙ) В САЙДБАРЕ
============================================== */
.sidebar-help-widget {
    background: linear-gradient(145deg, #FAF8F5, #fff);
    border: 1px solid #EFEBE4;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 25px rgba(166, 138, 107, 0.05);
}

/* Прилипание к экрану */
.sticky-sidebar {
    position: sticky;
    top: 40px; /* Отступ от верхнего края экрана при скролле */
    z-index: 10;
}

.shw-icon i {
    font-size: 2.2rem;
    color: var(--color-accent);
    margin-bottom: 15px;
}
.sidebar-help-widget h4 {
    font-family: var(--font-head);
    font-size: 1.6rem;
    color: var(--color-text-main);
    margin: 0 0 10px;
}
.sidebar-help-widget p {
    font-size: 0.9rem;
    color: var(--color-text-p);
    line-height: 1.5;
    margin-bottom: 20px;
}
.shw-note {
    display: block;
    font-size: 0.8rem;
    color: #999;
    margin-top: 15px;
    font-style: italic;
}
/* ==============================================
   ФИКС СЕТКИ: Делаем колонки послушными и липкими
============================================== */
@media (min-width: 768px) {
    .category-flex-row {
        display: flex;
        align-items: stretch; /* Сайдбар будет тянуться до самого низа контента */
    }

    /* Отключаем старые костыли Bootstrap, которые ломают верстку */
    .category-flex-row::before,
    .category-flex-row::after {
        display: none !important;
    }

    .category-flex-row > div,
    .category-flex-row > aside {
        float: none !important;
    }
}

/* Наш виджет в колонке */
.sidebar-help-widget {
    background: linear-gradient(145deg, #FAF8F5, #fff);
    border: 1px solid #EFEBE4;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
}

/* Делаем его плавающим (Sticky) */
.sticky-sidebar {
    position: sticky;
    top: 40px; /* Отступ от верхнего края экрана, когда он прилипнет */
    z-index: 10;
}

/* ==============================================
   📱 АДАПТИВ (ПЛАНШЕТЫ - от 768px до 991px)
============================================== */
@media (min-width: 768px) and (max-width: 991px) {

    /* 1. Шапка категории: Картинка и текст друг под другом */
    .category-hero {
        flex-direction: column;
        text-align: center;
        padding: 30px;
        gap: 20px;
    }
    .cat-hero-image {
        width: 100%;
        height: 250px;
    }

    /* 2. Баннеры-вставки: чтобы контент внутри не сплющивался */
    .inline-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px;
        gap: 25px;
    }
    .banner-qr .ib-content {
        padding-right: 0;
    }
    .banner-qr .ib-img-wrap {
        width: 100%;
        text-align: center !important;
    }

    /* 3. Блок Основателя: Делаем компактнее */
    .founder-block {
        flex-direction: column;
        text-align: center;
        padding: 30px;
        gap: 20px;
    }
    .fb-photo {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }

    /* 4. Полоса гарантий: Разрешаем перенос на новую строку */
    .trust-strip {
        flex-wrap: wrap;
        gap: 20px 10px;
    }
    .ts-item {
        min-width: 45%; /* Два элемента в верхнем ряду, один по центру в нижнем */
        margin-bottom: 10px;
    }

    /* 5. Сайдбар: уменьшаем отступы виджета */
    .sidebar-help-widget {
        padding: 25px 15px;
    }
    .sidebar-help-widget h4 {
        font-size: 1.3rem;
    }
}


/* ==============================================
   📱 АДАПТИВ (МОБИЛЬНАЯ ВЕРСИЯ - ДО 768px)
============================================== */
@media (max-width: 767px) {

    /* 1. Отключаем поведение колонок (теперь они идут друг под другом) */
    .category-flex-row {
        display: block;
    }

    /* 2. Сайдбар и Фильтр */
    .premium-sidebar {
        padding-right: 0;
        margin-bottom: 30px;
    }

    /* Прячем липкий блок "Написать мастеру" на телефоне (он займет слишком много места) */
    .sidebar-help-widget {
        display: none !important;
    }

    /* 3. Шапка Категории: Картинка сверху, текст снизу */
    .category-hero {
        flex-direction: column-reverse; /* Меняем порядок блоков */
        padding: 20px;
        gap: 20px;
    }
    .cat-hero-image {
        width: 100%;
        height: 220px;
    }
    .cat-title {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }
    .cat-short-desc {
        font-size: 1rem;
    }

    /* 4. Теги (Уточнить поиск) - Делаем горизонтальный свайп! */
    .category-tags {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
        gap: 10px;
    }
    .tags-scroll {
        flex-wrap: nowrap; /* Запрещаем перенос строк на телефоне */
        overflow-x: auto;  /* Включаем прокрутку пальцем по горизонтали */
        width: 100%;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch; /* Плавный скролл на iPhone */
    }
    .cat-tag-btn {
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    /* 5. Карточки товаров */
    /* Делаем так, чтобы карточки не прилипали к краям экрана */
    .custom-product-grid > div {
        padding-left: 10px;
        padding-right: 10px;
    }
    .card-img-wrap {
        height: 250px; /* Чуть уменьшаем высоту фото для телефона */
    }

    /* 6. Нативные баннеры-вставки (Делаем вертикальными) */
    .inline-banner {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        gap: 20px;
    }
    .banner-qr .ib-content {
        padding-right: 0;
    }
    /* Картинки во вставках на всю ширину */
    .ib-img, .banner-qr .ib-img-wrap img {
        width: 100%;
        height: auto;
        border-radius: 12px;
    }
    .banner-qr .ib-img-wrap {
        width: 100%;
    }

    /* 7. Нижние блоки доверия */
    .trust-strip {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    .founder-block {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }
    .fb-photo {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    .seo-bottom-block {
        padding: 25px 20px;
    }
    .seo-bottom-block h2 {
        font-size: 1.6rem;
    }
}
/* Разделитель "или" */
.shw-divider { text-align: center; margin: 15px 0; position: relative; }
.shw-divider::before { content: ''; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: #EFEBE4; z-index: 1; }
.shw-divider span { background: #FAF8F5; padding: 0 10px; color: #999; font-size: 0.85rem; position: relative; z-index: 2; font-style: italic;}

/* Поля формы */
.shw-form-title { font-size: 0.9rem; color: var(--color-text-p); margin-bottom: 10px; }
.shw-input { width: 100%; padding: 12px 15px; border: 1px solid #D9D0C5; border-radius: 8px; font-family: var(--font-main); font-size: 1rem; color: var(--color-text-main); margin-bottom: 12px; background: #fff; transition: 0.3s; }
.shw-input:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(166,138,107,0.1); }

/* Галочка (Чекбокс) */
.shw-checkbox-wrap { display: flex; align-items: flex-start; text-align: left; margin-bottom: 15px; cursor: pointer; gap: 8px;}
.shw-checkbox-wrap input { margin-top: 3px; accent-color: var(--color-accent); cursor: pointer; }
.shw-checkbox-text { font-size: 0.75rem; color: #8A857F; line-height: 1.4; }
.shw-checkbox-text a { color: var(--color-accent); text-decoration: underline; }

/* Кнопка отправки */
.shw-submit { width: 100%; border-color: var(--color-text-main); color: var(--color-text-main); padding: 10px; cursor: pointer; }
.shw-submit:hover { background: var(--color-text-main); color: #fff; }
.shw-submit:disabled { opacity: 0.6; cursor: not-allowed; }
/* Курсор-лупа для картинки */
.zoomable-img {
    max-width: 100%;
    border-radius: 12px;
    cursor: zoom-in; /* Курсор в виде лупы */
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.zoomable-img:hover {
    transform: scale(1.02);
}

/* Сама модалка (черный фон на весь экран) */
.custom-modal {
    display: none; /* Скрыта */
    position: fixed;
    z-index: 99999;
    padding-top: 50px;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.85); /* Полупрозрачный черный */
    backdrop-filter: blur(5px);
}
/* Картинка внутри модалки */
.custom-modal .modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}
/* Кнопка закрыть (крестик) */
.close-modal {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.close-modal:hover { color: var(--color-accent); }

@keyframes zoomIn { from {transform:scale(0.9); opacity:0;} to {transform:scale(1); opacity:1;} }
/* Добавь это в блок @media (max-width: 767px) */
.manifesto-block {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px !important;
}
.manifesto-block .mb-photo {
    width: 130px !important;
    height: 130px !important;
    margin: 0 auto;
}


/*категория с цветами*/
/* ==============================================
   ЖУРНАЛЬНЫЙ ГИД ВНИЗУ КАТЕГОРИИ
============================================== */
.premium-guide-block {
    display: flex;
    background: #FAF8F5;
    border-radius: 16px;
    border: 1px solid #EFEBE4;
    margin-bottom: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.pgb-content {
    flex: 1.2;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pgb-title {
    font-family: var(--font-head);
    font-size: 2.2rem;
    color: var(--color-text-main);
    margin-top: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.pgb-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text-p);
    margin-bottom: 30px;
}

/* Красивый список без стандартных точек */
.pgb-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.pgb-item {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid var(--color-accent);
}

.pgb-item strong {
    display: block;
    color: var(--color-text-main);
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.pgb-item span {
    color: var(--color-text-p);
    font-size: 0.95rem;
    line-height: 1.5;
    display: block;
}

/* Мягкая кнопка-призыв внизу текста */
.pgb-action {
    display: inline-block;
    background: #EBE5DB; /* Очень мягкий бежевый */
    color: var(--color-text-main);
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: 0.3s;
    text-align: center;
}
.pgb-action i { margin-right: 8px; color: var(--color-accent); }
.pgb-action:hover { background: var(--color-accent); color: #fff; }
.pgb-action:hover i { color: #fff; }

/* Блок с картинкой */
.pgb-image {
    flex: 0.8;
}
.pgb-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Адаптив для планшетов и телефонов */
@media (max-width: 991px) {
    .premium-guide-block { flex-direction: column; }
    .pgb-image { height: 300px; order: -1; } /* На мобилке картинка будет сверху */
    .pgb-content { padding: 30px 20px; }
    .pgb-title { font-size: 1.6rem; align-items: flex-start; }
    .pgb-title i { margin-top: 5px; font-size: 1.2rem; }
}

/*конец категории с цветами*/
/* ==========================================================================
   СТИЛИЗАЦИЯ СТАНДАРТНЫХ ОПЦИЙ OPENCART В КАРТОЧКЕ ТОВАРА
   ========================================================================== */

   .custom-radio-group .radio {
    display: inline-block;
    margin: 0 10px 10px 0;
}

.custom-radio-group .radio label {
    padding: 0;
    margin: 0;
    cursor: pointer;
}

/* Скрываем стандартный кружок */
.custom-radio-group .radio input[type="radio"] {
    display: none;
}

/* Рисуем нашу плитку */
.custom-radio-group .radio .chip-text {
    display: inline-block;
    padding: 12px 20px;
    background: #fff;
    border: 1px solid #D9D0C5;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--color-text-main);
    transition: all 0.3s ease;
    font-weight: 500;
}

/* Состояние при наведении */
.custom-radio-group .radio:hover .chip-text {
    border-color: var(--color-accent);
}

/* Выбранное состояние */
.custom-radio-group .radio input[type="radio"]:checked + .chip-text {
    background: var(--color-bg-dark);
    color: #fff;
    border-color: var(--color-bg-dark);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Дизайн вкладок (Табов) в стиле Premium */
.custom-premium-tabs {
    border-bottom: none;
    margin: 0;
    display: flex;
    gap: 10px;
}
.custom-premium-tabs > li { float: none; }
.custom-premium-tabs > li > a {
    border: none !important;
    background: var(--color-bg-light) !important;
    color: var(--color-text-p) !important;
    border-radius: 12px 12px 0 0 !important;
    padding: 15px 30px !important;
    font-size: 1.05rem;
    font-weight: 500;
    transition: 0.3s;
}
.custom-premium-tabs > li.active > a,
.custom-premium-tabs > li > a:hover {
    background: #fff !important;
    color: var(--color-text-main) !important;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.02);
}
/* ==============================================
   КАРТОЧКА ПРОЕКТА: ТИХАЯ РОСКОШЬ
============================================== */

/* Липкий контейнер для фото */
.sticky-gallery {
    position: sticky;
    top: 40px; /* Отступ от верха экрана */
    z-index: 10;
}

/* Элегантные теги (крупнее) */
.premium-tags { margin-top: 40px; padding-top: 20px; border-top: 1px dashed #EFEBE4; }
.premium-tags span { color: #8A857F; font-size: 1rem; margin-right: 10px; }
.premium-tags a {
    display: inline-block;
    padding: 8px 18px;
    background: #fff;
    border: 1px solid #D9D0C5;
    border-radius: 30px;
    color: #5A554E;
    font-size: 0.95rem;
    text-decoration: none;
    margin: 5px 5px 5px 0;
    transition: 0.3s;
}
.premium-tags a:hover { background: #A68A6B; color: #fff; border-color: #A68A6B; }

/* Блок AI Эпитафии (Заметка архитектора) */
.architect-note {
    background: linear-gradient(145deg, #fff, #FAF8F5);
    border-left: 3px solid #A68A6B;
    padding: 25px 30px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}
.architect-note-title { font-family: var(--font-head); font-size: 1.2rem; color: #2A2724; margin-bottom: 10px; }
.architect-note p { font-family: 'Georgia', serif; font-size: 1rem; line-height: 1.7; color: #5A554E; font-style: italic; margin: 0; }

/* Разделение блоков справа */
.premium-section-title {
    font-family: var(--font-head);
    font-size: 1.8rem;
    color: #2A2724;
    margin: 40px 0 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #EFEBE4;
}

/* Плавающая панель снизу (Всегда на виду) */
.floating-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid #EFEBE4;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
    z-index: 999;
    padding: 15px 0;
    transform: translateY(100%); /* Скрыта по умолчанию */
    transition: transform 0.4s ease;
}
.floating-action-bar.visible { transform: translateY(0); }
.fab-container { display: flex; justify-content: space-between; align-items: center; max-width: 1600px; margin: 0 auto; padding: 0 4%; }
.fab-price-wrap { display: flex; align-items: baseline; gap: 15px; }
.fab-label { color: #8A857F; font-size: 1rem; }
.fab-price { font-family: var(--font-head); font-size: 2.2rem; font-weight: 600; color: #2A2724; }
.fab-btn {
    background: #1C1A19; color: #fff; padding: 15px 40px; font-size: 1.1rem;
    font-weight: 500; border-radius: 8px; border: none; cursor: pointer; transition: 0.3s; text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
}
.fab-btn:hover { background: #A68A6B; color: #fff; }

@media (max-width: 768px) {
    .sticky-gallery { position: relative; top: 0; }
    .fab-container { flex-direction: column; gap: 10px; text-align: center; }
    .fab-btn { width: 100%; justify-content: center; }
}
/* ==============================================
   3-КОЛОНОЧНАЯ КАРТОЧКА ПРОЕКТА
============================================== */

/* Исправление для работы sticky в колонках Bootstrap */
.custom-product-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start; /* ВАЖНО: Без этого sticky не работает! */
    margin-left: -15px;
    margin-right: -15px;
}

/* Липкие контейнеры (И для фото, и для правой панели) */
.sticky-block {
    position: sticky;
    top: 40px;
    z-index: 10;
}

/* Правая панель (Action Card) */
.premium-action-card {
    background: #fff;
    border: 1px solid #EFEBE4;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.pac-label { font-size: 0.95rem; color: #8A857F; display: block; margin-bottom: 5px; }
.pac-price { font-family: var(--font-head); font-size: 2.4rem; font-weight: 600; color: #2A2724; line-height: 1; display: block; margin-bottom: 25px; }

/* Кнопки в правой панели */
.btn-primary-action {
    display: flex; justify-content: center; align-items: center; width: 100%;
    background: #1C1A19; color: #fff; padding: 16px 20px; font-size: 1.1rem;
    font-weight: 500; border-radius: 8px; border: none; cursor: pointer; transition: 0.3s;
    text-decoration: none; margin-bottom: 15px; gap: 10px;
}
.btn-primary-action:hover { background: #A68A6B; color: #fff; }

.btn-pdf-action {
    display: flex; justify-content: center; align-items: center; width: 100%;
    background: transparent; color: #5A554E; padding: 14px 20px; font-size: 1rem;
    font-weight: 500; border-radius: 8px; border: 1px solid #D9D0C5; cursor: pointer; transition: 0.3s;
    text-decoration: none; margin-bottom: 25px; gap: 10px;
}
.btn-pdf-action:hover { border-color: #A68A6B; color: #A68A6B; }

/* Динамический блок "Что включено" */
.pac-included {
    background: #FDFBF8; border-radius: 8px; padding: 20px;
    border: 1px solid #EFEBE4; margin-bottom: 25px;
    font-size: 0.9rem; line-height: 1.6; color: #5A554E;
}
.pac-included-title { font-weight: 600; color: #2A2724; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.pac-included-title i { color: #A68A6B; }

/* Преимущества (USPs) */
.pac-usps { border-top: 1px dashed #EFEBE4; padding-top: 20px; display: flex; flex-direction: column; gap: 15px; }
.pac-usp-item { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9rem; color: #444; line-height: 1.4; }
.pac-usp-item i { color: #A68A6B; font-size: 1.1rem; margin-top: 2px; }

/* Скрываем мобильную нижнюю панель на компьютерах */
@media (min-width: 992px) {
    .floating-action-bar { display: none !important; }
}

/* Адаптив для планшетов и телефонов (Правая панель уходит под фото или в самый низ) */
@media (max-width: 991px) {
    .sticky-block { position: relative; top: 0; margin-bottom: 30px; }
    .col-lg-3 { order: 3; } /* Правая панель уходит вниз */
    .premium-action-card { display: none; } /* На мобилках скрываем правую карточку, так как есть всплывающая панель внизу */
    .floating-action-bar { display: block; }
}




/* ==============================================
   БАЗОВЫЕ СТИЛИ: ТИХАЯ РОСКОШЬ
============================================== */
:root {
    --color-bg-light: #FAF8F5;
    --color-accent: #A68A6B;
    --color-text-main: #2A2724;
    --color-text-p: #5A554E;
    --font-head: 'Cormorant Garamond', serif;
}

.premium-product-page { background: var(--color-bg-light); padding-bottom: 80px; }

/* === ШАПКА: ЖУРНАЛЬНЫЙ СТИЛЬ === */
.project-header-row {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #EFEBE4;
    text-align: center; /* Центрируем для премиальности */
}
.project-title {
    font-family: var(--font-head); font-size: 3.5rem; font-weight: 600;
    color: var(--color-text-main); line-height: 1.1; margin: 0 auto 15px; max-width: 1000px;
}
.project-sku {
    color: #8A857F; font-size: 1.05rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px;
}

/* Сетка для работы Sticky */
.custom-product-row { display: flex; flex-wrap: wrap; align-items: flex-start !important; margin-left: -15px; margin-right: -15px; }
.custom-product-row::before, .custom-product-row::after { display: none !important; }

/* Липкие блоки */
.sticky-block { position: sticky; top: 30px; height: fit-content; z-index: 10; }

/* === АРТ-БЛОК (Заметка куратора) === */
.architect-note {
    margin-top: 30px; padding: 30px; background: #fff;
    border-radius: 12px; border: 1px solid #EFEBE4;
    position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}
.architect-note::before {
    content: '\201C'; /* Красивые открывающие кавычки */
    font-family: var(--font-head); font-size: 5rem; color: var(--color-accent);
    opacity: 0.2; position: absolute; top: 10px; left: 20px; line-height: 1;
}
.architect-note-title { font-family: var(--font-head); font-size: 1.4rem; color: var(--color-text-main); margin-bottom: 10px; font-weight: 600; position: relative; z-index: 2;}
.architect-note p { font-family: 'Georgia', serif; font-size: 1.05rem; line-height: 1.7; color: var(--color-text-p); font-style: italic; margin: 0; position: relative; z-index: 2;}

/* Опции (Плитки) */
.custom-radio-group .radio { display: inline-block; margin: 0; }
.opt-chip {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 18px; background: #fff; border: 1px solid #D9D0C5;
    border-radius: 8px; font-size: 0.95rem; color: var(--color-text-main);
    transition: 0.2s;
}

/* === ПРАВАЯ КАРТОЧКА ПОКУПКИ === */
.premium-action-card {
    background: #fff; border: 1px solid #EFEBE4; border-radius: 16px;
    padding: 30px; box-shadow: 0 15px 40px rgba(0,0,0,0.04);
}
.pac-label { font-size: 0.95rem; color: #8A857F; display: block; margin-bottom: 5px; }
.pac-price { font-family: var(--font-head); font-size: 2.6rem; font-weight: 600; color: var(--color-text-main); line-height: 1; display: block; margin-bottom: 25px; }

.btn-primary-action {
    display: flex; justify-content: center; align-items: center; width: 100%;
    background: #1C1A19; color: #fff; padding: 18px 20px; font-size: 1.1rem;
    font-weight: 500; border-radius: 8px; border: none; cursor: pointer; transition: 0.3s;
    text-decoration: none; margin-bottom: 15px; gap: 10px;
}
.btn-primary-action:hover { background: var(--color-accent); color: #fff; }

.btn-pdf-action {
    display: flex; justify-content: center; align-items: center; width: 100%;
    background: transparent; color: var(--color-text-p); padding: 14px 20px; font-size: 1rem;
    font-weight: 500; border-radius: 8px; border: 1px solid #D9D0C5; cursor: pointer; transition: 0.3s;
    text-decoration: none; margin-bottom: 25px; gap: 10px;
}
.btn-pdf-action:hover { border-color: var(--color-accent); color: var(--color-accent); }

.pac-included {
    background: #FDFBF8; border-radius: 8px; padding: 20px;
    border: 1px solid #EFEBE4; margin-bottom: 25px;
    font-size: 0.9rem; line-height: 1.6; color: var(--color-text-p);
}
.pac-included-title { font-weight: 600; color: var(--color-text-main); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.pac-included-title i { color: var(--color-accent); }

.pac-usps { border-top: 1px dashed #EFEBE4; padding-top: 20px; display: flex; flex-direction: column; gap: 15px; }
.pac-usp-item { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9rem; color: #444; line-height: 1.4; }
.pac-usp-item i { color: var(--color-accent); font-size: 1.1rem; margin-top: 2px; }

/* Полноэкранное Описание */
.fullwidth-info-section { background: #fff; border-top: 1px solid #EFEBE4; border-bottom: 1px solid #EFEBE4; padding: 80px 0; margin: 60px 0; }
.info-section-title { font-family: var(--font-head); font-size: 2.2rem; color: var(--color-text-main); text-align: center; margin-bottom: 40px; }
.chars-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; max-width: 1000px; margin: 0 auto 50px; }
.char-item { padding: 15px 0; border-bottom: 1px solid #F5F3F0; display: flex; justify-content: space-between; }
.char-name { color: #8A857F; font-size: 1rem; }
.char-value { color: var(--color-text-main); font-weight: 500; font-size: 1rem; text-align: right; }
.desc-text { max-width: 800px; margin: 0 auto; font-size: 1.1rem; line-height: 1.8; color: #444; }

/* Теги и Доверие */
.premium-tags { text-align: center; margin-top: 50px; }
.premium-tags a { display: inline-block; padding: 8px 18px; background: #FAF8F5; border: 1px solid #EFEBE4; border-radius: 30px; color: var(--color-text-p); font-size: 0.9rem; text-decoration: none; margin: 5px; transition: 0.3s; }
.premium-tags a:hover { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.trust-steps-wrap { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.trust-step { background: #fff; padding: 30px; border-radius: 12px; border: 1px solid #EFEBE4; text-align: center; }
.trust-step i { font-size: 2.5rem; color: var(--color-accent); margin-bottom: 20px; }
.trust-step h4 { font-family: var(--font-head); font-size: 1.4rem; color: var(--color-text-main); margin-bottom: 10px; }
.trust-step p { font-size: 0.95rem; color: var(--color-text-p); line-height: 1.5; }
.recomtov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; max-width: 1600px; margin: 0 auto; }
.recomtov-card { background: #fff; padding: 20px; border-radius: 12px; border: 1px solid #EFEBE4; text-align: center; transition: 0.3s; }

/* ==============================================
   📱 АДАПТИВ (МОБИЛКИ И ПЛАНШЕТЫ)
============================================== */

/* Плавающая панель снизу (Только для мобильных) */
.mobile-bottom-bar {
    display: none; position: fixed; bottom: 0; left: 0; width: 100%;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(10px);
    border-top: 1px solid #EFEBE4; padding: 15px 20px; z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05); align-items: center; justify-content: space-between;
}
.mbb-price-wrap { display: flex; flex-direction: column; }
.mbb-label { font-size: 0.8rem; color: #8A857F; }
.mbb-price { font-family: var(--font-head); font-size: 1.6rem; font-weight: 600; color: var(--color-text-main); line-height: 1; }
.mbb-btn { background: #1C1A19; color: #fff; padding: 12px 25px; border-radius: 8px; font-weight: 500; text-decoration: none; font-size: 0.95rem; }

@media (max-width: 1199px) {
    .project-title { font-size: 2.8rem; }
}
/* Планшеты (Portrait) */
@media (max-width: 991px) {
    .sticky-block { position: relative; top: 0; }
    /* Меняем сетку: Фото слева, Опции справа. Карточка уходит вниз */
    .col-layout-img { width: 45%; }
    .col-layout-options { width: 55%; }
    .col-layout-card { width: 100%; margin-top: 40px; }
}
/* Телефоны */
@media (max-width: 767px) {
    .project-title { font-size: 2.2rem; }
    .project-header-row { padding-bottom: 20px; margin-bottom: 20px; }
    .col-layout-img, .col-layout-options, .col-layout-card { width: 100%; padding: 0 15px; }
    .col-layout-card { display: none; } /* Скрываем большую карточку, так как есть нижняя панель */
    .mobile-bottom-bar { display: flex; } /* Показываем нижнюю панель */
    .premium-product-page { padding-bottom: 120px; } /* Отступ для нижней панели */
    .chars-grid { grid-template-columns: 1fr; }
}
/* Стили для блока 2/3 и 1/3 */
.section-elegant-title { font-family: var(--font-head); font-size: 2rem; color: var(--color-text-main); margin-bottom: 30px; }

/* Элегантные характеристики с точечками как в меню */
.premium-specs-list { max-width: 100%; font-size: 1.05rem; color: #444; }
.spec-row { display: flex; align-items: flex-end; margin-bottom: 12px; line-height: 1.2; }
.spec-name { color: #8A857F; white-space: nowrap; }
.spec-dots { flex-grow: 1; border-bottom: 1px dotted #D9D0C5; margin: 0 10px; position: relative; top: -4px; }
.spec-value { font-weight: 500; color: var(--color-text-main); text-align: right; }

/* Текст описания */
.premium-description { font-size: 1.1rem; line-height: 1.8; color: #444; }
.premium-description p { margin-bottom: 20px; }

/* Правый сайдбар доверия */
.sticky-trust-sidebar { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 20px; }
.trust-widget { background: #FAF8F5; border: 1px solid #EFEBE4; padding: 30px; border-radius: 12px; text-align: center; }
.trust-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-bottom: 15px; border: 2px solid #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.trust-widget h4 { font-family: var(--font-head); font-size: 1.4rem; color: var(--color-text-main); margin-bottom: 10px; }
.trust-widget p { font-size: 1rem; color: #5A554E; line-height: 1.6; font-style: italic; margin-bottom: 15px; }
.trust-sign { display: block; font-size: 1rem; font-weight: 600; color: #8A857F; text-transform: uppercase; letter-spacing: 1px; }

.social-fund-widget { background: #fff; border-color: #D9D0C5; }
.social-fund-widget i { font-size: 2rem; color: var(--color-accent); margin-bottom: 15px; }

@media (max-width: 991px) {
    .right-trust-area { margin-top: 40px; }
    .sticky-trust-sidebar { position: relative; top: 0; }
}


.product-hover-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    transform: translateY(-5px);
    border-color: #D9D0C5;
}
.btn-outline-light:hover {
    background: var(--color-accent);
    color: #fff !important;
}
@media (max-width: 767px) {
    .innovations-section .col-md-6 { padding-right: 15px; margin-bottom: 30px; text-align: left !important; }
}




/* ==============================================
   СТИЛИ ДЛЯ НОВЫХ БЛОКОВ (ИННОВАЦИИ, УСТАНОВКА, CTA)
============================================== */

/* Установка - Сетка и Карточки */
.install-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.install-card {
    display: flex;
    flex-direction: column;
}
.install-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3; /* Идеальные пропорции для фото */
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    background: #EFEBE4;
}
.install-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.install-card:hover .install-img {
    transform: scale(1.05); /* Легкий премиальный зум при наведении */
}
.install-num {
    position: absolute;
    bottom: -15px;
    left: 20px;
    font-family: var(--font-head);
    font-size: 5rem;
    color: #fff;
    line-height: 1;
    font-weight: 600;
    text-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Чтобы цифру было видно на светлых фото */
    opacity: 0.9;
}
.install-title {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--color-text-main);
    margin-bottom: 12px;
    font-weight: 600;
}
.install-text {
    color: #5A554E;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* Кнопки */
.btn-outline-dark:hover {
    background: var(--color-text-main);
    color: #fff !important;
}

/* ==============================================
   АДАПТИВ (ПЛАНШЕТЫ - max 991px)
============================================== */
@media (max-width: 991px) {
    /* QR и Инновации: картинка переносится вниз */
    .innovations-section .row {
        flex-direction: column;
    }
    .innovations-section .col-md-6 {
        width: 100%;
        padding-right: 15px !important;
        text-align: center !important;
        margin-bottom: 40px;
    }
    .innovations-section h2 {
        font-size: 2.4rem !important;
    }
    .innovations-section .col-md-6:last-child > div {
        height: 350px !important; /* Уменьшаем высоту картинки */
    }

    /* Установка: переводим в 2 колонки */
    .install-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    /* 3-й шаг на планшете занимает всю ширину */
    .install-card:nth-child(3) {
        grid-column: span 2;
    }
    .install-card:nth-child(3) .install-img-wrap {
        aspect-ratio: 21/9; /* Делаем фото панорамным на планшете */
    }

    /* Финальный CTA: уменьшаем шрифты */
    .final-cta-section h2 {
        font-size: 2rem !important;
    }
    .final-cta-section {
        padding: 60px 0 !important;
    }
}

/* ==============================================
   АДАПТИВ (ТЕЛЕФОНЫ - max 767px)
============================================== */
@media (max-width: 767px) {
    /* Отступы блоков делаем меньше, чтобы не было пустых дыр */
    .premium-related-section,
    .innovations-section,
    .installation-process-section,
    .final-cta-section {
        padding: 50px 0 !important;
    }

    /* Заголовки */
    .section-elegant-title {
        font-size: 1.8rem !important;
        margin-bottom: 20px !important;
    }
    .innovations-section h2 {
        font-size: 1.8rem !important;
    }

    /* Тексты 2/3 и 1/3 (О мемориале) */
    .content-split-section {
        padding: 40px 0 !important;
        margin: 40px 0 !important;
    }
    .right-trust-area {
        margin-top: 40px; /* Отделяем сайдбар доверия от текста */
    }

    /* Рекомендуемые товары: 1 товар в ряд */
    .recomtov-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* QR Блок: высота картинки на телефоне */
    .innovations-section .col-md-6:last-child > div {
        height: 250px !important;
    }
    .btn-outline-light {
        width: 100%; /* Кнопка на всю ширину */
        text-align: center;
    }

    /* Установка: 1 колонка */
    .install-grid {
        grid-template-columns: 1fr !important;
    }
    .install-card:nth-child(3) {
        grid-column: span 1; /* Отменяем растягивание 3-го шага */
    }
    .install-card:nth-child(3) .install-img-wrap {
        aspect-ratio: 4/3; /* Возвращаем стандартные пропорции */
    }
    .install-num {
        font-size: 4rem;
        bottom: -10px;
    }

    /* Ловушка на инженера */
    .install-cta-wrap > div {
        padding: 25px 15px !important;
    }
    .install-cta-wrap h4 {
        font-size: 1.4rem !important;
    }
    .btn-outline-dark {
        width: 100%;
        padding: 15px 10px !important;
        font-size: 0.95rem !important;
    }

    /* Финальный Лид-магнит */
    .final-cta-section h2 {
        font-size: 1.6rem !important;
    }
    .final-cta-section p {
        font-size: 0.95rem !important;
    }
    .final-cta-section .btn-primary-action {
        width: 100% !important;
        padding: 15px !important;
    }
}




/* ==============================================
   ЖЕЛЕЗОБЕТОННАЯ СЕТКА РЕКОМЕНДУЕМЫХ ТОВАРОВ
============================================== */
.recomtov-grid {
    display: grid;
    /* Строго 4 колонки на компьютере */
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px; /* Делаем сетку чуть уже, чтобы смотрелось элегантнее */
    margin: 0 auto;
}

.recomtov-card-link {
    display: block;
    text-decoration: none !important; /* Убираем подчеркивание ссылок */
    height: 100%; /* Заставляет все карточки в ряду быть одной высоты */
}

.product-hover-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px 20px;
    border: 1px solid #EFEBE4;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column; /* Располагаем контент сверху вниз */
}

.product-hover-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    transform: translateY(-5px);
    border-color: #D9D0C5;
}

.phc-img-wrap {
    width: 100%;
    height: 220px; /* Жестко фиксируем высоту картинки */
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phc-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Картинка не обрезается, а вписывается целиком */
}

.phc-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Заставляет этот блок занять всё оставшееся место */
    justify-content: space-between; /* Название вверху, цена в самом низу */
}

.phc-title {
    font-family: var(--font-head);
    font-size: 1.3rem;
    color: var(--color-text-main);
    line-height: 1.3;
    margin: 0 0 15px 0;
    text-align: center;
}

.phc-price {
    font-weight: 600;
    color: #5A554E;
    font-size: 1.2rem;
    text-align: center;
}

/* --- АДАПТИВНОСТЬ ДЛЯ СЕТКИ --- */
@media (max-width: 1199px) {
    /* На маленьких ноутбуках/планшетах делаем 2 ряда по 2 товара */
    .recomtov-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    /* На телефонах — 1 товар в ряд, чтобы можно было пальцем удобно кликнуть */
    .recomtov-grid {
        grid-template-columns: 1fr;
        max-width: 350px; /* Чтобы карточка не была слишком огромной на телефоне */
    }
    .phc-img-wrap {
        height: 250px; /* Картинку на телефоне можно сделать покрупнее */
    }
}

/* ==============================================
   БАННЕР: ПОЛУЧИТЬ КАТАЛОГ В TELEGRAM
============================================== */
.catalog-download-banner {
    margin: 50px auto 0;
    max-width: 1200px;
    background: #fff;
    border: 1px solid #EFEBE4;
    border-radius: 12px;
    padding: 35px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}
.cdb-left {
    display: flex;
    align-items: center;
    gap: 20px;
}
.cdb-icon {
    width: 60px;
    height: 60px;
    background: var(--color-bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--color-accent);
    flex-shrink: 0;
}
.cdb-text h4 {
    font-family: var(--font-head);
    font-size: 1.6rem;
    color: var(--color-text-main);
    margin: 0 0 8px 0;
}
.cdb-text p {
    color: #5A554E;
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}
.cdb-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 30px;
    background: transparent;
    border: 2px solid var(--color-text-main);
    color: var(--color-text-main);
    font-weight: 500;
    font-size: 1.05rem;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.cdb-btn:hover {
    background: var(--color-text-main);
    color: #fff !important;
}

/* Адаптив для телефонов и планшетов */
@media (max-width: 991px) {
    .catalog-download-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 25px;
    }
    .cdb-left {
        flex-direction: column;
        gap: 15px;
    }
    .cdb-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==============================================
   ФИНАЛЬНЫЙ АДАПТИВ (ДЛЯ ТЕЛЕФОНОВ И ПЛАНШЕТОВ)
============================================== */

@media (max-width: 991px) {
    /* Планшеты */
    .install-cta-wrap > div {
        padding: 30px !important;
    }
}

@media (max-width: 767px) {
    /* Телефоны */

    /* Блок инженера */
    .install-cta-wrap > div {
        padding: 25px 15px !important;
        margin: 0 10px !important; /* Чтобы рамка не прилипала к краям экрана */
    }

    /* Растягиваем кнопки на всю ширину экрана на мобилке */
    .btn-outline-dark,
    .cdb-btn {
        width: 100%;
        padding: 15px 10px !important;
        font-size: 1rem !important;
        justify-content: center; /* Центрируем иконку и текст */
    }

    /* Уменьшаем шрифты в баннерах, чтобы не было гигантских букв */
    .install-cta-wrap h4 {
        font-size: 1.4rem !important;
    }
    .install-cta-wrap p {
        font-size: 0.95rem !important;
    }
}



/* ==============================================
  статья о мастерской
============================================== */
  /* =========================================================
     ИЗОЛИРОВАННЫЕ СТИЛИ ДЛЯ ПРЕМИУМ-СТРАНИЦ GREVIR
     (Они сработают только если в статье есть блок .grv-about)
     ========================================================= */

  /* Скрываем стандартный заголовок OpenCart, если на странице есть наш блок */
  #content:has(.grv-about) .informah1 { display: none !important; }

  .grv-about {
    max-width: 1050px !important; /* Ограничиваем ширину (золотой стандарт для текста) */
    margin: 0 auto !important; /* Центрируем весь блок на экране */
    width: 100%;

    /* Ваши остальные стили для этого класса ниже... */
    font-family: 'Inter', sans-serif !important;
    color: #2A2724 !important;
    line-height: 1.6 !important;
    padding-bottom: 60px;
    padding-top: 20px;
}

  .grv-about h1, .grv-about h2, .grv-about h3, .grv-about .grv-title {
    font-family: 'Cormorant Garamond', serif !important;
    color: #2A2724 !important;
    font-weight: 500 !important;
    margin: 0 !important;
    border: none !important;
    text-transform: none !important;
  }

  .grv-about p {
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    color: #5A554E !important;
    margin-bottom: 15px !important;
    line-height: 1.6 !important;
  }

  /* Сетка: Текст + Картинка */
  .grv-row { display: flex; align-items: center; gap: 50px; margin-bottom: 80px; }
  .grv-row.reverse { flex-direction: row-reverse; }
  .grv-text-col { flex: 1; }

  .grv-text-col .grv-title { font-size: 42px !important; line-height: 1.1 !important; margin-bottom: 20px !important; display: block; }
  .grv-text-col h2 { font-size: 32px !important; line-height: 1.2 !important; margin-bottom: 20px !important; }

  .grv-img-col { flex: 1; position: relative; }
  .grv-img-col img { width: 100% !important; height: auto !important; border-radius: 12px; box-shadow: 0 15px 35px rgba(0,0,0,0.08); display: block; }

  /* Темный блок VIP-сервиса */
  .grv-vip-box { background: #2A2724; color: #FAF8F5; border-radius: 12px; padding: 50px; margin-bottom: 80px; display: flex; align-items: flex-start; gap: 30px; }
  .grv-vip-box i { font-size: 40px; color: #A68A6B; margin-top: 5px; }
  .grv-vip-box h2 { color: #FFFFFF !important; font-size: 28px !important; margin-bottom: 15px !important; }
  .grv-vip-box p { color: #D9D0C5 !important; font-size: 15px !important; margin: 0 0 10px 0 !important; }

  /* Сетка карточек */
  .grv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 80px; }
  .grv-card { border-top: 2px solid #A68A6B; padding-top: 20px; }
  .grv-card i { font-size: 24px; color: #A68A6B; margin-bottom: 15px; }
  .grv-card h3 { font-size: 20px !important; margin-bottom: 10px !important; }
  .grv-card p { font-size: 14px !important; }

  /* Блок благотворительности */
  .grv-charity { border-left: 3px solid #c95c5c; padding-left: 30px; margin-bottom: 60px; }
  .grv-charity h2 { font-size: 26px !important; margin-bottom: 10px !important; }
  .grv-charity p { font-size: 15px !important; max-width: 800px; }

  /* Кнопки */
  .grv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #A68A6B; color: #FFFFFF !important; padding: 14px 28px; border-radius: 8px; font-size: 15px; font-weight: 500; text-decoration: none !important; transition: 0.3s; }
  .grv-btn:hover { background: #8e7357; color: #fff !important; }
  .grv-btn-outline { background: transparent; border: 1px solid #2A2724; color: #2A2724 !important; }
  .grv-btn-outline:hover { background: #2A2724; color: #fff !important; }



  /* Базовый красивый стиль для H1 на ВСЕХ информационных страницах */
h1.informat, h1.informah1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 500;
    color: #2A2724;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
    line-height: 1.2;
}

/* УМНАЯ ФИШКА: Если на странице есть наш премиум-блок (.grv-about),
   превращаем H1 в элегантный журнальный надзаголовок */
   #content:has(.grv-about) h1.informat,
   #content:has(.grv-about) h1.informah1 {
       font-family: 'Inter', sans-serif;
       font-size: 13px;
       text-transform: uppercase;
       letter-spacing: 3px;
       color: #A68A6B;
       margin-bottom: 20px; /* Было 15 */
       margin-top: 40px;    /* Было 0, поэтому он прилипал */
       font-weight: 600;
   }


  /* Адаптивность для телефонов */
  @media (max-width: 768px) {
    .grv-row, .grv-row.reverse { flex-direction: column; gap: 30px; margin-bottom: 50px; }
    .grv-text-col .grv-title { font-size: 32px !important; }
    .grv-vip-box { flex-direction: column; padding: 30px; gap: 20px; margin-bottom: 50px;}
    .grv-grid { grid-template-columns: 1fr; gap: 40px; margin-bottom: 50px; }
    .grv-charity { padding-left: 20px; margin-bottom: 40px; }
    .grv-actions { display: flex; flex-direction: column; gap: 15px; }
    .grv-btn { width: 100%; }
  }


/* Адаптивность для планшетов */
@media (min-width: 769px) and (max-width: 1024px) {
    .grv-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 30px; }
    .grv-row { gap: 30px; }
    .grv-text-col h1, .grv-text-col .grv-title { font-size: 36px !important; }
}



/* ==============================================
контакты
============================================== */

.konttt .informat { display: none !important; }

    .grv-contacts {
        font-family: 'Inter', sans-serif;
        color: #2A2724;
        max-width: 1100px;
        margin: 0 auto;
        padding-bottom: 60px;
    }

    .grv-contacts h1, .grv-contacts h2, .grv-contacts h3 {
        font-family: 'Cormorant Garamond', serif;
        font-weight: 500;
        margin: 0;
        color: #2A2724;
    }

    /* Заголовок страницы (Сделали более душевным) */
    .grv-page-header { text-align: center; margin-top: 20px; margin-bottom: 50px; }
    .grv-page-header h1 { font-size: 46px; line-height: 1.1; margin-bottom: 15px; }
    .grv-page-header p { font-size: 16px; color: #5A554E; max-width: 700px; margin: 0 auto; line-height: 1.6; }

    /* Сетка контактов */
    .grv-contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 50px; }
    .grv-contact-card { background: #FFFFFF; border: 1px solid #EFEBE4; border-radius: 12px; padding: 40px 30px; text-align: center; transition: 0.3s; }
    .grv-contact-card:hover { box-shadow: 0 15px 35px rgba(0,0,0,0.05); transform: translateY(-5px); }
    .grv-contact-card i { font-size: 34px; color: #A68A6B; margin-bottom: 20px; }
    .grv-contact-card h3 { font-size: 22px; margin-bottom: 15px; }
    .grv-contact-card p { font-size: 14px; color: #5A554E; margin-bottom: 20px; line-height: 1.5; }

    .grv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #A68A6B; color: #FFFFFF !important; padding: 12px 24px; border-radius: 8px; font-size: 14px; font-weight: 500; text-decoration: none !important; transition: 0.3s; width: 100%; box-sizing: border-box; }
    .grv-btn:hover { background: #8e7357; color: #fff !important; }
    .grv-btn-dark { background: #2A2724; }
    .grv-btn-dark:hover { background: #1a1816; }

    /* Блок доверия и реквизиты */
    .grv-trust-banner { background: #F3EFE9; border-left: 4px solid #A68A6B; padding: 30px 40px; border-radius: 0 12px 12px 0; display: flex; align-items: center; gap: 30px; margin-bottom: 20px; }
    .grv-trust-banner i { font-size: 40px; color: #A68A6B; }
    .grv-trust-banner h2 { font-size: 26px; margin-bottom: 10px; }
    .grv-trust-banner p { font-size: 15px; color: #5A554E; margin: 0; line-height: 1.5; }

    .grv-requisites { text-align: right; font-size: 13px; color: #8A857F; margin-bottom: 60px; padding-right: 10px; }

    /* Премиальная карта */
    .grv-map-container { border-radius: 16px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.1); margin-bottom: 60px; height: 500px; filter: sepia(0.1) contrast(0.95); }
    .grv-map-container iframe { width: 100%; height: 100%; border: none; }

    /* Аккордеон кладбищ */
    .grv-cemeteries-box { background: #fff; border: 1px solid #EFEBE4; border-radius: 12px; padding: 10px 30px; margin-bottom: 80px; }
    details.grv-accordion { padding: 20px 0; }
    details.grv-accordion summary { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
    details.grv-accordion summary::-webkit-details-marker { display: none; }
    details.grv-accordion summary::after { content: '\f078'; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 16px; color: #A68A6B; transition: 0.3s; }
    details.grv-accordion[open] summary::after { transform: rotate(180deg); }
    .grv-cem-list-wrapper { column-count: 3; column-gap: 40px; padding-top: 30px; border-top: 1px solid #EFEBE4; margin-top: 20px; }
    .brends-letter { font-size: 20px; font-weight: 600; color: #A68A6B; margin-bottom: 10px; font-family: 'Cormorant Garamond', serif; }
    .brend-link { display: block; font-size: 13px; color: #5A554E; text-decoration: none; margin-bottom: 8px; break-inside: avoid; }
    .brend-link:hover { color: #A68A6B; }
    .brand-wrap { margin-bottom: 20px; break-inside: avoid; }

    /* Перелинковка (ПЛАШКИ НАВИГАЦИИ) */
    .grv-nav-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid #EFEBE4; padding-top: 60px; }
    .grv-nav-card { background: #FAF8F5; border: 1px solid #EFEBE4; border-radius: 12px; padding: 30px 20px; text-align: center; text-decoration: none !important; color: #2A2724; transition: 0.3s; display: block; }
    .grv-nav-card:hover { background: #2A2724; color: #fff !important; border-color: #2A2724; transform: translateY(-3px); }
    .grv-nav-card:hover h3, .grv-nav-card:hover p { color: #fff !important; }
    .grv-nav-card h3 {
        font-size: 22px;
        margin-bottom: 10px;
        transition: 0.3s;
        background: transparent !important; /* Убиваем белый фон от шаблона */
    }
    .grv-nav-card p {
        font-size: 13px;
        color: #8A857F;
        margin: 0;
        transition: 0.3s;
        background: transparent !important; /* На всякий случай и для текста тоже */
    }
        .grv-nav-card p { font-size: 13px; color: #8A857F; margin: 0; transition: 0.3s; }

    @media (max-width: 900px) {
        .grv-contact-grid, .grv-nav-cards { grid-template-columns: 1fr; }
        .grv-trust-banner { flex-direction: column; text-align: center; }
        .grv-requisites { text-align: center; }
        .grv-cem-list-wrapper { column-count: 1; }
    }




/* =========================================
   ЕДИНАЯ ДИЗАЙН-СИСТЕМА PREMUM СТРАНИЦ (DARK LUXURY)
   (Безопасная капсуляция внутри .vipinform)
========================================= */

/* 1. Глобальные переменные переносим внутрь контейнера */
.vipinform {
    --color-bg: #0A0908;
    --color-bg-light: #12100E;
    --color-border: #2A2622;
    --color-text-main: #EAE6DF;
    --color-text-muted: #A39B90;
    --color-accent: #C5A47E;
    --font-head: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    --spacing-lg: 120px;
    --spacing-md: 60px;

    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    /* Изолируем контейнер от внешних отступов */
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

/* 2. Обнуление только внутри нашего блока */
.vipinform h1, .vipinform h2, .vipinform h3, .vipinform h4, .vipinform p {
    margin: 0;
    line-height: 1.5;
}
.vipinform img {
    max-width: 100%; height: auto; display: block;
}
.vipinform a {
    text-decoration: none;
}

/* 3. АНИМАЦИИ */
@media screen {
    .vipinform .reveal { opacity: 0; transform: translateY(40px); transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1); }
    .vipinform .reveal.active { opacity: 1; transform: translateY(0); }
    .vipinform .reveal-delay-1 { transition-delay: 0.2s; }
    .vipinform .reveal-delay-2 { transition-delay: 0.4s; }
    .vipinform .reveal-scale { opacity: 0; transform: scale(0.95); transition: all 1.5s cubic-bezier(0.25, 1, 0.5, 1); }
    .vipinform .reveal-scale.active { opacity: 1; transform: scale(1); }
}

/* 4. HERO СЕКЦИЯ */
.vipinform .hero { height: 100vh; min-height: 600px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: radial-gradient(circle at center, #1f1b17 0%, var(--color-bg) 70%); padding: 0 20px; }
.vipinform .hero-subtitle { font-family: var(--font-body); font-size: 11px; text-transform: uppercase; letter-spacing: 4px; color: var(--color-accent); margin-bottom: 20px; }
.vipinform .hero-title { font-family: var(--font-head); font-size: clamp(32px, 5vw, 65px); font-weight: 400; line-height: 1.1; background: linear-gradient(180deg, #FFFFFF 0%, #C5A47E 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin: 0; }


/* 4. HERO СЕКЦИЯ (С ФОТОГРАФИЕЙ) */
.vipinform .vr3dhero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background-attachment: fixed;

    /* Добавляем фото + темный градиент поверх него для читаемости текста */
    background-image:
        linear-gradient(to bottom, rgba(10, 9, 8, 0.4) 0%, rgba(10, 9, 8, 0.9) 100%),
        url('/image/myback/inform/v01.jpg'); /* УКАЖИ ЗДЕСЬ ПУТЬ К СВОЕЙ КАРТИНКЕ */

    background-size: cover; /* Картинка заполняет весь экран */
    background-position: center; /* Центрируем фото */
    background-repeat: no-repeat;
}
/* 11. УРОВНИ ПРОЕКТИРОВАНИЯ (ТАРИФЫ) */
.vipinform .section-tiers { padding: 0 20px; }
.vipinform .tiers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; align-items: stretch; }

.vipinform .tier-card { background: var(--color-bg-light); border: 1px solid var(--color-border); border-radius: 16px; padding: 40px 30px; position: relative; display: flex; flex-direction: column; transition: 0.4s; }
.vipinform .tier-card:hover { border-color: rgba(197, 164, 126, 0.4); transform: translateY(-5px); }

.vipinform .tier-icon { font-size: 32px; color: var(--color-text-muted); margin-bottom: 20px; }
.vipinform .tier-name { font-family: var(--font-head); font-size: 28px; color: var(--color-text-main); margin-bottom: 15px; line-height: 1.2; }
.vipinform .tier-desc { font-size: 14px; color: var(--color-text-muted); line-height: 1.5; margin-bottom: 30px; min-height: 42px; border-bottom: 1px solid var(--color-border); padding-bottom: 20px; }

.vipinform .tier-list { list-style: none; padding: 0; margin: 0; flex-grow: 1; }
.vipinform .tier-list li { font-size: 14px; color: var(--color-text-main); margin-bottom: 15px; display: flex; align-items: flex-start; gap: 10px; line-height: 1.4; }
.vipinform .tier-list li i { color: var(--color-accent); font-size: 14px; margin-top: 3px; }

/* Спец-стиль для VIP тарифа */
.vipinform .tier-premium { background: linear-gradient(145deg, #161311 0%, #0A0908 100%); border: 1px solid var(--color-accent); box-shadow: 0 20px 40px rgba(0,0,0,0.5); transform: scale(1.03); z-index: 2; }
.vipinform .tier-premium:hover { transform: scale(1.05); box-shadow: 0 25px 50px rgba(197, 164, 126, 0.1); }
.vipinform .tier-premium .tier-icon { color: var(--color-accent); }
.vipinform .premium-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--color-accent); color: var(--color-bg); font-family: var(--font-body); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; padding: 6px 15px; border-radius: 20px; white-space: nowrap; }
.vipinform .tier-price-note { margin-top: 30px; padding-top: 20px; border-top: 1px dashed rgba(197, 164, 126, 0.3); font-size: 12px; color: var(--color-accent); font-style: italic; text-align: center; line-height: 1.5; }

/* Адаптив для карточек тарифов */
@media (max-width: 992px) {
    .vipinform .tiers-grid { grid-template-columns: 1fr; max-width: 500px; gap: 40px; }
    .vipinform .tier-premium { transform: scale(1); margin-top: 20px; }
    .vipinform .tier-premium:hover { transform: translateY(-5px); }
    .vipinform .tier-desc { min-height: auto; }
}

/* 5. ТЕКСТОВЫЕ БЛОКИ (HOOK И SPLIT) */
.vipinform .section-hook { padding: var(--spacing-lg) 20px; max-width: 800px; margin: 0 auto; text-align: center; }
.vipinform .text-lead { font-family: var(--font-head); font-size: clamp(28px, 4vw, 38px); line-height: 1.3; font-style: italic; color: var(--color-accent); margin-bottom: 30px; }
.vipinform .text-body { font-size: clamp(15px, 2vw, 17px); line-height: 1.8; color: var(--color-text-muted); font-weight: 300; }

.vipinform .section-split { display: flex; align-items: center; max-width: 1200px; margin: 0 auto var(--spacing-lg); gap: 60px; padding: 0 20px; }
.vipinform .section-split.reverse { flex-direction: row-reverse; }
.vipinform .split-img { flex: 1; border-radius: 4px; overflow: hidden; position: relative; }
.vipinform .split-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: brightness(0.85); }
.vipinform .split-text { flex: 1; }
.vipinform .section-title { font-family: var(--font-head); font-size: clamp(32px, 5vw, 46px); font-weight: 400; margin-bottom: 25px; color: var(--color-text-main); line-height: 1.2; }

/* 6. УНИВЕРСАЛЬНЫЕ СЕТКИ (ФУНКЦИИ, ПРОЦЕССЫ, ИСТОРИИ) */
.vipinform .section-features, .vipinform .section-security, .vipinform .section-editorial { background-color: var(--color-bg-light); padding: var(--spacing-lg) 20px; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.vipinform .section-process { padding: var(--spacing-lg) 20px; max-width: 1200px; margin: 0 auto; }
.vipinform .process-header { text-align: center; max-width: 700px; margin: 0 auto var(--spacing-md); }

.vipinform .features-grid, .vipinform .process-grid, .vipinform .security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1200px; margin: 0 auto; }

/* Карточки без фото (VR, Архивы) */
.vipinform .feature-card { border-top: 1px solid rgba(197, 164, 126, 0.3); padding-top: 30px; transition: 0.4s; }
.vipinform .feature-card:hover { border-color: rgba(197, 164, 126, 0.6); transform: translateY(-5px); }
.vipinform .feature-icon { font-size: 32px; color: var(--color-accent); margin-bottom: 20px; }
.vipinform .feature-card h4, .vipinform .sec-card h4 { font-family: var(--font-head); font-size: 24px; margin-bottom: 15px; color: var(--color-text-main); }
.vipinform .feature-card p, .vipinform .sec-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.6; }

/* Карточки с фото (Бриллианты процесс) */
.vipinform .process-card { background-color: var(--color-bg-light); border: 1px solid var(--color-border); border-radius: 16px; padding: 25px; transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1); display: flex; flex-direction: column; }
.vipinform .process-card:hover { border-color: rgba(197, 164, 126, 0.4); transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.4); }
.vipinform .process-img-wrap { width: 100%; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; margin-bottom: 25px; position: relative; }
.vipinform .process-img-wrap img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(40%) brightness(0.7); transition: all 0.8s ease; }
.vipinform .process-card:hover .process-img-wrap img { filter: grayscale(0%) brightness(1.1); transform: scale(1.05); }
.vipinform .process-num { font-family: var(--font-head); font-size: 42px; color: var(--color-accent); line-height: 1; margin-bottom: 15px; }
.vipinform .process-card h4 { font-size: 20px; font-family: var(--font-head); font-weight: 500; margin-bottom: 12px; color: var(--color-text-main); }
.vipinform .process-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.6; }

/* Блоки для QR */
.vipinform .feature-box { border-left: 2px solid var(--color-accent); padding-left: 20px; }
.vipinform .feature-box h4 { font-family: var(--font-head); font-size: 22px; color: var(--color-text-main); margin-bottom: 10px; }
.vipinform .feature-box p { font-size: 14px; color: var(--color-text-muted); line-height: 1.6; }
.vipinform .sec-card { background: var(--color-bg); padding: 30px; border-radius: 12px; border: 1px solid var(--color-border); }

/* Истории (Бриллианты) */
.vipinform .ed-container { max-width: 1000px; margin: 0 auto; }
.vipinform .ed-header { text-align: center; margin-bottom: var(--spacing-md); }
.vipinform .ed-story { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; margin-bottom: var(--spacing-lg); align-items: center; }
.vipinform .ed-story:last-child { margin-bottom: 0; }
.vipinform .ed-story.reverse { grid-template-columns: 1.2fr 1fr; }
.vipinform .ed-quote { font-family: var(--font-head); font-size: clamp(24px, 3vw, 32px); line-height: 1.3; color: var(--color-accent); margin-bottom: 20px; position: relative; }
.vipinform .ed-quote::before { content: "“"; font-size: 80px; position: absolute; top: -30px; left: -20px; color: rgba(197, 164, 126, 0.15); font-family: serif; z-index: -1; }

/* 7. БРОНЕБОЙНЫЙ FAQ */
.vipinform .section-faq { padding: var(--spacing-lg) 20px; background-color: var(--color-bg) !important; }
.vipinform .faq-container { max-width: 800px; margin: 0 auto; }
.vipinform .faq-list { border-top: 1px solid rgba(197, 164, 126, 0.3) !important; background: transparent !important; }
.vipinform .faq-item { background: transparent !important; border: none !important; border-bottom: 1px solid rgba(197, 164, 126, 0.3) !important; border-radius: 0 !important; margin: 0 !important; padding: 0 !important; box-shadow: none !important; }
.vipinform .faq-question { display: flex; justify-content: space-between; align-items: center; padding: 30px 0 !important; cursor: pointer; user-select: none; background: transparent !important; }
.vipinform .faq-question h3 { font-family: var(--font-head) !important; font-size: clamp(20px, 3vw, 24px) !important; font-weight: 400 !important; color: var(--color-text-main) !important; margin: 0 !important; padding-right: 20px; transition: color 0.3s ease; line-height: 1.3; background: transparent !important; }
.vipinform .faq-question:hover h3 { color: var(--color-accent) !important; }
.vipinform .faq-icon { font-size: 20px; color: var(--color-accent) !important; transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
.vipinform .faq-answer-wrapper { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s cubic-bezier(0.25, 1, 0.5, 1); background: transparent !important; }
.vipinform .faq-answer-inner { overflow: hidden; background: transparent !important; }
.vipinform .faq-answer-inner p { font-family: var(--font-body) !important; font-size: clamp(14px, 2vw, 15px) !important; line-height: 1.7 !important; color: var(--color-text-muted) !important; padding: 0 0 30px 0 !important; margin: 0 !important; background: transparent !important; }
.vipinform .faq-item.active .faq-answer-wrapper { grid-template-rows: 1fr; }
.vipinform .faq-item.active .faq-icon { transform: rotate(45deg); }
.vipinform .faq-item.active .faq-question h3 { color: var(--color-accent) !important; }

/* 8. CTA КНОПКИ */
.vipinform .cta-section { text-align: center; padding: var(--spacing-lg) 20px; background: radial-gradient(circle at bottom, #1f1b17 0%, var(--color-bg) 100%); }
.vipinform .btn-group { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 40px; }
.vipinform .btn { padding: 18px 36px; border-radius: 40px; font-size: 13px; text-transform: uppercase; letter-spacing: 2px; transition: 0.4s; font-weight: 500; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; }
.vipinform .btn-gold { background: var(--color-accent); color: var(--color-bg); border: none; }
.vipinform .btn-gold:hover { background: #d8b894; transform: translateY(-3px); color: var(--color-bg); }
.vipinform .btn-outline { border: 1px solid var(--color-text-muted); color: var(--color-text-main); background: transparent; }
.vipinform .btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* Шаги работы */
.vipinform .steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 40px; }
.vipinform .step-card { padding: 30px 20px; border: 1px solid var(--color-border); border-radius: 12px; background: var(--color-bg); position: relative; transition: 0.3s; }
.vipinform .step-card:hover { border-color: var(--color-accent); transform: translateY(-5px); }
.vipinform .step-num { font-family: var(--font-head); font-size: 60px; color: rgba(197, 164, 126, 0.15); position: absolute; top: 10px; right: 20px; line-height: 1; transition: 0.3s; }
.vipinform .step-card:hover .step-num { color: rgba(197, 164, 126, 0.4); }
.vipinform .step-card h4 { font-family: var(--font-head); font-size: 22px; color: var(--color-accent); margin-bottom: 15px; position: relative; z-index: 2; }
.vipinform .step-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.6; position: relative; z-index: 2; }

/* Кейсы (Ожидание / Реальность) */
.vipinform .cases-wrapper { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 60px; padding: 0 20px; }
.vipinform .case-item { display: flex; align-items: center; gap: 20px; background: var(--color-bg-light); padding: 20px; border-radius: 16px; border: 1px solid var(--color-border); }
.vipinform .case-image-box { flex: 1; position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; }
.vipinform .case-image-box img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85); transition: 0.5s; }
.vipinform .case-image-box:hover img { filter: brightness(1.1) scale(1.03); transform: scale(1.05); }
.vipinform .case-label { position: absolute; bottom: 15px; left: 15px; background: rgba(10, 9, 8, 0.8); backdrop-filter: blur(5px); padding: 5px 15px; border-radius: 20px; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #fff; z-index: 2; border: 1px solid rgba(255,255,255,0.1); }
.vipinform .case-label.gold { color: var(--color-bg); background: var(--color-accent); font-weight: 600; border: none; }
.vipinform .case-divider { color: var(--color-accent); font-size: 24px; opacity: 0.5; }

/* Адаптив для новых блоков */
@media (max-width: 992px) {
    .vipinform .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .vipinform .steps-grid { grid-template-columns: 1fr; }
    .vipinform .case-item { flex-direction: column; gap: 10px; }
    .vipinform .case-divider { transform: rotate(90deg); margin: 10px 0; }
    .vipinform .step-card { text-align: center; }
    .vipinform .step-num { right: 50%; transform: translateX(50%); top: 10px; }
}


/* 9. АДАПТИВНОСТЬ (ПЛАНШЕТЫ И ТЕЛЕФОНЫ) */
@media (max-width: 992px) {
    .vipinform { --spacing-lg: 80px; --spacing-md: 50px; }
    /* Схлопываем сетки до 2 колонок или 1 колонки */
    .vipinform .features-grid, .vipinform .process-grid, .vipinform .security-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .vipinform .ed-story, .vipinform .ed-story.reverse { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .vipinform .section-split, .vipinform .section-split.reverse { flex-direction: column; gap: 40px; }
    .vipinform .section-split.reverse .split-img { order: -1; }
    .vipinform .section-split.reverse .split-text { order: 1; }

    .vipinform .features-grid, .vipinform .process-grid, .vipinform .security-grid { grid-template-columns: 1fr; gap: 20px; }
    .vipinform .ed-story, .vipinform .ed-story.reverse { grid-template-columns: 1fr; gap: 30px; }

    .vipinform .btn-group { flex-direction: column; width: 100%; }
    .vipinform .btn { width: 100%; box-sizing: border-box; }
}

/* =========================================
   10. ИЗОЛИРОВАННАЯ БРОШЮРА ДЛЯ ПЕЧАТИ (PDF)
========================================= */
.vipinform .print-only-brochure { display: none; }

@media print {
    /* Прячем саму черную страницу */
    .vipinform > *:not(.print-only-brochure) { display: none !important; }

    /* Скрываем стандартные элементы OpenCart при печати, если они есть */
    #header, #footer, nav, .navbar, .breadcrumb, #top { display: none !important; }

    /* Показываем белую брошюру поверх всего */
    .vipinform .print-only-brochure {
        display: block !important; position: absolute !important; top: 0 !important; left: 0 !important;
        width: 100% !important; background: #FFFFFF !important; color: #2A2724 !important; z-index: 99999 !important;
        margin: 0 !important; padding: 0 !important;
    }

    @page { size: A4 portrait; margin: 0; }

    .vipinform .page-a4 {
        width: 210mm !important; height: 297mm !important; padding: 15mm 20mm !important; box-sizing: border-box !important;
        page-break-after: always !important; page-break-inside: avoid !important; position: relative !important; background: #FFFFFF !important;
        overflow: hidden !important; margin: 0 auto !important; border: none !important; box-shadow: none !important;
    }

    .vipinform .pdf-header { display: flex !important; justify-content: space-between !important; align-items: flex-end !important; border-bottom: 1px solid #EFEBE4 !important; padding-bottom: 15px !important; margin-bottom: 30px !important; }
    .vipinform .pdf-logo { font-family: 'Cormorant Garamond', serif !important; font-size: 34px !important; line-height: 1 !important; color: #2A2724 !important; margin: 0 !important; }
    .vipinform .pdf-logo span { display: block !important; font-family: 'Inter', sans-serif !important; font-size: 10px !important; color: #A68A6B !important; text-transform: uppercase !important; letter-spacing: 2px !important; margin-top: 5px !important; }
    .vipinform .pdf-contacts { text-align: right !important; font-size: 11px !important; color: #5A554E !important; line-height: 1.5 !important; }

    .vipinform .pdf-title { font-family: 'Cormorant Garamond', serif !important; font-size: 42px !important; margin-bottom: 20px !important; color: #2A2724 !important; line-height: 1.1 !important; }
    .vipinform .pdf-text { font-family: 'Inter', sans-serif !important; font-size: 13px !important; line-height: 1.6 !important; color: #5A554E !important; margin-bottom: 20px !important; }
    .vipinform .pdf-hero-img { width: 100% !important; height: 350px !important; object-fit: cover !important; border-radius: 8px !important; margin-bottom: 30px !important; }

    .vipinform .pdf-process-grid { display: grid !important; grid-template-columns: 1fr 1fr 1fr !important; gap: 20px !important; margin-top: 30px !important; }
    .vipinform .pdf-process-card { border-top: 2px solid #A68A6B !important; padding-top: 15px !important; }
    .vipinform .pdf-process-num { font-family: 'Cormorant Garamond', serif !important; font-size: 30px !important; color: #A68A6B !important; margin-bottom: 10px !important; line-height: 1 !important;}
    .vipinform .pdf-process-card h4 { font-family: 'Inter', sans-serif !important; font-size: 14px !important; font-weight: 600 !important; margin: 0 0 10px 0 !important; color: #2A2724 !important; }
    .vipinform .pdf-process-card p { font-family: 'Inter', sans-serif !important; font-size: 11px !important; color: #5A554E !important; line-height: 1.5 !important; margin: 0 !important; }

    .vipinform .pdf-footer { position: absolute !important; bottom: 15mm !important; left: 20mm !important; right: 20mm !important; text-align: center !important; border-top: 1px solid #EFEBE4 !important; padding-top: 15px !important; }
    .vipinform .pdf-footer h3 { font-family: 'Cormorant Garamond', serif !important; font-size: 22px !important; color: #2A2724 !important; margin: 0 0 10px 0 !important; }
    .vipinform .pdf-footer p { font-size: 12px !important; color: #8A857F !important; margin: 0 !important; }
}



/* =========================================
   ДОП. СТИЛИ ДЛЯ ИНФОГРАФИКИ УХОДА
========================================= */
.vipinform .info-graphic-section { padding: var(--spacing-lg) 20px; background-color: var(--color-bg-light); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.vipinform .comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1000px; margin: 50px auto 0; }
.vipinform .comp-col { background: var(--color-bg); padding: 40px; border-radius: 16px; border: 1px solid var(--color-border); position: relative; overflow: hidden; }
.vipinform .comp-col.negative { border-top: 4px solid #8B4545; }
.vipinform .comp-col.positive { border-top: 4px solid var(--color-accent); }
.vipinform .comp-title { font-family: var(--font-head); font-size: 28px; margin-bottom: 30px; color: var(--color-text-main); }
.vipinform .timeline-item { display: flex; gap: 20px; margin-bottom: 25px; position: relative; }
.vipinform .timeline-item:last-child { margin-bottom: 0; }
.vipinform .timeline-year { font-family: var(--font-head); font-size: 24px; color: var(--color-text-muted); font-weight: 600; min-width: 60px; }
.vipinform .positive .timeline-year { color: var(--color-accent); }
.vipinform .timeline-text { font-size: 14px; color: var(--color-text-muted); line-height: 1.5; padding-top: 5px; }
@media (max-width: 768px) { .vipinform .comparison-grid { grid-template-columns: 1fr; } }








/* Стили для кнопки "Особые услуги" в шапке ПК */
.pgh-nav .special-service-menu {
    margin-left: 10px;
}
.pgh-nav .special-service-menu .btn-special {
    color: #A68A6B !important;
    border: 1px solid #A68A6B;
    border-radius: 30px;
    padding: 8px 18px !important;
    transition: all 0.3s ease;
    font-weight: 500;
}
.pgh-nav .special-service-menu:hover .btn-special {
    background-color: #A68A6B;
    color: #FFFFFF !important;
}

/* Стили для выпадающего премиум-меню (добавляем иконки) */
.premium-dropdown li a {
    display: flex !important;
    align-items: center;
    gap: 10px;
}
.premium-dropdown li a i {
    width: 16px;
    text-align: center;
    color: #A68A6B;
    font-size: 14px;
    opacity: 0.8;
}
/* Выделяем благотворительный фонд деликатным красным/теплым оттенком */
.premium-dropdown .fund-link a i {
    color: #c95c5c;
}
.premium-dropdown .fund-link a:hover {
    color: #c95c5c !important;
}


/* Мобильные стили для премиум-меню */
.mobile-premium-link a {
    display: flex !important;
    align-items: center;
    gap: 12px;
    color: #5A554E !important; /* Чуть темнее обычных ссылок */
}
.mobile-premium-link a i {
    width: 20px;
    text-align: center;
    color: #A68A6B;
    font-size: 16px;
}
/* Выделение фонда в мобилке */
.fund-link-mob a {
    font-weight: 500;
}
.fund-link-mob a i {
    color: #c95c5c;
}
/* =========================================
   9. АДАПТИВНОСТЬ (ПЛАНШЕТЫ И ТЕЛЕФОНЫ)
========================================= */

/* Железобетонная защита от горизонтального скролла для всех элементов внутри vipinform */
.vipinform *, .vipinform *::before, .vipinform *::after {
    box-sizing: border-box;
}

/* --- ПЛАНШЕТЫ (до 992px) --- */
@media (max-width: 992px) {
    .vipinform { --spacing-lg: 80px; --spacing-md: 50px; }

    /* Сетки превращаем в 2 колонки */
    .vipinform .features-grid,
    .vipinform .process-grid,
    .vipinform .security-grid,
    .vipinform .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* Тарифы делаем в 1 колонку (так они выглядят премиальнее на планшете) */
    .vipinform .tiers-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        gap: 40px;
        margin: 0 auto;
    }
    .vipinform .tier-premium {
        transform: scale(1); /* Убираем увеличение, чтобы не вылезало за края */
        margin-top: 20px;
    }
    .vipinform .tier-premium:hover {
        transform: translateY(-5px); /* Оставляем только прыжок вверх при наведении */
    }
    .vipinform .tier-desc { min-height: auto; }

    .vipinform .ed-story, .vipinform .ed-story.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- МОБИЛЬНЫЕ ТЕЛЕФОНЫ (до 768px) --- */
@media (max-width: 768px) {
    .vipinform .section-split, .vipinform .section-split.reverse {
        flex-direction: column;
        gap: 40px;
    }
    /* Картинка всегда сверху текста на мобилке */
    .vipinform .section-split .split-img,
    .vipinform .section-split.reverse .split-img {
        order: -1;
        width: 100%;
    }

    /* Все сетки в 1 колонку */
    .vipinform .features-grid,
    .vipinform .process-grid,
    .vipinform .security-grid,
    .vipinform .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Адаптация блока "Шаги" */
    .vipinform .step-card { text-align: center; padding: 30px 15px; }
    .vipinform .step-num { right: 50%; transform: translateX(50%); top: 10px; }

    /* Адаптация блока "Кейсы: Ожидание/Реальность" */
    .vipinform .case-item {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    .vipinform .case-image-box { width: 100%; }
    .vipinform .case-divider {
        transform: rotate(90deg); /* Поворачиваем стрелку вниз */
        margin: 5px 0;
    }

    /* Адаптация FAQ */
    .vipinform .faq-question { padding: 20px 0 !important; }
    .vipinform .faq-question h3 { font-size: 18px !important; }

    /* Кнопки */
    .vipinform .btn-group { flex-direction: column; width: 100%; gap: 15px;}
    .vipinform .btn { width: 100%; justify-content: center; }

    /* Отступы на мобильных */
    .vipinform .section-hook,
    .vipinform .section-split,
    .vipinform .section-features,
    .vipinform .section-tiers,
    .vipinform .section-process,
    .vipinform .section-cases,
    .vipinform .section-faq,
    .vipinform .cta-section {
        padding-left: 15px;
        padding-right: 15px;
    }
}


/* 12. ПРЕМИУМ ФОРМА ЗАХВАТА */
.vipinform .vip-form { max-width: 550px; margin: 0 auto; position: relative; }
.vipinform .form-group { display: flex; gap: 10px; margin-bottom: 15px; }

.vipinform .form-control {
    flex: 1;
    background: #12100E;
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
    padding: 0 20px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    height: 56px;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}
.vipinform .form-control:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 15px rgba(197, 164, 126, 0.1);
    background: #0A0908;
}
.vipinform .form-control::placeholder { color: #5A554E; }

.vipinform .btn-submit { height: 56px; margin: 0; border-radius: 8px; font-size: 14px; }

/* Галочка ФЗ-152 */
.vipinform .form-consent { text-align: left; margin-bottom: 20px; }
.vipinform .consent-label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; user-select: none; }
.vipinform .consent-label input { display: none; }
.vipinform .consent-custom-box { width: 18px; height: 18px; border: 1px solid #5A554E; border-radius: 4px; display: flex; align-items: center; justify-content: center; transition: 0.2s; flex-shrink: 0; margin-top: 2px; }
.vipinform .consent-custom-box i { font-size: 10px; color: var(--color-bg); opacity: 0; transform: scale(0.5); transition: 0.2s; }
.vipinform .consent-label input:checked ~ .consent-custom-box { background: var(--color-accent); border-color: var(--color-accent); }
.vipinform .consent-label input:checked ~ .consent-custom-box i { opacity: 1; transform: scale(1); }
.vipinform .consent-text { font-size: 12px; color: #8A857F; line-height: 1.5; }
.vipinform .consent-text a { color: var(--color-accent); text-decoration: underline; }

/* Сообщение об успехе */
.vipinform .form-success { background: rgba(197, 164, 126, 0.1); border: 1px solid var(--color-accent); color: var(--color-accent); padding: 20px; border-radius: 8px; text-align: center; font-size: 14px; font-weight: 500; margin-top: 15px; }

/* Альтернативные действия */
.vipinform .alt-actions { margin-top: 50px; border-top: 1px dashed var(--color-border); padding-top: 40px; }
.vipinform .alt-text { font-size: 13px; color: var(--color-text-muted); margin-bottom: 20px; font-style: italic; }

@media (max-width: 576px) {
    .vipinform .form-group { flex-direction: column; }
    .vipinform .btn-submit { width: 100%; }
}

/* Ошибка для галочки */
.vipinform .consent-custom-box.error {
    border-color: #8B4545;
    background: rgba(139, 69, 69, 0.1);
    box-shadow: 0 0 10px rgba(139, 69, 69, 0.3);
}
.vipinform .consent-text.error {
    color: #8B4545;
}








/* =========================================
   СВЕТЛАЯ ПРЕМИУМ СТРАНИЦА: ПРОЦЕСС СОЗДАНИЯ
========================================= */

.light-process-page {
    /* Цвета на основе ваших макетов */
    --lp-bg-main: #FAFAF8; /* Очень легкий теплый фон */
    --lp-bg-white: #FFFFFF;
    --lp-text-dark: #2A2724; /* Почти черный, теплый */
    --lp-text-muted: #5A554E;
    --lp-accent: #A68A6B; /* Золотисто-коричневый */
    --lp-dark-block: #2A2825; /* Цвет темного блока из примера */

    /* Шрифты (подставьте свои, если они называются иначе) */
    --lp-font-head: 'Cormorant Garamond', 'Playfair Display', serif;
    --lp-font-body: 'Inter', 'Montserrat', sans-serif;

    background-color: var(--lp-bg-main);
    color: var(--lp-text-dark);
    font-family: var(--lp-font-body);
    padding-bottom: 80px;
    overflow-x: hidden;
}

/* Общие элементы */
.light-process-page h1,
.light-process-page h2,
.light-process-page h3,
.light-process-page p {
    margin: 0;
}
.light-process-page img {
    max-width: 100%;
    display: block;
}
.lp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.text-center { text-align: center; }

/* Анимации */
.light-process-page .reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}
.light-process-page .reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Секция */
.lp-hero {
    padding: 100px 0 60px;
}
.lp-subtitle {
    font-family: var(--lp-font-body);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--lp-accent);
    margin-bottom: 20px;
}
.lp-title {
    font-family: var(--lp-font-head);
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 400;
    color: var(--lp-text-dark);
    line-height: 1.15;
    margin-bottom: 25px;
}
.lp-lead {
    font-size: 16px;
    line-height: 1.6;
    color: var(--lp-text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Таймлайн (Шаги) */
.lp-timeline-section {
    padding: 40px 0 80px;
}
.lp-step-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}
.lp-step-row.reverse {
    flex-direction: row-reverse;
}
.lp-step-row:last-child {
    margin-bottom: 0;
}

.lp-step-content {
    flex: 1;
    position: relative;
    padding: 40px;
    background: var(--lp-bg-white);
    border-radius: 12px;
    /* Легкая тень как на скриншоте "Честная смета" */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(166, 138, 107, 0.1);
}

.lp-step-number {
    font-family: var(--lp-font-head);
    font-size: 72px;
    color: rgba(166, 138, 107, 0.15); /* Прозрачный акцентный цвет */
    position: absolute;
    top: -20px;
    left: 20px;
    line-height: 1;
    z-index: 0;
}

.lp-step-title {
    font-family: var(--lp-font-head);
    font-size: 28px;
    color: var(--lp-text-dark);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.lp-step-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--lp-text-muted);
    position: relative;
    z-index: 1;
}
.lp-step-text strong {
    color: var(--lp-text-dark);
    font-weight: 600;
}
.lp-step-text em {
    font-style: italic;
    color: var(--lp-accent);
}

.lp-step-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}
.lp-step-image::after {
    /* Легкий теплый фильтр поверх фото для стилистики */
    content: '';
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: rgba(166, 138, 107, 0.05);
    pointer-events: none;
}
.lp-step-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.lp-step-row:hover .lp-step-image img {
    transform: scale(1.03);
}

/* Темный блок из макета */
.lp-dark-banner-section {
    padding: 40px 0;
}
.lp-dark-box {
    background: var(--lp-dark-block);
    border-radius: 16px;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}
.lp-dark-content {
    flex: 1;
}
.lp-dark-title {
    font-family: var(--lp-font-head);
    font-size: 32px;
    color: var(--lp-bg-white);
    margin-bottom: 20px;
}
.lp-dark-text {
    font-size: 15px;
    color: #DCD9D4;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 650px;
}
.lp-dark-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.lp-dark-list li {
    font-size: 15px;
    color: #DCD9D4;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.lp-dark-list li i {
    color: var(--lp-accent);
}
.lp-dark-icon {
    font-size: 120px;
    color: rgba(166, 138, 107, 0.1);
}

/* Кнопка CTA */
.lp-cta {
    padding: 80px 0;
}
.lp-btn {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--lp-accent);
    color: var(--lp-text-dark);
    padding: 16px 36px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px; /* В макетах кнопки обычно прямые или слегка скругленные */
    transition: all 0.3s ease;
    text-decoration: none;
}
.lp-btn:hover {
    background: var(--lp-accent);
    color: var(--lp-bg-white);
}

/* АДАПТИВНОСТЬ */
@media (max-width: 992px) {
    .lp-step-row, .lp-step-row.reverse {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }
    .lp-dark
-box {
        flex-direction: column;
        padding: 40px 30px;
    }
    .lp-dark-icon { display: none; }
}
@media (max-width: 768px) {
    .lp-hero { padding: 60px 0 40px; }
    .lp-step-content { padding: 30px 20px; }
    .lp-step-number { font-size: 50px; top: -10px; }
}



/* =========================================
   ФОРМА ЗАХВАТА И СТИЛИ CTA (СВЕТЛАЯ ТЕМА)
========================================= */

.lp-form-section {
    padding: 80px 0 100px;
}

.lp-form-box {
    max-width: 600px;
    margin: 0 auto;
    background: var(--lp-bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(166, 138, 107, 0.2);
}

.lp-form-group {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.lp-form-control {
    flex: 1;
    padding: 18px 20px;
    border: 1px solid #E5E0D8;
    background: var(--lp-bg-main);
    border-radius: 6px;
    font-family: var(--lp-font-body);
    font-size: 16px;
    color: var(--lp-text-dark);
    outline: none;
    transition: all 0.3s ease;
}

.lp-form-control:focus {
    border-color: var(--lp-accent);
    background: var(--lp-bg-white);
    box-shadow: 0 0 0 3px rgba(166, 138, 107, 0.1);
}

.lp-btn-submit {
    background: var(--lp-accent);
    color: var(--lp-bg-white);
    border: none;
    padding: 0 30px;
    border-radius: 6px;
    font-family: var(--lp-font-body);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lp-btn-submit:hover {
    background: #8F765A; /* Чуть темнее при наведении */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(166, 138, 107, 0.3);
}

/* Стили чекбокса согласия */
.lp-form-consent {
    text-align: left;
    margin-bottom: 15px;
}

.lp-consent-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.lp-consent-label input[type="checkbox"] {
    display: none; /* Скрываем стандартный чекбокс */
}

.lp-consent-custom-box {
    width: 20px;
    height: 20px;
    border: 1px solid #C4BCB3;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    background: var(--lp-bg-white);
}

.lp-consent-custom-box i {
    font-size: 12px;
    color: var(--lp-bg-white);
    opacity: 0;
    transition: 0.2s;
}

.lp-consent-custom-box.active {
    background: var(--lp-accent);
    border-color: var(--lp-accent);
}

.lp-consent-custom-box.active i {
    opacity: 1;
}

.lp-consent-text {
    font-size: 13px;
    color: var(--lp-text-muted);
}

.lp-consent-text a {
    color: var(--lp-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lp-form-success {
    background: #EAF4EE;
    color: #2E6542;
    padding: 15px;
    border-radius: 6px;
    font-size: 14px;
    text-align: left;
    border: 1px solid #C8E3D4;
}

/* Альтернативные действия */
.lp-alt-actions {
    margin-top: 40px;
}

.lp-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid #C4BCB3;
    color: var(--lp-text-dark);
    padding: 14px 28px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.lp-btn-outline:hover {
    border-color: var(--lp-accent);
    color: var(--lp-accent);
    background: rgba(166, 138, 107, 0.05);
}

/* Мобильный адаптив формы */
@media (max-width: 600px) {
    .lp-form-group {
        flex-direction: column;
    }
    .lp-btn-submit {
        padding: 18px 20px;
        justify-content: center;
    }
    .lp-form-box {
        padding: 25px 20px;
    }
}





/* =========================================
   ТЕМНАЯ ФОРМА ДЛЯ СТАТЕЙ (ПО СКРИНШОТУ)
========================================= */
.article-cta-box {
    background: #0D0B0A; /* Темный фон */
    background: radial-gradient(circle at top, #161311 0%, #0D0B0A 100%);
    padding: 80px 20px;
    border-radius: 12px;
    margin: 60px 0;
    text-align: center;
    color: #EAE6DF;
    font-family: 'Inter', sans-serif;
    border: 1px solid #1A1715;
}
.article-cta-box * { box-sizing: border-box; }

.art-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 5vw, 42px);
    font-weight: 400;
    margin-bottom: 15px;
    color: #EAE6DF;
}
.art-desc {
    font-size: 15px;
    color: #A39B90;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.grevir-article-form {
    max-width: 600px;
    margin: 0 auto;
}
.art-form-group {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}
.art-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #2A2622;
    padding: 18px 20px;
    border-radius: 4px;
    color: #EAE6DF;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.3s ease;
}
.art-input:focus { border-color: #C5A47E; }
.art-input::placeholder { color: #5A554E; }

.art-btn {
    padding: 18px 36px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}
.art-btn-gold {
    background: #C5A47E;
    color: #0A0908;
    border: none;
}
.art-btn-gold:hover { background: #d8b894; transform: translateY(-2px); }

/* Чекбокс */
.art-consent { text-align: left; }
.art-consent-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}
.art-consent-label input { display: none; }
.art-consent-box {
    width: 18px; height: 18px;
    border: 1px solid #2A2622;
    border-radius: 3px;
    display: flex; align-items: center; justify-content: center;
    transition: 0.2s;
}
.art-consent-box i { font-size: 10px; color: #0A0908; opacity: 0; transition: 0.2s; }
.art-consent-label input:checked + .art-consent-box { background: #C5A47E; border-color: #C5A47E; }
.art-consent-label input:checked + .art-consent-box i { opacity: 1; }

.art-consent-box.error { border-color: #8B4545; background: rgba(139, 69, 69, 0.1); }
.art-consent-text.error { color: #8B4545; }

.art-consent-text { font-size: 13px; color: #A39B90; }
.art-consent-text a { color: #C5A47E; text-decoration: underline; text-underline-offset: 3px; }

/* Альтернативное действие */
.art-alt-actions {
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
}
.art-alt-text {
    font-size: 14px; color: #A39B90; font-style: italic; margin-bottom: 20px;
}
.art-btn-outline {
    background: transparent; border: 1px solid #2A2622; color: #EAE6DF;
}
.art-btn-outline:hover {
    border-color: #C5A47E; color: #C5A47E; background: rgba(197, 164, 126, 0.05);
}

/* Успешная отправка */
.art-form-success {
    background: rgba(197, 164, 126, 0.05);
    border: 1px solid rgba(197, 164, 126, 0.3);
    color: #C5A47E;
    padding: 25px;
    border-radius: 4px;
    font-size: 16px;
}

@media (max-width: 600px) {
    .art-form-group { flex-direction: column; }
    .art-btn { width: 100%; justify-content: center; }
}







/* =========================================
   АДАПТИВНОСТЬ: ПЛАНШЕТЫ (до 992px)
================
========================= */
@media (max-width: 992px) {
    /* Уменьшаем отступы секций */
    .lp-hero { padding: 80px 0 50px; }
    .lp-timeline-section { padding: 20px 0 60px; }
    .lp-form-section { padding: 60px 0 80px; }

    /* Перестраиваем зигзаг (Шаги) в вертикальные карточки */
    .lp-step-row,
    .lp-step-row.reverse {
        flex-direction: column;
        gap: 0; /* Убираем стандартный gap, сделаем нахлест */
        margin-bottom: 80px;
    }

    /* Изображение ставим наверх */
    .lp-step-image {
        order: 1;
        width: 100%;
        border-radius: 12px 12px 0 0; /* Скругляем только верх */
    }
    .lp-step-image img {
        aspect-ratio: 16/9; /* Делаем фото чуть более вытянутым, чтобы не занимало весь экран */
    }

    /* Текстовый блок ставим вниз и делаем красивый нахлест на фото */
    .lp-step-content {
        order: 2;
        width: 90%; /* Оставляем воздух по бокам */
        margin: -40px auto 0; /* Наезжаем на фото снизу на 40px */
        z-index: 2;
        padding: 40px;
        border-radius: 12px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08); /* Чуть усиливаем тень, чтобы отделить от фото */
    }

    /* Темный блок: выстраиваем в колонку */
    .lp-dark-box {
        flex-direction: column;
        text-align: center;
        padding: 50px 40px;
        gap: 30px;
    }
    .lp-dark-text {
        margin: 0 auto 30px;
    }
    /* Выравниваем иконки списка по центру */
    .lp-dark-list li {
        justify-content: center;
        text-align: left;
    }
    /* Иконку щита переносим наверх и уменьшаем */
    .lp-dark-icon {
        order: -1;
        font-size: 80px;
    }
}

/* =========================================
   АДАПТИВНОСТЬ: МОБИЛЬНЫЕ (до 768px)
========================================= */
@media (max-width: 768px) {
    /* Типографика и базовые отступы */
    .lp-hero { padding: 60px 0 30px; }
    .lp-title { font-size: 28px !important; margin-bottom: 20px; line-height: 1.2; }
    .lp-lead { font-size: 15px; }

    /* Карточки шагов на мобилках */
    .lp-step-row,
    .lp-step-row.reverse { margin-bottom: 60px; }

    .lp-step-content {
        width: 95%; /* Расширяем на мобилке */
        padding: 30px 20px;
        margin-top: -30px; /* Уменьшаем нахлест */
    }

    .lp-step-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .lp-step-text {
        font-size: 14px;
        line-height: 1.6;
    }

    /* Цифра на фоне */
    .lp-step-number {
        font-size: 50px;
        top: -10px;
        left: 15px;
    }

    /* Темный блок доверия */
    .lp-dark-box {
        padding: 40px 20px;
    }
    .lp-dark-title {
        font-size: 24px;
        line-height: 1.3;
    }
    .lp-dark-list li {
        font-size: 14px;
        align-items: flex-start; /* Чтобы иконка не съезжала, если текст в 2 строки */
    }
    .lp-dark-list li i {
        margin-top: 4px; /* Выравниваем галочку по первой строке текста */
    }
}

/* =========================================
   АДАПТИВНОСТЬ: УЗКИЕ ЭКРАНЫ И ФОРМА (до 600px)
========================================= */
@media (max-width: 600px) {
    /* Форма захвата */
    .lp-form-box {
        padding: 30px 20px;
        background: transparent; /* Убираем белую коробку, делаем площе */
        box-shadow: none;
        border: none;
    }

    .lp-form-group {
        flex-direction: column; /* Поле ввода и кнопка друг под другом */
        gap: 10px;
    }

    .lp-form-control {
        text-align: center; /* Центрируем плейсхолдер телефона на мобилках */
    }

    .lp-btn-submit {
        padding: 18px 20px;
        justify-content: center;
        width: 100%;
    }

    /* Чекбокс согласия */
    .lp-consent-label {
        align-items: flex-start; /* Иконка сверху, текст сбоку */
    }
    .lp-consent-custom-box {
        flex-shrink: 0; /* Запрещаем чекбоксу сжиматься */
        margin-top: 2px;
    }
    .lp-consent-text {
        font-size: 12px;
        line-height: 1.4;
    }

    /* Альтернативные кнопки (Telegram) */
    .lp-btn-outline {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
}






  .btn-charity-elegant {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border: 1px solid var(--color-accent, #A68A6B);
    color: var(--color-accent, #A68A6B) !important;
    background: transparent;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    border-radius: 40px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .btn-charity-elegant svg {
    transition: transform 0.4s ease;
  }

  .btn-charity-elegant:hover {
    background: var(--color-accent, #A68A6B);
    color: #ffffff !important;
    box-shadow: 0 10px 20px rgba(166, 138, 107, 0.2);
    transform: translateY(-3px);
  }

  .btn-charity-elegant:hover svg {
    transform: translateX(5px);
  }

  /* Адаптив для мобильных, чтобы кнопка занимала всю ширину */
  @media (max-width: 576px) {
    .btn-charity-elegant {
      width: 100%;
      justify-content: center;
      box-sizing: border-box;
    }
  }







  .isolated-special-services {
    background-color: transparent;
    padding: 80px 20px;
    font-family: 'Inter', sans-serif;
  }

  .isolated-special-services * {
    box-sizing: border-box;
  }

  .isolated-special-services .iss-container {
    max-width: 1200px;
    margin: 0 auto;
  }

  /* Шапка блока */
  .isolated-special-services .iss-header {
    text-align: center;
    margin-bottom: 50px;
  }

  .isolated-special-services .iss-title {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: clamp(32px, 4vw, 46px) !important;
    color: #2A2724 !important;
    margin: 0 0 15px 0 !important;
    font-weight: 400 !important;
    background: transparent !important;
  }

  .isolated-special-services .iss-subtitle {
    font-size: 15px !important;
    color: #5A554E !important;
    max-width: 700px;
    margin: 0 auto !important;
    line-height: 1.6 !important;
  }

  /* Сетка */
  .isolated-special-services .iss-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  /* Карточка */
  .isolated-special-services .iss-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    text-decoration: none !important;
    background-color: #12100E;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }

  .isolated-special-services .iss-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  }

  /* Фоновое изображение */
  .isolated-special-services .iss-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
  }

  .isolated-special-services .iss-card:hover .iss-bg {
    transform: scale(1.05);
  }

  /* Темный градиент снизу */
  .isolated-special-services .iss-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(15, 12, 10, 0.95) 0%, rgba(15, 12, 10, 0.6) 50%, rgba(15, 12, 10, 0) 100%) !important;
    z-index: 2;
  }

  /* Контент внутри карточки */
  .isolated-special-services .iss-content {
    position: relative;
    z-index: 3;
    padding: 30px;
  }

  .isolated-special-services .iss-category {
    display: block;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    color: #A68A6B !important;
    margin-bottom: 12px !important;
    font-weight: 600 !important;
  }

  /* ИСПРАВЛЕНИЕ БЕЛОГО ФОНА И ШРИФТА ДЛЯ ЗАГОЛОВКА */
  .isolated-special-services .iss-name {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 32px !important;
    color: #FFFFFF !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    font-weight: 400 !important;
    line-height: 1.1 !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* Теги (темные кнопки) */
  .isolated-special-services .iss-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .isolated-special-services .iss-tag {
    font-size: 11px !important;
    color: #EAE6DF !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 6px 16px !important;
    border-radius: 30px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
  }

  /* =========================================
     АДАПТИВНОСТЬ
  ========================================= */

  /* Планшеты (2 колонки) */
  @media (max-width: 992px) {
    .isolated-special-services .iss-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }
    .isolated-special-services {
      padding: 60px 15px;
    }
  }

  /* Мобильные телефоны (1 колонка, горизонтальные карточки) */
  @media (max-width: 768px) {
    .isolated-special-services .iss-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }

    .isolated-special-services .iss-card {
      aspect-ratio: 16 / 10; /* Делаем карточку горизонтальной, чтобы она не была огромной */
    }

    .isolated-special-services .iss-content {
      padding: 20px;
    }

    .isolated-special-services .iss-name {
      font-size: 26px !important; /* Чуть уменьшаем шрифт на мобилке */
      margin-bottom: 15px !important;
    }
  }











  /* Изоляция стилей */
.premium-services-page {
    font-family: var(--font-main, sans-serif);
    background-color: var(--color-bg-light, #FAF8F5);
    color: var(--color-text-main, #333);
}

.srv-container { max-width: 1300px; margin: 0 auto; padding: 0 20px; }

.srv-section-title { text-align: center; max-width: 800px; margin: 0 auto 50px; }
.srv-section-title h2 { font-family: var(--font-head, serif); font-size: 3.2rem; margin-bottom: 20px; color: var(--color-text-main); }
.srv-section-title p { font-size: 1.15rem; line-height: 1.6; color: var(--color-text-p, #666); }

/* Hero */
.srv-hero {
    height: 60vh; min-height: 550px;
    background: linear-gradient(rgba(30, 28, 25, 0.7), rgba(30, 28, 25, 0.4)), url('/image/myback/ome/91.jpg') center/cover no-repeat;
    display: flex; align-items: center; justify-content: center; text-align: center;
}
.srv-hero-content h1 { font-family: var(--font-head, serif); font-size: 4rem; color: #fff; margin-bottom: 20px; line-height: 1.1; }
.srv-hero-content p { font-size: 1.3rem; color: rgba(255,255,255,0.9); margin-bottom: 40px; }

/* Карточки экспертности */
.srv-cases { padding: 100px 0; background: #fff; }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.case-card { background: var(--color-bg-light, #FAF8F5); padding: 45px 35px; border-radius: 20px; border: 1px solid #EFEBE4; transition: 0.3s; }
.case-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(166,138,107,0.1); }
.case-card i { font-size: 2.5rem; color: var(--color-accent, #A68A6B); margin-bottom: 20px; }
.case-card h3 { font-size: 1.6rem; font-family: var(--font-head, serif); margin-bottom: 15px; }
.case-card p { font-size: 1.05rem; line-height: 1.6; color: var(--color-text-p); margin: 0; }

/* Сетка услуг */
.srv-mega-registry { padding: 100px 0; }
.registry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.registry-column { display: flex; flex-direction: column; gap: 15px; }
.col-header { font-size: 1.15rem; font-weight: 600; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 2px solid var(--color-accent, #A68A6B); display: flex; align-items: center; gap: 10px; }
.col-header i { color: var(--color-accent, #A68A6B); }

.micro-srv-card {
    display: block; background: #fff; padding: 20px; border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.04); text-decoration: none !important; color: inherit;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02); transition: all 0.3s;
    opacity: 0; transform: translateY(20px);
}
.micro-srv-card.visible { opacity: 1; transform: translateY(0); }
.micro-srv-card:hover { box-shadow: 0 10px 25px rgba(166,138,107,0.15); border-color: rgba(166,138,107,0.3); }
.micro-srv-card h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; color: var(--color-text-main); transition: 0.3s; }
.micro-srv-card:hover h4 { color: var(--color-accent, #A68A6B); }
.micro-srv-card p { font-size: 0.9rem; line-height: 1.4; color: #888; margin: 0; }

/* Форма внизу */
.srv-action-section { padding: 100px 0; background: linear-gradient(135deg, var(--color-bg-dark, #1A1816), #2A2724); color: #fff; }
.action-flex { display: flex; gap: 60px; align-items: center; }
.action-text { flex: 1; }
.action-text h2 { font-family: var(--font-head, serif); font-size: 3.5rem; color: #fff; margin-bottom: 30px; line-height: 1.1; }
.srv-steps { list-style: none; padding: 0; margin: 0; }
.srv-steps li { display: flex; align-items: flex-start; gap: 15px; font-size: 1.15rem; line-height: 1.5; margin-bottom: 25px; color: rgba(255,255,255,0.8); }
.srv-steps li span { display: flex; align-items: center; justify-content: center; width: 35px; height: 35px; background: var(--color-accent, #A68A6B); color: #fff; border-radius: 50%; font-weight: bold; flex-shrink: 0; }

.action-form-box { flex: 0.8; background: #fff; padding: 50px 40px; border-radius: 20px; color: var(--color-text-main); }
.action-form-box h3 { font-family: var(--font-head, serif); font-size: 2.2rem; margin-bottom: 10px; }
.form-sub { font-size: 1rem; color: #666; margin-bottom: 25px; }
.input-group { margin-bottom: 15px; }
.input-group input, .input-group textarea { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 8px; font-family: var(--font-main); font-size: 1rem; background: #fdfdfd; box-sizing: border-box; }
.input-group input:focus, .input-group textarea:focus { outline: none; border-color: var(--color-accent, #A68A6B); }
.art-consent-box { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: #888; margin-top: 10px; }
.art-consent-box input { margin-top: 4px; }

/* Адаптив */
@media (max-width: 1024px) {
    .registry-grid { grid-template-columns: repeat(2, 1fr); }
    .action-flex { flex-direction: column; }
    .action-form-box { width: 100%; }
}
@media (max-width: 768px) {
    .srv-hero-content h1 { font-size: 2.5rem; }
    .srv-section-title h2, .action-text h2 { font-size: 2.4rem; }
    .cases-grid, .registry-grid { grid-template-columns: 1fr; }
    .action-form-box { padding: 30px 20px; }
}


/* Манифест */
.srv-manifesto { padding: 100px 0; background: #fff; }
.manifesto-flex { display: flex; gap: 60px; align-items: center; }
.manifesto-img { flex: 1; }
.manifesto-img img { width: 100%; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.08); object-fit: cover; height: 100%; min-height: 400px; }
.manifesto-text { flex: 1.2; }
.manifesto-text h2 { font-family: var(--font-head, serif); font-size: 3rem; margin-bottom: 25px; color: var(--color-text-main); }
.manifesto-text p { font-size: 1.15rem; line-height: 1.7; color: #555; margin-bottom: 20px; }
.manifesto-quote { margin-top: 30px; padding: 25px 30px; background: var(--color-bg-light, #FAF8F5); border-left: 4px solid var(--color-accent, #A68A6B); font-family: var(--font-head, serif); font-size: 1.4rem; font-style: italic; color: var(--color-text-main); border-radius: 0 12px 12px 0; }

/* Твердые гарантии */
.srv-trust { padding: 80px 0 100px; background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.trust-item { text-align: center; padding: 40px; border: 1px solid #EFEBE4; border-radius: 20px; }
.trust-item i { font-size: 2.5rem; color: var(--color-accent, #A68A6B); margin-bottom: 20px; }
.trust-item h4 { font-family: var(--font-head, serif); font-size: 1.6rem; margin-bottom: 15px; color: var(--color-text-main); }
.trust-item p { font-size: 1rem; line-height: 1.5; color: #666; margin: 0; }

/* Ссылка "Посмотреть весь каталог оформления" */
.all-decor-link { display: inline-block; margin-top: 10px; font-size: 0.95rem; font-weight: 600; color: var(--color-accent, #A68A6B); text-decoration: none; padding: 12px 20px; border: 1px solid var(--color-accent, #A68A6B); border-radius: 8px; text-align: center; transition: 0.3s; }
.all-decor-link:hover { background: var(--color-accent, #A68A6B); color: #fff; }

/* Адаптив новых блоков */
@media (max-width: 1024px) {
    .manifesto-flex { flex-direction: column-reverse; }
    .trust-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 768px) {
    .manifesto-text h2 { font-size: 2.4rem; }
    .manifesto-quote { font-size: 1.2rem; padding: 20px; }
}




/* =========================================
   НОВЫЙ БЛОК ФОРМЫ (ПРЕМИУМ ДИЗАЙН)
   ========================================= */
   .srv-premium-cta {
    padding: 100px 0;
    background: var(--color-bg-light, #FAF8F5);
}
.cta-premium-wrapper {
    display: flex;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    border: 1px solid #EFEBE4;
}

/* Левая темная сторона */
.cta-info-side {
    flex: 1;
    background: linear-gradient(135deg, var(--color-bg-dark, #1A1816), #2A2724);
    color: #fff;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cta-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent, #A68A6B);
    margin-bottom: 15px;
    font-weight: 600;
}
.cta-info-side h2 {
    font-family: var(--font-head, serif);
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
}
.cta-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}
.cta-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}
.cta-benefits li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 15px;
}
.cta-benefits i {
    color: var(--color-accent, #A68A6B);
    font-size: 1.2rem;
}
.cta-direct {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.cta-direct p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 10px;
}
.btn-tg-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}
.btn-tg-outline:hover {
    background: var(--color-tg, #2AABEE);
    border-color: var(--color-tg, #2AABEE);
}

/* Правая светлая сторона (Форма) */
.cta-form-side {
    flex: 1;
    padding: 60px 50px;
    background: #fff;
}
.modern-input-group {
    margin-bottom: 25px;
}
.modern-input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}
.modern-input-group input,
.modern-input-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: #F9F9F9;
    border: 1px solid transparent;
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.modern-input-group input:focus,
.modern-input-group textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--color-accent, #A68A6B);
    box-shadow: 0 5px 15px rgba(166,138,107,0.1);
}
.art-consent-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
}
.art-consent-text {
    font-size: 0.85rem;
    color: #888;
    cursor: pointer;
    line-height: 1.4;
}
.modern-submit {
    width: 100%;
    padding: 18px !important;
    font-size: 1.1rem !important;
    border-radius: 12px !important;
}
.art-form-success {
    text-align: center;
    padding: 40px 0;
}
.success-icon-wrap {
    width: 80px; height: 80px;
    background: rgba(166,138,107,0.1);
    color: var(--color-accent, #A68A6B);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}


/* =========================================
   АДАПТИВНАЯ ВЕРСТКА (ПЛАНШЕТЫ И ТЕЛЕФОНЫ)
   ========================================= */

/* Планшеты (до 1024px) */
@media (max-width: 1024px) {
    /* Hero */
    .srv-hero { min-height: 450px; padding-top: 40px; }
    .srv-hero-content h1 { font-size: 3.2rem; }

    /* Манифест */
    .manifesto-flex { flex-direction: column; gap: 40px; }
    .manifesto-img img { min-height: 300px; }

    /* Гарантии и Сложные случаи */
    .trust-grid, .cases-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

    /* Реестр услуг */
    .registry-grid { grid-template-columns: repeat(2, 1fr); }

    /* Форма захвата */
    .cta-info-side { padding: 40px 30px; }
    .cta-form-side { padding: 40px 30px; }
    .cta-info-side h2 { font-size: 2.5rem; }
}

/* Мобильные телефоны (до 768px) */
@media (max-width: 768px) {
    /* Глобальные отступы секций */
    .srv-cases, .srv-mega-registry, .srv-premium-cta, .srv-manifesto { padding: 60px 0; }

    /* Hero */
    .srv-hero { min-height: auto; padding: 60px 15px; }
    .srv-hero-content h1 { font-size: 2.2rem; margin-bottom: 15px; }
    .srv-hero-content p { font-size: 1.1rem; }

    /* Заголовки секций */
    .srv-section-title h2 { font-size: 2.2rem; }
    .srv-section-title p { font-size: 1rem; }

    /* Манифест */
    .manifesto-text h2 { font-size: 2.2rem; }
    .manifesto-quote { font-size: 1.1rem; padding: 15px 20px; }

    /* Гарантии и Сложные случаи */
    .trust-grid, .cases-grid { grid-template-columns: 1fr; }
    .trust-item { padding: 30px 20px; }
    .case-card { padding: 30px 25px; }

    /* Реестр услуг */
    .registry-grid { grid-template-columns: 1fr; }
    .col-header { margin-top: 20px; }

    /* Форма захвата (Split card становится вертикальной) */
    .cta-premium-wrapper { flex-direction: column; border-radius: 16px; }
    .cta-info-side { padding: 40px 20px; }
    .cta-form-side { padding: 40px 20px; }
    .cta-info-side h2 { font-size: 2.2rem; }
    .cta-desc { font-size: 1rem; }
}

/* Маленькие экраны (до 480px) */
@media (max-width: 480px) {
    .srv-hero-content h1 { font-size: 1.9rem; }
    .srv-section-title h2, .manifesto-text h2, .cta-info-side h2 { font-size: 1.9rem; }
    .micro-srv-card h4 { font-size: 1rem; }
    .btn-warm { width: 100%; text-align: center; } /* Кнопки на всю ширину на мобилке */
}





/* Текст под формой */
.privacy-disclaimer {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #999;
    text-align: center;
    line-height: 1.4;
}

/* ДО И ПОСЛЕ */
.srv-before-after { padding: 100px 0; background: #fff; }
.ba-card { display: flex; flex-wrap: wrap; gap: 20px; background: var(--color-bg-light, #FAF8F5); padding: 30px; border-radius: 20px; border: 1px solid #EFEBE4; }
.ba-image-wrap { flex: 1; min-width: 300px; position: relative; border-radius: 12px; overflow: hidden; }
.ba-image-wrap img { width: 100%; height: 350px; object-fit: cover; display: block; }
.ba-label { position: absolute; top: 15px; left: 15px; padding: 5px 15px; border-radius: 5px; font-weight: bold; color: #fff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; backdrop-filter: blur(5px); }
.ba-before { background: rgba(0,0,0,0.6); }
.ba-after { background: rgba(166, 138, 107, 0.9); }
.ba-text { width: 100%; margin-top: 15px; text-align: center; }
.ba-text h4 { font-family: var(--font-head, serif); font-size: 1.5rem; margin-bottom: 10px; color: var(--color-text-main); }
.ba-text p { color: #666; font-size: 1.05rem; }

/* ТАЙМЛАЙН (ЭТАПЫ) */
.srv-timeline { padding: 100px 0; background: var(--color-bg-dark, #1A1816); color: #fff; }
.srv-timeline .srv-section-title h2, .srv-timeline .srv-section-title p { color: #fff; }
.srv-timeline .srv-section-title p { opacity: 0.7; }
.timeline-wrapper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
/* Линия между шагами */
.timeline-wrapper::before { content: ''; position: absolute; top: 35px; left: 10%; right: 10%; height: 2px; background: rgba(255,255,255,0.1); z-index: 1; }
.tl-item { position: relative; z-index: 2; text-align: center; }
.tl-number { width: 70px; height: 70px; margin: 0 auto 20px; background: var(--color-accent, #A68A6B); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: bold; font-family: var(--font-head, serif); box-shadow: 0 0 0 10px var(--color-bg-dark, #1A1816); }
.tl-item h4 { font-size: 1.2rem; margin-bottom: 15px; font-weight: 600; }
.tl-item p { font-size: 0.95rem; color: rgba(255,255,255,0.7); line-height: 1.5; }

/* FAQ */
/* =========================================
   ИСПРАВЛЕННЫЙ FAQ (ПРЕМИУМ-МИНИМАЛИЗМ)
   ========================================= */
   .srv-faq {
    padding: 100px 0;
    background: transparent; /* Убираем лишний фон секции */
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid #EFEBE4; /* Верхняя тонкая линия */
}

.faq-item {
    border-bottom: 1px solid #EFEBE4; /* Нижняя тонкая линия */
    margin-bottom: 0 !important; /* Убиваем отступы между блоками */
    background: transparent !important; /* Убиваем белый фон "пилюль" */
    box-shadow: none !important; /* Убиваем тени от шаблона OpenCart */
    border-radius: 0 !important; /* Убиваем скругления */
}

.faq-btn {
    width: 100%;
    text-align: left;
    padding: 30px 10px;
    background: transparent !important;
    border: none;
    font-size: 1.3rem !important;
    font-weight: 500;
    color: var(--color-text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    font-family: var(--font-head, serif) !important; /* Используем красивый шрифт для вопросов */
}

.faq-btn:hover {
    color: var(--color-accent, #A68A6B);
    background: rgba(166, 138, 107, 0.02) !important; /* Очень легкий цвет при наведении */
}

.faq-btn i {
    transition: transform 0.3s;
    font-size: 1rem;
    color: var(--color-accent, #A68A6B);
}

.faq-btn.active i {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: transparent !important;
}

.faq-content p {
    padding: 0 10px 30px 10px;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 !important;
    font-family: var(--font-main, sans-serif) !important;
}

/* Адаптив FAQ для телефонов */
@media (max-width: 768px) {
    .faq-btn { font-size: 1.15rem !important; padding: 20px 5px; }
    .faq-content p { font-size: 1rem; padding: 0 5px 20px 5px; }
}
/* Адаптив для новых блоков */
@media (max-width: 1024px) {
    .timeline-wrapper { grid-template-columns: repeat(2, 1fr); gap: 50px 30px; }
    .timeline-wrapper::before { display: none; } /* Скрываем линию на мобилках */
}
@media (max-width: 768px) {
    .ba-image-wrap img { height: 250px; }
    .timeline-wrapper { grid-template-columns: 1fr; gap: 40px; }

}


/* =========================================
   ИСПРАВЛЕННАЯ ГАЛОЧКА (ФОРМА)
   ========================================= */
   .modern-consent {
    display: flex;
    align-items: center; /* Выравниваем по центру по вертикали */
    flex-wrap: nowrap; /* Запрещаем перенос блока */
    gap: 12px;
    margin-bottom: 25px;
    padding: 10px 0;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: all 0.3s;
}

.modern-consent input[type="checkbox"] {
    flex-shrink: 0; /* ЗАПРЕЩАЕМ сжиматься самому квадратику */
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--color-accent, #A68A6B);
    cursor: pointer;
}

.modern-consent .art-consent-text {
    flex-grow: 1; /* Заставляем текст занять всю оставшуюся ширину */
    font-size: 0.85rem !important;
    color: #666 !important;
    line-height: 1.4 !important;
    cursor: pointer;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    word-break: normal !important; /* Отменяем перенос по буквам */
    white-space: normal !important;
}

.modern-consent .art-consent-text a {
    color: var(--color-accent, #A68A6B);
    text-decoration: underline;
}

.modern-consent .art-consent-text a:hover {
    text-decoration: none;
}

/* Ошибка, если галочка не нажата */
.modern-consent.error-shake {
    background: rgba(255, 0, 0, 0.05);
    border: 1px solid #ffcccc;
    padding: 10px;
    animation: shake 0.4s ease-in-out;
}
.modern-consent.error-shake .art-consent-text {
    color: #cc0000 !important;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
}




/* ==================================================
   GREVIR JOURNAL (BLOG) STYLES
   ================================================== */

/* Общие отступы и заголовок */
.grevir-journal-page {
    padding-bottom: 60px;
}

.grevir-page-title {
    font-family: "Playfair Display", "Times New Roman", serif; /* Поставь ваш основной шрифт с засечками */
    font-size: 42px;
    color: #2c2c2c;
    text-align: center;
    margin: 30px 0 50px;
    font-weight: normal;
}

/* Кнопка назад */
.grevir-back-link {
    display: inline-block;
    color: #8c8c8c;
    font-size: 14px;
    text-decoration: none;
    margin-top: 20px;
    transition: color 0.3s ease;
}
.grevir-back-link:hover {
    color: #2c2c2c;
    text-decoration: none;
}

/* Сетка Flexbox (чтобы карточки были одинаковой высоты) */
.grevir-articles-grid {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* Сама карточка */
.grevir-article-card {
    display: flex;
    flex-direction: column;
    height: 100%; /* Занимает всю высоту */
    background: transparent;
    text-decoration: none !important;
    margin-bottom: 40px;
    padding: 0 15px; /* Отступы между колонками */
    transition: transform 0.3s ease;
}
.grevir-article-card:hover {
    transform: translateY(-5px); /* Легкое поднятие при наведении */
}

/* Изображение */
.grevir-article-image img {
    width: 100%;
    height: 240px; /* Было 320px, сделали 240px для красивых пропорций */
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}
.grevir-article-card:hover .grevir-article-image img {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Контент карточки */
.grevir-article-content {
    padding: 25px 5px 10px 5px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Растягивает блок контента */
}

/* Мета-тег (Дата) */
.grevir-article-meta {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a59b91; /* Благородный бежево-серый */
    margin-bottom: 12px;
    display: block;
}

/* Заголовок статьи */
.grevir-article-title {
    font-family: "Playfair Display", "Times New Roman", serif; /* Замените на ваш */
    font-size: 24px;
    color: #2c2c2c;
    line-height: 1.3;
    margin: 0 0 15px 0;
    transition: color 0.3s ease;
}
.grevir-article-card:hover .grevir-article-title {
    color: #559be3; /* Ваш фирменный синий цвет из кнопок (или бежевый) */
}

/* Описание статьи (с автоматической обрезкой на 3 строки) */
.grevir-article-description {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;

    /* Магия CSS для красивой обрезки длинного текста (...) */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Ссылка Читать далее (прижата к низу) */
.grevir-read-more {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #2c2c2c;
    font-weight: 600;
    margin-top: auto; /* Прижимает ссылку к самому низу карточки */
}

/* Оформление пагинации (номеров страниц) */
.grevir-pagination .pagination > li > a,
.grevir-pagination .pagination > li > span {
    border-radius: 50% !important;
    margin: 0 5px;
    color: #2c2c2c;
    border: none;
    background: #f7f7f7;
    width: 40px;
    height: 40px;
    line-height: 26px;
}
.grevir-pagination .pagination > .active > span {
    background: #2c2c2c;
    color: #fff;
}


/* ==================================================
   АДАПТИВНОСТЬ (Tablet & Mobile)
   ================================================== */

/* --- Планшеты (Вертикальная ориентация, экраны от 768px до 991px) --- */
@media (max-width: 991px) and (min-width: 768px) {
    .grevir-page-title {
        font-size: 34px; /* Чуть уменьшаем главный заголовок */
        margin: 20px 0 40px;
    }

    .grevir-article-image img {
        height: 240px; /* Уменьшаем высоту фото, чтобы соблюсти пропорции */
    }

    .grevir-article-title {
        font-size: 20px; /* Заголовок статьи поменьше */
    }

    .grevir-article-description {
        font-size: 14px;
    }

    .grevir-article-content {
        padding: 20px 0 10px 0;
    }
}

/* --- Мобильные телефоны (Экраны до 767px) --- */
@media (max-width: 767px) {
    .grevir-journal-page {
        padding-bottom: 30px;
    }

    .grevir-back-link {
        margin-top: 10px;
        margin-bottom: 10px;
        display: block; /* На мобильном кнопке "назад" лучше дать отдельную строку */
    }

    .grevir-page-title {
        font-size: 28px;
        margin: 15px 0 30px;
    }

    /* Сбрасываем Flexbox для обертки, чтобы Bootstrap сам выстроил все в 1 колонку */
    .grevir-articles-grid {
        display: block;
        margin-bottom: 20px;
    }

    /* Добавляем отступ между карточками в один ряд */
    .grevir-articles-grid > div[class*="col-"] {
        margin-bottom: 35px;
    }

    .grevir-article-card {
        padding: 0; /* На мобильном убираем боковые отступы внутри колонки, чтобы фото было шире */
        margin-bottom: 0;
    }

    .grevir-article-image img {
        height: 220px; /* Делаем фото компактным, чтобы на 1 экран смартфона помещалось фото + заголовок */
        border-radius: 10px; /* Чуть меньше радиус скругления для узких экранов */
    }

    .grevir-article-content {
        padding: 15px 5px 5px 5px; /* Более плотная компоновка текста */
    }

    .grevir-article-meta {
        font-size: 10px;
        margin-bottom: 8px;
    }

    .grevir-article-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .grevir-article-description {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 15px;
        /* На мобилках обрезаем текст не на 3, а на 2 строках для экономии места */
        -webkit-line-clamp: 2;
    }

    .grevir-read-more {
        font-size: 12px;
    }

    /* Уменьшаем кнопки перелистывания страниц (пагинацию), чтобы они не вылезли за экран */
    .grevir-pagination .pagination > li > a,
    .grevir-pagination .pagination > li > span {
        width: 35px;
        height: 35px;
        line-height: 21px;
        margin: 0 2px;
        font-size: 13px;
    }
}


/* ==================================================
   ДИЗАЙН КАТЕГОРИЙ (РУБРИКАТОР)
   ================================================== */

/* Скрываем эти странные кружочки внутри кнопок, если они есть */
.container .row a[href*="blog"] i,
.container .row a[href*="blog"] img {
    display: none !important;
}

/* Делаем из кнопок аккуратные текстовые ссылки */
.container > .row:first-of-type > div > a.btn,
.container > div > a.btn-default {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    font-family: "Playfair Display", "Times New Roman", serif; /* Тот же шрифт с засечками */
    font-size: 18px;
    color: #8c8c8c !important; /* Серый цвет */
    padding: 10px 15px;
    margin: 5px;
    border-radius: 0;
    transition: all 0.3s ease;
}

/* Эффект при наведении (текст темнеет и подчеркивается) */
.container > .row:first-of-type > div > a.btn:hover,
.container > div > a.btn-default:hover {
    color: #2c2c2c !important;
    text-decoration: underline !important;
    text-underline-offset: 6px;
    text-decoration-thickness: 1px;
}



/* Фикс прилипания карточек друг к другу */
.grevir-grid-item {
    margin-bottom: 60px; /* Большой отступ между рядами */
}
.grevir-article-content {
    padding-bottom: 10px; /* Доп. пространство внизу карточки */
}

/* ==================================================
   САЙДБАР (ПРАВАЯ КОЛОНКА)
   ================================================== */
.grevir-sidebar {
    padding-left: 20px; /* Отделяем сайдбар от статей */
}

/* Общий стиль виджетов */
.grevir-widget {
    background: #fcfbf9; /* Очень легкий, благородный молочно-бежевый фон */
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 35px;
    border: 1px solid #f0ede6; /* Тонкая рамка */
}

/* Заголовок виджета */
.grevir-widget-title {
    font-family: "Playfair Display", "Times New Roman", serif;
    font-size: 22px;
    color: #2c2c2c;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8e3d9; /* Линия под заголовком */
}

/* --- Виджет: Промо (Темный акцентный) --- */
.grevir-widget-promo {
    background: #2c2c2c; /* Темный фон как на сайте */
    color: #fff;
    border: none;
}
.grevir-widget-promo .grevir-widget-title {
    color: #fff;
    border-bottom-color: #444;
}
.grevir-widget-promo p {
    color: #b5b5b5;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Кнопки в сайдбаре */
.grevir-btn-outline {
    display: block;
    text-align: center;
    border: 1px solid #fff;
    color: #fff;
    padding: 12px 20px;
    border-radius: 30px; /* Круглая кнопка */
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}
.grevir-btn-outline:hover {
    background: #fff;
    color: #2c2c2c;
    text-decoration: none;
}
.grevir-btn-solid {
    display: block;
    width: 100%;
    background: #559be3; /* Ваш синий цвет */
    color: #fff;
    border: none;
    padding: 14px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-size: 14px;
    margin-top: 15px;
}
.grevir-btn-solid:hover {
    background: #408bd6;
}

/* --- Виджет: Текстовый список статей --- */
.grevir-text-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.grevir-text-list li {
    margin-bottom: 20px;
}
.grevir-text-list li:last-child {
    margin-bottom: 0;
}
.grevir-text-list a {
    text-decoration: none;
    display: block;
}
.grevir-list-meta {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    color: #a59b91;
    margin-bottom: 5px;
}
.grevir-list-title {
    font-family: "Playfair Display", "Times New Roman", serif;
    font-size: 16px;
    color: #2c2c2c;
    line-height: 1.3;
    transition: color 0.3s ease;
}
.grevir-text-list a:hover .grevir-list-title {
    color: #559be3;
}

/* --- Виджет: Форма --- */
.grevir-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #d9d4cc;
    padding: 10px 5px;
    margin-bottom: 20px;
    font-size: 15px;
    color: #2c2c2c;
    outline: none;
    transition: border-color 0.3s;
}
.grevir-input:focus {
    border-bottom-color: #2c2c2c;
}
.grevir-form-note {
    font-size: 11px;
    color: #999;
    margin-top: 15px;
    line-height: 1.4;
    text-align: center;
}

/* Адаптивность для планшетов */
@media (max-width: 991px) {
    .grevir-sidebar {
        padding-left: 0;
        margin-top: 40px; /* Отступ сверху, когда сайдбар уезжает вниз */
    }
}



/* ==================================================
   ЖУРНАЛЬНЫЙ РУБРИКАТОР (КАТЕГОРИИ)
   ================================================== */

/* ==================================================
   ЖУРНАЛЬНЫЙ РУБРИКАТОР (В ВИДЕ ТЕГОВ)
   ================================================== */
   .grevir-cats-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px; /* Расстояние между кнопками */
    margin-bottom: 50px;
    position: relative;
    z-index: 10;
}

.grevir-cat-link {
    font-family: inherit; /* Без засечек, четкий */
    font-size: 14px; /* Увеличили шрифт */
    font-weight: 500;
    color: #2c2c2c; /* Темный, контрастный цвет */
    text-decoration: none !important;
    padding: 10px 22px; /* Делаем кнопочку объемной */
    border: 1px solid #dcd8d0; /* Аккуратная рамка */
    border-radius: 40px; /* Скругленные края как "таблетка" */
    transition: all 0.3s ease;
    display: block;
    background: transparent;
}

/* Эффект наведения и активной кнопки */
.grevir-cat-link:hover {
    border-color: #2c2c2c;
}

.grevir-cat-active > .grevir-cat-link {
    background: #2c2c2c; /* Активная кнопка становится темной */
    color: #ffffff;
    border-color: #2c2c2c;
}

/* Линия-подчеркивание для активной рубрики */
.grevir-cat-active > .grevir-cat-link::after {
    content: '';
    position: absolute;
    bottom: -16px; /* Опускаем линию прямо на границу border-bottom у обертки */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #2c2c2c;
}

/* --- Выпадающее меню (Подкатегории) --- */
.grevir-cats-dropdown,
.grevir-cats-subdropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px); /* Центрируем относительно родителя */
    background: #fff;
    min-width: 220px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    text-align: left;
    border: 1px solid #f0ede6;
}

/* Появление меню при наведении */
.grevir-cat-item:hover > .grevir-cats-dropdown,
.grevir-cat-subitem:hover > .grevir-cats-subdropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Для 3-го уровня (суб-субкатегории) меню выпадает вбок */
.grevir-cats-subdropdown {
    top: 0;
    left: 100%;
    transform: translateX(10px);
}
.grevir-cat-subitem:hover > .grevir-cats-subdropdown {
    transform: translateX(0);
}

/* Ссылки внутри выпадающего меню */
.grevir-cat-subitem {
    position: relative;
}
.grevir-cat-sublink {
    display: block;
    padding: 10px 20px;
    color: #666;
    font-size: 14px;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s;
}
.grevir-cat-sublink:hover,
.grevir-cat-active > .grevir-cat-sublink {
    background: #fcfbf9; /* Легкий бежевый фон при наведении */
    color: #2c2c2c;
}

/* --- Адаптивность для мобильных --- */
@media (max-width: 767px) {
    .grevir-cats-wrapper {
        gap: 15px;
        padding-bottom: 10px;
        /* Делаем горизонтальный скролл категорий на мобилках как в приложениях */
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Плавный скролл на iPhone */
        padding-left: 15px; /* Чтобы текст не прилипал к краю экрана */
    }

    /* Скрываем скроллбар для красоты */
    .grevir-cats-wrapper::-webkit-scrollbar {
        display: none;
    }

    .grevir-cat-link {
        white-space: nowrap; /* Запрещаем перенос текста */
    }

    /* На мобилках отключаем сложные выпадающие списки (если они вообще есть),
       чтобы не ломать верстку при горизонтальном скролле */
    .grevir-cats-dropdown {
        display: none;
    }
}


/* Отдвигаем сайдбар подальше от левой колонки, чтобы было больше воздуха */
.grevir-sidebar {
    padding-left: 40px;
}

/* Увеличиваем отступы внутри виджета */
.grevir-widget {
    padding: 35px 30px;
}

/* Список статей без картинок - ДЕЛАЕМ ЧИТАЕМЫМ */
.grevir-text-list li {
    margin-bottom: 25px; /* Больше воздуха между статьями */
    border-bottom: 1px solid #eae6de; /* Разделительная линия */
    padding-bottom: 15px;
}

.grevir-text-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Тег над статьей */
.grevir-list-meta {
    display: block;
    font-size: 12px; /* Был 10, стал 12 */
    font-weight: 600;
    text-transform: uppercase;
    color: #8c8c8c;
    margin-bottom: 8px;
}

/* Название статьи в сайдбаре */
.grevir-list-title {
    font-family: inherit; /* УБРАЛИ ЗАСЕЧКИ! Теперь четкий рубленый шрифт */
    font-size: 16px; /* Крупный и читаемый */
    font-weight: 500;
    color: #2c2c2c;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.grevir-text-list a:hover .grevir-list-title {
    color: #559be3;
}


/* ==================================================
   БРОНЕБОЙНЫЙ STICKY SIDEBAR
   ================================================== */
   @media (min-width: 992px) {
    /* Заставляем левую и правую колонки быть одной высоты */
    .grevir-main-row {
        display: flex;
        flex-wrap: wrap;
    }
    /* Отключаем стандартные псевдоэлементы Bootstrap, которые ломают flexbox */
    .grevir-main-row::before,
    .grevir-main-row::after {
        display: none !important;
    }

    /* Магия прилипания */
    .sticky-sidebar-wrapper {
        position: -webkit-sticky;
        position: sticky;
        top: 40px; /* Отступ от верхнего края экрана (если есть шапка - сделай 100px) */
        height: max-content; /* КРИТИЧЕСКИ ВАЖНО! Чтобы блок не растягивался и мог скользить */
        padding-bottom: 20px;
    }
}




/* ==================================================
   ЖУРНАЛЬНАЯ СТАТЬЯ (LONGREAD)
   ================================================== */

   .grevir-longread {
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif; /* Базовый, хорошо читаемый шрифт */
    font-size: 18px; /* Увеличили размер шрифта для комфортного чтения */
    line-height: 1.7; /* Большой межстрочный интервал - глаза будут отдыхать */
    color: #333333; /* Не чисто черный, чтобы не резало глаза */
}

/* Абзацы текста */
.grevir-longread p {
    margin-bottom: 25px;
}

/* Заголовки H2 внутри статьи */
.grevir-longread h2 {
    font-family: "Playfair Display", "Times New Roman", serif; /* Благородный шрифт с засечками */
    font-size: 32px;
    color: #2c2c2c;
    line-height: 1.3;
    margin-top: 55px; /* Большой отступ сверху - отделяем от предыдущего текста */
    margin-bottom: 25px;
    font-weight: normal;
}

/* Заголовки H3 внутри статьи */
.grevir-longread h3 {
    font-family: "Playfair Display", "Times New Roman", serif;
    font-size: 26px;
    color: #2c2c2c;
    margin-top: 45px;
    margin-bottom: 20px;
    font-weight: normal;
}

/* Выделение жирным */
.grevir-longread strong,
.grevir-longread b {
    font-weight: 600;
    color: #1a1a1a;
}

/* Списки (буллиты) */
.grevir-longread ul {
    margin-bottom: 30px;
    padding-left: 0;
    list-style: none; /* Убираем стандартные страшные точки */
}

.grevir-longread ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

/* Кастомный красивый маркер для списков (золотистый/бежевый квадрат или точка) */
.grevir-longread ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: #a59b91; /* Ваш акцентный бежевый/золотистый цвет */
    border-radius: 50%; /* Сделать 0 если нужен квадратик */
}

/* Оформление ссылок в тексте */
.grevir-longread a {
    color: #559be3; /* Ваш фирменный синий */
    text-decoration: none;
    border-bottom: 1px solid rgba(85, 155, 227, 0.3);
    transition: border-bottom-color 0.3s;
}

.grevir-longread a:hover {
    border-bottom-color: #559be3;
}

/* Картинки внутри статьи, добавленные через админку */
.grevir-longread img {
    max-width: 100% !important; /* На всякий случай перебиваем инлайновые стили */
    height: auto !important;
    border-radius: 12px !important; /* Закругляем углы как везде на сайте */
    margin: 35px 0 !important; /* Большие отступы от фото до текста */
    display: block;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06); /* Легкая тень для объема */
}

/* Адаптивность для статьи */
@media (max-width: 767px) {
    .grevir-longread {
        font-size: 16px; /* На мобилке шрифт чуть меньше */
    }
    .grevir-longread h2 {
        font-size: 26px;
        margin-top: 40px;
    }
    .grevir-page-title {
        font-size: 28px !important;
    }
}



/* ==================================================
   АДАПТИВНОСТЬ СТАТЬИ (TABLET & MOBILE)
   ================================================== */

/* Планшеты (отключаем прилипание сайдбара, т.к. колонки становятся друг под другом) */
@media (max-width: 991px) {
    .grevir-main-row {
        display: block !important; /* Отключаем flexbox, возвращаем стандартное поведение Bootstrap */
    }
    .sticky-sidebar-wrapper {
        position: relative !important; /* Отключаем прилипание */
        top: 0 !important;
        margin-top: 50px;
    }
    .grevir-sidebar {
        padding-left: 0 !important; /* Убираем отступ слева, т.к. сайдбар теперь на всю ширину */
    }
}

/* Мобильные телефоны */
@media (max-width: 767px) {
    .grevir-article-column {
        padding: 0 10px; /* Делаем текст ближе к краям экрана */
    }

    /* Текст статьи */
    .grevir-longread {
        font-size: 16px; /* Шрифт чуть меньше */
        line-height: 1.6;
    }

    .grevir-longread p {
        margin-bottom: 20px;
    }

    /* Заголовки */
    .grevir-page-title {
        font-size: 28px !important;
        margin-top: 0 !important;
        margin-bottom: 20px;
    }

    .grevir-longread h2 {
        font-size: 24px;
        margin-top: 35px;
        margin-bottom: 15px;
    }

    .grevir-longread h3 {
        font-size: 20px;
        margin-top: 30px;
    }

    /* Картинки */
    .grevir-longread img {
        margin: 20px 0 !important;
        border-radius: 8px !important; /* На мобилке скругление чуть меньше */
    }

    /* Форма внизу */
    .sidebar-help-widget {
        padding: 25px 15px !important; /* Форма занимает меньше места */
    }

    /* Добавляем отступ в самом низу страницы, чтобы плавающая кнопка не перекрывала контент */
    body {
        padding-bottom: 70px;
    }
}

/* ==================================================
   НОВЫЕ ПРЕМИАЛЬНЫЕ ФИШКИ
   ================================================== */

/* 1. Полоса прогресса чтения (Progress Bar) */
.grevir-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 4px;
    background: transparent;
}
.grevir-progress-bar {
    height: 4px;
    background: #559be3; /* Ваш акцентный синий цвет */
    width: 0%;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

/* 2. Плавающая кнопка на мобильных (Sticky Mobile CTA) */
.grevir-mobile-sticky-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 10px 15px;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
    z-index: 999;
    /* Появляется плавно */
    animation: slideUp 0.5s ease-out;
}
.grevir-mobile-sticky-btn .grevir-btn-solid {
    display: block;
    width: 100%;
    text-align: center;
    background: #2c2c2c;
    color: #ffffff;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}
.grevir-mobile-sticky-btn i {
    margin-right: 8px;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}



/* ==================================================
   СЕКРЕТЫ ЯНДЕКС ДЗЕНА И ГЛЯНЦЕВЫХ ЖУРНАЛОВ
   ================================================== */

/* 1. Жестко ограничиваем ширину текста для идеального чтения */
.grevir-longread {
    max-width: 740px; /* Идеальная колонка, текст больше не будет растягиваться на 1900px */
    margin: 0; /* Оставляем слева, чтобы сайдбар был рядом */
}

/* 2. Журнальный Лид (Первый абзац статьи) */
/* Первый абзац автоматически становится крупным, выделенным, как краткое содержание */
.grevir-longread > p:first-of-type {
    font-family: "Playfair Display", "Times New Roman", serif;
    font-size: 24px !important;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eae6de; /* Элегантная линия после лида */
}

/* 3. Оформление цитат внутри статьи (если в админке нажать иконку кавычек) */
.grevir-longread blockquote {
    border-left: 3px solid #a59b91; /* Бежевая полоса слева */
    padding: 10px 0 10px 25px;
    margin: 40px 0;
    font-style: italic;
    font-size: 22px;
    color: #2c2c2c;
    background: transparent;
}

/* 4. Оформление виджета "Интересно почитать" в сайдбаре */
.grevir-sidebar-related-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    text-decoration: none !important;
    transition: transform 0.3s ease;
}
.grevir-sidebar-related-item:hover {
    transform: translateX(5px); /* Легкое смещение при наведении */
}
.grevir-sidebar-related-item:last-child {
    margin-bottom: 0;
}
.grevir-s-img img {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.grevir-s-date {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: #a59b91;
    margin-bottom: 4px;
}
.grevir-s-title {
    font-family: inherit; /* Без засечек */
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: #2c2c2c;
    margin: 0;
    transition: color 0.3s ease;
}
.grevir-sidebar-related-item:hover .grevir-s-title {
    color: #559be3; /* Синий цвет при наведении */
}




/* ==================================================
   КОМПАКТНЫЙ ВИДЖЕТ ФОРМЫ И УМНЫЙ САЙДБАР
   ================================================== */

/* Сам блок компактной формы */
.grevir-mini-widget {
    background: #fcfbf9;
    border: 1px solid #f0ede6;
    border-radius: 12px;
    padding: 20px !important;
    margin-bottom: 30px;
}

/* МАГИЯ ПРИЛИПАНИЯ (SMART STICKY) */
@media (min-width: 992px) {
    .grevir-sidebar-column {
        height: 100%;
    }

    .sticky-sidebar-wrapper {
        position: -webkit-sticky;
        position: sticky;
        top: 20px;
        top: min(20px, calc(100vh - 100% - 20px));
        padding-bottom: 20px;
    }
}

/* Скрываем скроллбар, если он вдруг появится */
.sticky-sidebar-wrapper::-webkit-scrollbar {
    display: none;
}

/* Шапка (Иконка + Заголовок) */
.grevir-mini-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.grevir-mini-header i {
    font-size: 20px;
    color: #a08d7d;
}

.grevir-mini-header h4 {
    margin: 0;
    font-family: "Playfair Display", "Times New Roman", serif;
    font-size: 22px;
    color: #2c2c2c;
}

/* Описание */
.grevir-mini-desc {
    font-size: 13px;
    line-height: 1.4;
    color: #666;
    text-align: center;
    margin-bottom: 15px;
}

/* Кнопка Телеграм */
.grevir-mini-tg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #a08d7d; /* Цвет как на вашем скриншоте */
    color: #ffffff;
    border-radius: 30px;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    transition: background 0.3s ease;
}
.grevir-mini-tg:hover {
    background: #8b796a;
    color: #ffffff;
}

/* Разделитель "или" */
.grevir-mini-divider {
    position: relative;
    text-align: center;
    margin: 15px 0; /* Уменьшили отступы */
}
.grevir-mini-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e8e3d9;
    z-index: 1;
}
.grevir-mini-divider span {
    position: relative;
    z-index: 2;
    background: #fcfbf9;
    padding: 0 10px;
    font-size: 11px;
    text-transform: uppercase;
    color: #a59b91;
}

/* Поле ввода */
.grevir-mini-input {
    width: 100%;
    background: #ffffff;
    border: 1px solid #d9d4cc;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 14px;
    color: #2c2c2c;
    outline: none;
    margin-bottom: 12px; /* Меньше отступ */
    transition: border 0.3s ease;
}
.grevir-mini-input:focus {
    border-color: #559be3;
}

/* Кнопка "Жду звонка" */
.grevir-mini-submit {
    width: 100%;
    background: #6e9add; /* Синий с вашего скрина */
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
    transition: background 0.3s ease;
}
.grevir-mini-submit:hover {
    background: #5b87c9;
}

/* Галочка согласия */
.grevir-mini-policy {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 10px; /* Сделали мелким и аккуратным */
    line-height: 1.3;
    color: #8c8c8c;
    margin: 0;
    font-weight: normal;
}
.grevir-mini-policy input {
    margin-top: 1px;
}
.grevir-mini-policy a {
    color: #2c2c2c;
    text-decoration: underline;
}

/* Блок "Спасибо" */
.grevir-mini-success {
    text-align: center;
    padding: 20px 0 10px;
}
.grevir-mini-success i {
    font-size: 40px;
    color: #4CAF50;
    margin-bottom: 10px;
}
.grevir-mini-success h5 {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    margin: 0 0 5px;
}
.grevir-mini-success p {
    font-size: 14px;
    color: #666;
    margin: 0;
}



/* ==================================================
   ЖУРНАЛЬНАЯ СТАТЬЯ: ТИХАЯ РОСКОШЬ (DZEN / KINFOLK STYLE)
   ================================================== */

/* 1. Обложка статьи (Hero) */
/* Обложка статьи (Hero) - УМЕНЬШЕНА И УЛУЧШЕНА */
.journal-hero-wrapper {
    position: relative;
    width: 100%;
    height: 35vh; /* Было 60vh, стало 35vh (треть экрана) */
    min-height: 300px; /* Было 450px */
    max-height: 450px;
    /* Если картинки нет, будет красивый темный журнальный фон, а не глухой черный */
    background: radial-gradient(circle at center, #2A2724 0%, #161311 100%);
    overflow: hidden;
}
.journal-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6; /* Затемняем картинку для читаемости текста */
    transition: transform 5s ease;
}
.journal-hero-wrapper:hover .journal-hero-img {
    transform: scale(1.05); /* Очень медленный премиальный зум */
}
.journal-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 50px;
}
.journal-breadcrumbs ol {
    list-style: none; padding: 0; margin: 0 0 20px; display: flex; font-size: 12px;
}
.journal-breadcrumbs a { color: rgba(255,255,255,0.6); text-decoration: none; text-transform: uppercase; letter-spacing: 1px;}
.journal-breadcrumbs li::after { content: '/'; margin: 0 10px; color: rgba(255,255,255,0.3); }
.journal-breadcrumbs li:last-child::after { display: none; }

.journal-meta {
    display: inline-block;
    background: var(--color-accent, #A68A6B);
    color: #fff;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 600;
}
.journal-main-title {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 54px);
    color: #ffffff;
    line-height: 1.1;
    margin: 0;
    max-width: 900px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* 2. Текст статьи (Узкая колонка для чтения) */
.grevir-article-column {
    padding-right: 40px;
}
.journal-body {
    max-width: 740px; /* Золотой стандарт типографики */
    margin: 0 auto 50px 0; /* Оставляем слева, чтобы сайдбар был рядом */
    font-family: 'Inter', 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

/* БУКВИЦА (Журнальная первая буква) */
.journal-body > p:first-of-type::first-letter {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5.5rem;
    float: left;
    line-height: 0.8;
    padding-right: 15px;
    padding-top: 10px;
    color: var(--color-accent, #A68A6B);
}
/* Лид-абзац (первый абзац) */
.journal-body > p:first-of-type {
    font-size: 21px;
    color: #444;
    margin-bottom: 40px;
}

.journal-body h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 34px;
    margin: 50px 0 25px;
    color: #1a1816;
}
.journal-body img {
    width: 100%; height: auto;
    border-radius: 12px; margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.journal-body blockquote {
    border-left: 3px solid var(--color-accent, #A68A6B);
    padding: 15px 0 15px 30px;
    margin: 40px 0;
    font-size: 22px;
    font-style: italic;
    color: #2c2c2c;
    background: transparent;
}

/* 3. Блок Автора */
.journal-author-box {
    display: flex; gap: 20px; align-items: center;
    background: #FAF8F5; border: 1px solid #EFEBE4;
    padding: 30px; border-radius: 16px; margin: 60px 0;
}
.ja-avatar {
    width: 60px; height: 60px; border-radius: 50%;
    background: #2c2c2c; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; flex-shrink: 0;
}
.ja-info h5 { margin: 0 0 10px; font-family: 'Cormorant Garamond', serif; font-size: 22px; }
.ja-info p { margin: 0; font-size: 14px; color: #666; line-height: 1.5; }

/* 4. Выбор редакции (Товары внутри текста) */
.journal-editors-choice {
    margin: 50px 0; padding-top: 40px; border-top: 1px dashed #EFEBE4;
}
.jec-title { font-family: 'Cormorant Garamond', serif; font-size: 28px; margin-bottom: 5px; }
.jec-subtitle { font-size: 14px; color: #888; margin-bottom: 25px; }
.jec-card {
    display: flex; gap: 15px; background: #fff; border: 1px solid #EFEBE4;
    border-radius: 12px; padding: 15px; text-decoration: none !important;
    transition: 0.3s;
}
.jec-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
.jec-img { width: 80px; height: 80px; border-radius: 8px; overflow: hidden; flex-shrink: 0;}
.jec-img img { width: 100%; height: 100%; object-fit: cover; }
.jec-info h5 { font-size: 14px; margin: 0 0 10px; color: #333; line-height: 1.3; }
.jec-price { font-weight: 600; color: var(--color-accent, #A68A6B); }

/* 5. Лоадер AJAX и Нативные вставки (Interstitials) */
#journal-loader { text-align: center; padding: 60px 0; }
.jl-spinner { width: 40px; height: 40px; border: 3px solid rgba(166,138,107,0.2); border-top-color: var(--color-accent, #A68A6B); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 15px; }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Журнальная вставка между статьями */
.journal-interstitial {
    background: #1A1816; color: #fff; padding: 60px 40px;
    border-radius: 16px; text-align: center; margin: 80px 0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}
.journal-interstitial h3 { font-family: 'Cormorant Garamond', serif; font-size: 32px; color: #fff; margin-bottom: 15px; }
.journal-interstitial p { font-size: 16px; color: #a59b91; margin-bottom: 25px; }
.ji-btn { display: inline-block; background: var(--color-accent, #A68A6B); color: #fff !important; padding: 14px 30px; border-radius: 30px; text-decoration: none; font-weight: 500; transition: 0.3s; }
.ji-btn:hover { background: #8e755a; }

/* Адаптив */
@media (max-width: 991px) {
    .grevir-article-column { padding-right: 15px; }
}
@media (max-width: 767px) {
    .journal-hero-wrapper { height: 50vh; min-height: 350px; }
    .journal-main-title { font-size: 28px; }
    .journal-body { font-size: 16px; }
    .journal-body > p:first-of-type { font-size: 18px; }
    .jec-card { flex-direction: column; align-items: center; text-align: center; }
    .journal-author-box { flex-direction: column; text-align: center; }
}


/* 1. ФИКС СЕТКИ: Центрируем контент */
.grevir-journal-article .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: block; /* Убиваем случайные флексы контейнера */
}

/* Центрируем саму колонку с текстом, если сайдбара нет, или даем ей правильный отступ */
.journal-body {
    max-width: 740px;
    margin: 0 auto 50px auto !important; /* Исправлено: margin auto с обеих сторон */
}

/* 2. ЖЕЛЕЗОБЕТОННЫЙ ФИКС ДЛЯ ПРИЛИПАНИЯ (STICKY) */
@media (min-width: 992px) {
    .grevir-main-row {
        display: flex !important;
        flex-wrap: wrap;
        align-items: flex-start !important; /* КРИТИЧНО: Без этого липкий блок не работает */
    }

    /* Убиваем стандартные костыли Bootstrap, которые ломают Flexbox */
    .grevir-main-row::before,
    .grevir-main-row::after {
        display: none !important;
    }

    /* Отменяем float для колонок внутри этого ряда */
    .grevir-main-row > [class*="col-"] {
        float: none !important;
    }

    .sticky-sidebar-wrapper {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 40px !important;
        height: max-content !important; /* Чтобы блок не растягивался на всю высоту */
        z-index: 100;
        padding-bottom: 30px;
    }
}
/* Делаем радар осязаемым для браузера */
.journal-end-trigger {
    width: 100%;
    height: 5px; /* Блок должен иметь высоту! */
    margin-top: 50px;
    margin-bottom: 50px;
    /* background: red; <-- Если хочешь увидеть, где он находится, раскомментируй */
}



/* ==================================================
   ЖУРНАЛЬНЫЕ ВСТАВКИ (МЕЖДУ СТАТЬЯМИ)
   ================================================== */
   .ji-wrapper {
    margin: 80px 0;
    clear: both;
    position: relative;
}

/* 1. Элегантный разделитель статей (Линия с ромбиком) */
.ji-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    opacity: 0.7;
}
.ji-divider::before, .ji-divider::after {
    content: '';
    height: 1px;
    background: #EFEBE4;
    flex: 1;
}
.ji-diamond {
    width: 6px;
    height: 6px;
    background: #D9D0C5;
    margin: 0 20px;
    transform: rotate(45deg); /* Превращаем квадрат в ромбик */
}

/* 2. Темный премиум-баннер (Telegram) */
.ji-dark-card {
    background: radial-gradient(circle at top right, #2A2724 0%, #161311 100%);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
/* Тонкая внутренняя рамка как на дорогих пригласительных */
.ji-dark-card::before {
    content: '';
    position: absolute;
    top: 15px; left: 15px; right: 15px; bottom: 15px;
    border: 1px solid rgba(166, 138, 107, 0.2);
    border-radius: 10px;
    pointer-events: none;
}
.ji-dark-icon {
    font-size: 36px;
    color: #A68A6B;
    margin-bottom: 20px;
}
.ji-dark-title {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: 36px;
    color: #fff;
    margin: 0 0 15px;
    line-height: 1.2;
    font-weight: normal;
}
.ji-dark-desc {
    font-family: 'Inter', sans-serif;
    color: #A39B90;
    font-size: 16px;
    max-width: 550px;
    margin: 0 auto 35px;
    line-height: 1.6;
}
.ji-btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #A68A6B;
    color: #fff !important;
    padding: 16px 35px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none !important;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}
.ji-btn-gold:hover {
    background: #8e7357;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(166, 138, 107, 0.3);
}

/* 3. Светлый баннер (Цитата архитектора) */
.ji-quote-card {
    background: #FAF8F5;
    border-left: 4px solid #A68A6B;
    padding: 50px 60px;
    border-radius: 0 16px 16px 0;
    position: relative;
    overflow: hidden;
}
/* Гигантская прозрачная кавычка на фоне */
.ji-quote-mark {
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 140px;
    color: rgba(166, 138, 107, 0.08);
    line-height: 1;
    pointer-events: none;
}
.ji-quote-text {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-style: italic;
    font-size: 28px;
    color: #2A2724;
    line-height: 1.4;
    margin: 0 0 30px;
    position: relative;
    z-index: 2;
    font-weight: normal;
}
.ji-quote-author {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 2;
}
.ji-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #2A2724;
    color: #A68A6B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.ji-author-info h5 {
    margin: 0 0 4px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #2A2724;
}
.ji-author-info p {
    margin: 0;
    font-size: 11px;
    color: #8A857F;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Адаптив для вставок */
@media (max-width: 767px) {
    .ji-wrapper { margin: 60px 0; }
    .ji-dark-card { padding: 40px 20px; }
    .ji-dark-card::before { top: 10px; left: 10px; right: 10px; bottom: 10px; }
    .ji-dark-title { font-size: 28px; }
    .ji-dark-desc { font-size: 14px; }
    .ji-btn-gold { width: 100%; justify-content: center; box-sizing: border-box; }

    .ji-quote-card { padding: 40px 25px; border-left-width: 3px; }
    .ji-quote-mark { font-size: 100px; top: 10px; left: 10px; }
    .ji-quote-text { font-size: 22px; }
}



.grv-editorial-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

/* =========================================
   ФЛАГМАНСКИЙ ТОВАР (Аккуратная пропорция 30/70)
   ========================================= */
   .grv-art-featured {
    display: flex;
    align-items: center; /* Центрируем по вертикали, убираем растягивание */
    background: #FAF8F5;
    border-radius: 12px;
    margin-bottom: 40px;
    transition: box-shadow 0.4s ease;
    border: 1px solid #EFEBE4;
    padding: 40px; /* Добавляем внутренний "воздух" для всей карточки */
    gap: 50px; /* Расстояние между фото и текстом */
}
.grv-art-featured:hover {
    box-shadow: 0 15px 35px rgba(42,39,36,0.08);
}
.grv-art-f-img {
    flex: 0 0 30%; /* Картинка занимает только 30% ширины */
    max-width: 320px; /* Жесткий ограничитель, чтобы на огромных мониторах она не пухла */
    aspect-ratio: 1 / 1; /* Идеальный квадрат */
    position: relative;
    overflow: hidden;
    border-radius: 8px; /* Скругляем углы самой картинке */
    box-shadow: 0 10px 25px rgba(0,0,0,0.06); /* Легкая тень под фото, отрывает его от фона */
    background: #fff;
}
.grv-art-f-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.grv-art-featured:hover .grv-art-f-img img {
    transform: scale(1.04);
}
.grv-art-f-info {
    flex: 1 1 auto; /* Текст занимает все оставшееся место (70%) */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.grv-art-f-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #8A857F;
    margin-bottom: 10px;
}
.grv-art-f-title a {
    font-family: var(--font-head, serif);
    font-size: 2rem;
    color: #2A2724;
    text-decoration: none;
    line-height: 1.2;
}
.grv-art-f-desc {
    margin: 15px 0;
    color: #5A554E;
    font-size: 0.95rem;
    line-height: 1.6;
}
.grv-price-label {
    font-size: 0.85rem;
    color: #8A857F;
    display: block;
    margin-bottom: 2px;
}
.grv-art-f-price {
    font-size: 1.6rem;
    font-weight: 500;
    color: #2A2724;
    margin-bottom: 25px;
}
.btn-dark-elegant {
    display: inline-block;
    background: #2A2724;
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    text-align: center;
    transition: background 0.3s;
    align-self: flex-start;
    text-decoration: none;
}
.btn-dark-elegant:hover { background: #4A4641; }

/* =========================================
   ОБЫЧНЫЕ КАРТОЧКИ
   ========================================= */
.grv-art-card {
    margin-bottom: 40px;
    background: transparent;
    border: none;
    position: relative;
}
.grv-art-img-wrap {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #F9F9F9;
    aspect-ratio: 1 / 1;
}
.grv-art-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}
.grv-art-card:hover .grv-art-img-wrap img {
    transform: scale(1.06);
}
.grv-art-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    text-align: center;
    transition: bottom 0.4s ease;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #2A2724;
    font-weight: 500;
}
.grv-art-card:hover .grv-art-overlay { bottom: 0; }
.grv-art-body {
    padding: 20px 0 10px 0;
    text-align: center;
}
.grv-art-title {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    font-family: var(--font-head, serif);
}
.grv-art-title a {
    color: #2A2724;
    text-decoration: none;
    transition: color 0.3s;
}
.grv-art-title a:hover { color: #8A857F; }
.grv-art-price {
    font-size: 1.15rem;
    color: #5A554E;
    font-weight: 500;
}
.grv-sale { color: #C0392B !important; }

/* =========================================
   АДАПТИВНОСТЬ (Планшеты и Мобильные)
   ========================================= */

/* Планшеты (горизонтальные и вертикальные) */
/* Планшеты */
@media (max-width: 991px) {
    .grv-art-featured {
        padding: 30px;
        gap: 30px;
    }
    .grv-art-f-img {
        flex: 0 0 35%; /* На планшете дадим фото чуть больше места */
    }
    .grv-art-f-title a {
        font-size: 1.6rem;
    }
    .grv-art-f-desc {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* Мобильные телефоны */
@media (max-width: 767px) {
    .grv-art-featured {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        align-items: stretch;
    }
    .grv-art-f-img {
        flex: 0 0 auto;
        width: 100%;
        max-width: none; /* Снимаем ограничение ширины для мобилок */
        aspect-ratio: 1 / 1;
    }
    .btn-dark-elegant {
        width: 100%;
    }
}




/*блог на главной*/
/* --- Сетка журнала --- */
.journal-home-section {
    padding: 60px 0;
    max-width: 1200px; /* Ширина вашего контейнера */
    margin: 0 auto;
}

.journal-header {
    margin-bottom: 40px;
}

/* Заголовок с засечками как на сайте */
.journal-title {
    font-family: 'Playfair Display', 'Lora', serif; /* Замените на ваш шрифт с засечками */
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
}

.journal-subtitle {
    color: #777;
    font-size: 16px;
}

/* Настройка CSS Grid */
.journal-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Две колонки */
    gap: 30px;
    margin-bottom: 40px;
}

.journal-date {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

/* --- Крупная статья (Левая сторона) --- */
.journal-item-hero {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    min-height: 450px;
    display: flex;
    align-items: flex-end; /* Текст внизу */
    cursor: pointer;
    transition: transform 0.3s ease;
}

.journal-item-hero:hover {
    transform: translateY(-5px);
}

/* Тот самый красивый градиент снизу */
.journal-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.journal-hero-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    color: #fff;
}

.journal-hero-content .journal-date {
    color: #ddd;
}

.journal-hero-content h4 a {
    color: #fff;
    font-family: 'Playfair Display', 'Lora', serif;
    font-size: 28px;
    line-height: 1.3;
    text-decoration: none;
}

.journal-hero-content p {
    margin-top: 10px;
    color: #eee;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Ограничиваем текст 2 строками */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Мелкие статьи (Правая сторона) --- */
/* Делаем из правой части свою сетку 2х2 */
.journal-item-hero ~ .journal-item-standard {
    /* Эта магия не нужна, если мы обернем их в div, но для простоты кода PHP оставим так.
       Вместо этого мы зададим правой колонке в grid вести себя как flex/grid */
}

/* Чтобы правые карточки встали 2х2, изменим структуру сетки */
@media (min-width: 992px) {
    .journal-grid-wrapper {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto auto;
    }
    .journal-item-hero {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }
    /* Для 5 статей (1 большая + 4 маленькие) лучше сделать так:
       Левая половина - большая, правая половина - сетка из 4 маленьких */
    .journal-grid-wrapper {
        grid-template-columns: 1fr 1fr;
    }
    .journal-item-hero {
         grid-column: 1;
    }
}

.journal-item-standard {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.journal-item-standard:hover {
    transform: translateY(-5px);
}

.journal-item-standard .journal-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}

.journal-item-standard .journal-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.journal-item-standard:hover .journal-image img {
    transform: scale(1.05);
}

.journal-item-standard h4 a {
    color: #222;
    font-family: 'Playfair Display', 'Lora', serif;
    font-size: 18px;
    line-height: 1.4;
    text-decoration: none;
    font-weight: 600;
}

/* --- Кнопка --- */
.btn-journal-main {
    display: inline-block;
    padding: 15px 40px;
    background-color: transparent;
    color: #7A9BCA; /* Синий цвет как у вас на кнопках */
    border: 1px solid #7A9BCA;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-journal-main:hover {
    background-color: #7A9BCA;
    color: #fff;
    text-decoration: none;
}

/* Адаптивность для мобильных */
@media (max-width: 991px) {
    .journal-grid-wrapper {
        grid-template-columns: 1fr;
    }
    .journal-item-hero {
        min-height: 350px;
    }
}
/* === БАЗОВЫЕ СТИЛИ ЖУРНАЛА === */
.journal-home-section {
    padding: 60px 15px;
    max-width: 1200px;
    margin: 0 auto;
}
.journal-header {
    margin-bottom: 40px;
}
.journal-title {
    font-family: 'Playfair Display', 'Lora', serif; /* Шрифт с засечками */
    font-size: 36px;
    color: #222;
    margin-bottom: 10px;
}
.journal-subtitle {
    color: #777;
    font-size: 16px;
}
.journal-date {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

/* === СЕТКА (CSS GRID) === */
.journal-grid-wrapper {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

/* Общие стили карточек */
.journal-item {
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff; /* или #fafafa в зависимости от фона сайта */
}
.journal-item:hover {
    transform: translateY(-5px);
}
.journal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.journal-item:hover img {
    transform: scale(1.03);
}
.journal-content h4 a {
    color: #222;
    font-family: 'Playfair Display', 'Lora', serif;
    font-size: 18px;
    line-height: 1.3;
    text-decoration: none;
    font-weight: 600;
}
.journal-content p {
    font-size: 14px;
    color: #555;
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 1. ГЛАВНАЯ СТАТЬЯ (ГЕРОЙ) */
.journal-item-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}
.journal-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
    z-index: 1;
}
.journal-content-hero {
    position: relative;
    z-index: 2;
    padding: 30px;
    color: #fff;
    width: 100%;
}
.journal-content-hero .journal-date {
    color: #ddd;
}
.journal-content-hero h4 a {
    color: #fff;
    font-size: 28px;
}
.journal-content-hero p {
    color: #eee;
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 2. МАЛЕНЬКИЕ И ШИРОКИЕ СТАТЬИ */
.journal-item-small .journal-image {
    aspect-ratio: 4/3;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
}
.journal-item-wide .journal-image {
    aspect-ratio: 16/9;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
}

/* === КНОПКА === */
.btn-journal-main {
    display: inline-block;
    padding: 14px 40px;
    background-color: #6A9BD4; /* Твой фирменный синий цвет со скрина */
    color: #fff;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #6A9BD4;
}
.btn-journal-main:hover {
    background-color: transparent;
    color: #6A9BD4;
    text-decoration: none;
}

/* =========================================
   АДАПТИВНОСТЬ (DESKTOP / TABLET / MOBILE)
   ========================================= */

/* --- ДЕСКТОП (ПК) --- */
@media (min-width: 992px) {
    .journal-grid-wrapper {
        grid-template-columns: repeat(4, 1fr); /* 4 колонки */
    }
    .journal-item-hero {
        grid-column: span 2; /* Занимает 2 колонки */
        grid-row: span 2;    /* Занимает 2 строки */
        min-height: 550px;
    }
    .journal-item-small {
        grid-column: span 1;
    }
    .journal-item-wide {
        grid-column: span 2; /* Занимают по половине ширины внизу */
    }
}

/* --- ПЛАНШЕТ --- */
@media (min-width: 768px) and (max-width: 991px) {
    .journal-grid-wrapper {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки */
    }
    .journal-item-hero {
        grid-column: span 2; /* На всю ширину */
        min-height: 400px;
    }
    .journal-item-small {
        grid-column: span 1; /* Встают квадратом 2х2 под героем */
    }
    .journal-item-wide {
        grid-column: span 1; /* На планшете ведут себя как маленькие (в 1 ряд) */
    }
}

/* --- МОБИЛЬНЫЕ УСТРОЙСТВА (Эффект новостной ленты) --- */
@media (max-width: 767px) {
    .journal-home-section { padding: 40px 15px; }
    .journal-title { font-size: 28px; }
    .journal-grid-wrapper {
        grid-template-columns: 1fr; /* 1 колонка */
        gap: 20px;
    }

    .journal-item-hero {
        min-height: 350px;
        border-radius: 16px;
    }
    .journal-content-hero h4 a {
        font-size: 22px;
    }

    /* Маленькие статьи превращаем в компактный список (Картинка слева, текст справа) */
    .journal-item-small {
        display: flex;
        align-items: center;
        gap: 15px;
        box-shadow: none;
        background: transparent;
    }
    .journal-item-small .journal-image {
        width: 100px; /* Фиксированная ширина картинки */
        height: 100px;
        flex-shrink: 0;
        margin-bottom: 0;
        border-radius: 8px;
    }
    .journal-item-small .journal-image img {
        aspect-ratio: 1/1; /* Квадратная картинка для мобилки */
    }
    .journal-item-small .journal-content h4 a {
        font-size: 15px;
    }

    /* Широкие статьи в самом низу делаем крупными блоками */
    .journal-item-wide .journal-image {
        aspect-ratio: 4/3;
    }

    /* Скрываем длинные описания на мобильном для чистоты */
    .hidden-mobile {
        display: none !important;
    }
}



/*категории блога */
/* =========================================
   ЖУРНАЛЬНАЯ СЕТКА (VOGUE STYLE)
   ========================================= */

   .grevir-vogue-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr); /* Делим пространство на 12 колонок */
    gap: 30px;
    margin-bottom: 30px;
}

/* Принудительно задаем идеальные пропорции 4:3 для всех фото,
   чтобы они НИКОГДА не растягивались в панораму */
.grevir-vogue-grid img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}

/* Фикс высоты карточек */
.grevir-vogue-grid .grevir-article-card {
    height: 100%;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}
.grevir-vogue-grid .grevir-article-content {
    flex-grow: 1;
}

/* --- 1. ГЛАВНАЯ СТАТЬЯ (СЛЕВА) --- */
.g-hero {
    grid-column: span 8; /* Занимает 8 колонок из 12 (около 66% ширины) */
}
.g-hero-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    text-decoration: none !important;
    transition: transform 0.3s ease;
}
.g-hero-card:hover {
    transform: translateY(-5px);
}
.g-hero-img-wrap {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}
.g-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0) 100%);
}
.g-hero-content {
    position: relative;
    z-index: 2;
    padding: 40px;
}

/* --- 2. СТАТЬЯ СПРАВА ОТ ГЛАВНОЙ --- */
.g-side {
    grid-column: span 4; /* Занимает 4 колонки из 12 (около 33% ширины) */
}

/* --- 3, 4, 5. ТРИ МАЛЕНЬКИЕ В РЯД --- */
.g-small {
    grid-column: span 4; /* Каждая по 4 колонки = ровно 3 штуки в ряд */
}

/* --- 6, 7. ДВЕ КРУПНЫЕ ВНИЗУ --- */
.g-half {
    grid-column: span 6; /* Каждая по 6 колонок = 2 штуки пополам */
}

/* =========================================
   АДАПТИВНОСТЬ (ПЛАНШЕТ И МОБИЛЬНЫЙ)
   ========================================= */

/* --- ПЛАНШЕТ (До 991px) --- */
@media (max-width: 991px) {
    .grevir-vogue-grid {
        grid-template-columns: repeat(2, 1fr); /* Переводим в 2 колонки */
    }
    /* На планшете все становятся пополам, кроме первой */
    .g-hero, .g-side, .g-small, .g-half {
        grid-column: span 1;
    }
    .g-hero {
        grid-column: span 2; /* Первая на всю ширину, но пропорция 4:3 спасет от искажения */
    }
    .g-hero-content {
        padding: 25px;
    }
}

/* --- МОБИЛЬНЫЕ УСТРОЙСТВА (До 767px) --- */
@media (max-width: 767px) {
    .grevir-vogue-grid {
        grid-template-columns: 1fr; /* В 1 колонку */
        gap: 20px;
    }
    .g-hero, .g-side, .g-small, .g-half {
        grid-column: span 1;
    }
    .g-hero-content .grevir-article-title {
        font-size: 20px !important;
    }

    .hidden-mobile {
        display: none !important;
    }

    /* На мобильном маленькие статьи (3,4,5) делаем списком (фото слева, текст справа) */
    .g-small .grevir-article-card {
        flex-direction: row;
        align-items: center;
        gap: 15px;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }
    .g-small .grevir-article-image {
        width: 100px;
        flex-shrink: 0;
        margin-bottom: 0;
        border-radius: 8px;
    }
    /* Для мобилки делаем картинку квадратной, чтобы лучше смотрелась */
    .g-small .grevir-article-image img {
        aspect-ratio: 1 / 1;
    }
    .g-small .grevir-article-content {
        padding: 0;
    }
}
/* Мини-правка: Сужаем журнальную сетку на больших экранах (ПК) */
@media (min-width: 1200px) {
    .grevir-vogue-grid {
        max-width: 980px; /* Идеальная журнальная ширина. Если нужно шире — поставь 1050px */
        margin-left: auto;
        margin-right: auto;
    }

    /* Дополнительно чуть сузим текстовые описания для лучшей читаемости */
    .grevir-article-description {
        max-width: 90%;
    }
}
/* =========================================
   ЖУРНАЛЬНАЯ ШАПКА КАТЕГОРИИ (HEADER)
   ========================================= */

/* 1. Главный заголовок */
.grevir-page-title {
    font-family: 'Playfair Display', 'Lora', serif; /* Тот самый шрифт с засечками */
    font-size: 46px;
    color: #222;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* 2. Общий контейнер (выравниваем по центру и ограничиваем ширину) */
.grevir-category-info {
    max-width: 980px; /* Выравниваем по ширине нашей новой сетки статей */
    margin: 0 auto 50px auto;
    display: flex;
    flex-direction: column; /* Ставим элементы друг под друга */
    align-items: center;
}

/* 3. Описание категории (Текст переносим НАВЕРХ) */
.grevir-category-desc {
    order: 1; /* Магия Flexbox: визуально поднимаем текст над картинкой */
    max-width: 760px; /* Сужаем текст. Строка не должна быть длинной! */
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    text-align: center;
    margin-bottom: 35px; /* Отступ от текста до картинки */
}

/* 4. Картинка категории (Опускаем ВНИЗ и делаем кинематографичной) */
.grevir-category-img {
    order: 2; /* Магия Flexbox: картинка встает строго под текстом */
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06); /* Легкая, дорогая тень */
}

.grevir-category-img img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    aspect-ratio: 21 / 9; /* Задает идеальный формат широкого "кино-баннера" */
    display: block;
}


/* =========================================
   АДАПТИВНОСТЬ ШАПКИ ДЛЯ МОБИЛЬНЫХ
   ========================================= */
@media (max-width: 767px) {
    .grevir-page-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .grevir-category-desc {
        font-size: 16px;
        text-align: left; /* На телефонах большие тексты лучше читать по левому краю */
        margin-bottom: 25px;
        padding: 0 10px;
    }
    .grevir-category-img img {
        aspect-ratio: 16 / 9; /* На телефоне делаем картинку чуть выше */
    }
}
