/* Сброс (reset) и общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Philosopher', sans-serif;
    color: #333;
    background: url('../fon2.png') no-repeat center 0;
    background-size: cover;
    line-height: 1.6;
    min-height: 100vh;
  }
  
  /* Шапка и навигация с glassmorphism */
  header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
  }
  
  .logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: #2d5016;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .logo-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    padding: 3px;
    object-fit: contain;
    box-shadow: 0 3px 10px rgba(45, 80, 22, 0.25);
    border: 1px solid rgba(45, 80, 22, 0.15);
  }
  
  .nav-links {
    list-style: none;
    display: flex;
  }
  
  .nav-links li {
    margin-left: 20px;
  }
  
  .nav-links a {
    text-decoration: none;
    color: #2d5016;
    font-weight: 500;
    transition: all 0.3s ease;
  }
  
  .nav-links a:hover {
    color: #4a8522;
    text-shadow: 0 0 10px rgba(74, 133, 34, 0.3);
  }
  
  .nav-links a.active {
    color: #4a8522;
  }
  
  /* Hero с параллакс-эффектом */
  .hero {
    background: transparent;
    color: #333;
    padding: 100px 20px;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  
  .hero-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }
  
  /* Анимированный блик для hero */
  .hero-content::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.15), transparent 70%);
    animation: liquidMove 8s infinite linear;
    pointer-events: none;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1a3d0c;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
  }
  
  .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #2d3a28;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 1;
  }
  
  .cta-button {
    background: linear-gradient(135deg, #4a8522, #2d5016);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 25px;
    border: none;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 5px;
    position: relative;
    z-index: 1;
  }
  
  .cta-button:hover {
    background: linear-gradient(135deg, #5a9532, #3d6026);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(74, 133, 34, 0.4);
  }
  
  /* Раздел features с glassmorphism */
  .features {
    display: flex;
    justify-content: space-around;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .feature {
    flex: 1;
    min-width: 280px;
    margin: 10px;
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 30px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(74, 133, 34, 0.2);
  }
  
  /* Анимированный блик для карточек */
  .feature::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1), transparent 70%);
    animation: liquidMove 6s infinite linear;
    pointer-events: none;
  }
  
  .feature h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1a3d0c;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
  }
  
  .feature p {
    color: #2d3a28;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 1;
  }
  
  /* CTA-секция с glassmorphism */
  .cta {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-align: center;
    padding: 60px 20px;
    margin: 40px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
  }
  
  .cta::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1), transparent 70%);
    animation: liquidMove 10s infinite linear reverse;
    pointer-events: none;
  }
  
  .cta h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #1a3d0c;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
  }
  
  .cta p {
    color: #2d3a28;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
  }
  
  /* Основной контейнер для внутренних страниц */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
  }
  
  .container h1 {
    color: #1a3d0c;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    margin-bottom: 30px;
  }
  
  .container p {
    color: #2d3a28;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
  }
  
  /* Услуги с glassmorphism */
  .service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }
  
  .service-item {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(74, 133, 34, 0.2);
  }
  
  .service-item::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1), transparent 70%);
    animation: liquidMove 7s infinite linear;
    pointer-events: none;
  }
  
  .service-item h2 {
    color: #1a3d0c;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
    margin-bottom: 15px;
  }
  
  .service-item p {
    color: #2d3a28;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 1;
  }
  
  /* Портфолио с glassmorphism */
  .portfolio-grid {
    display: grid;
    grid-gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .portfolio-item {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(74, 133, 34, 0.2);
  }
  
  .portfolio-item::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1), transparent 70%);
    animation: liquidMove 8s infinite linear;
    pointer-events: none;
  }
  
  .portfolio-item h3, .portfolio-item h2 {
    color: #1a3d0c;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
  }
  
  .portfolio-item p {
    color: #2d3a28;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 1;
  }
  
  /* Блог с glassmorphism */
  .blog-list {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .blog-post {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(74, 133, 34, 0.2);
  }
  
  .blog-post::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1), transparent 70%);
    animation: liquidMove 9s infinite linear;
    pointer-events: none;
  }
  
  .blog-post h2, .blog-post h3 {
    color: #1a3d0c;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
  }
  
  .blog-post p {
    color: #2d3a28;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 1;
  }
  
  /* Форма с glassmorphism */
  .contact-form {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
  }
  
  .contact-form::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1), transparent 70%);
    animation: liquidMove 7s infinite linear;
    pointer-events: none;
  }
  
  .contact-form label {
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: bold;
    color: #2d5016;
    position: relative;
    z-index: 1;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 12px;
    font-size: 1rem;
    border: 1px solid rgba(45, 80, 22, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.5);
    color: #333;
    position: relative;
    z-index: 1;
  }
  
  .contact-form input::placeholder,
  .contact-form textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
  }
  
  .contact-form button {
    margin-top: 20px;
    padding: 15px;
    font-size: 1rem;
    background: linear-gradient(135deg, #4a8522, #2d5016);
    backdrop-filter: blur(10px);
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
  }
  
  .contact-form button:hover {
    background: linear-gradient(135deg, #5a9532, #3d6026);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(74, 133, 34, 0.4);
  }
  
  .contact-info {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 20px;
    border-radius: 15px;
    margin-top: 20px;
  }
  
  .contact-info p {
    color: #2d3a28;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
    margin-bottom: 10px;
  }
  
  .contact-info a {
    color: #4a8522;
  }
  
  /* Подвал с glassmorphism */
  footer {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    padding: 20px;
    color: #2d3a28;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
  }

  /* Анимация жидкого стекла */
  @keyframes liquidMove {
    0% { transform: rotate(0deg) translate(0, 0); }
    25% { transform: rotate(90deg) translate(30px, 30px); }
    50% { transform: rotate(180deg) translate(50px, 50px); }
    75% { transform: rotate(270deg) translate(30px, 30px); }
    100% { transform: rotate(360deg) translate(0, 0); }
  }

  /* Дополнительные стили для чата */
  
  /* КНОПКА ЧАТА (свернутая) с glassmorphism */
  .chat-bubble-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #4a8522, #2d5016);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    padding: 10px 20px 10px 10px;
    border-radius: 40px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(74, 133, 34, 0.4);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
  }
  .chat-bubble-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(74, 133, 34, 0.55);
  }
  .chat-bubble-btn__logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    padding: 4px;
    object-fit: contain;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
  }
  
  /* ОКНО ЧАТА с glassmorphism */
  .chat-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 360px;
    height: 480px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    box-shadow:
      0 20px 60px rgba(45, 80, 22, 0.25),
      0 8px 20px rgba(45, 80, 22, 0.15);
    display: flex;
    flex-direction: column;
    z-index: 9999;
    overflow: hidden;
  }
  
  /* ШАПКА ЧАТА с glassmorphism */
  .chat-header {
    background: linear-gradient(135deg, #4a8522, #2d5016);
    color: #fff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  .chat-header__logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    padding: 4px;
    object-fit: contain;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
  }
  .chat-header__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .chat-header__title {
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1.2;
  }
  .chat-header__status {
    font-size: 0.78rem;
    opacity: 0.85;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
  }
  .chat-header__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6aff6a;
    box-shadow: 0 0 6px rgba(106, 255, 106, 0.8);
    animation: pulseDot 1.6s ease-in-out infinite;
  }
  @keyframes pulseDot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
  }
  .chat-header .close-chat {
    cursor: pointer;
    font-size: 22px;
    font-weight: 300;
    opacity: 0.85;
    transition: all 0.2s ease;
    flex-shrink: 0;
  }
  .chat-header .close-chat:hover {
    opacity: 1;
    transform: scale(1.15);
  }
  
  /* ОБЛАСТЬ СООБЩЕНИЙ */
  .chat-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    background:
      radial-gradient(circle at 10% 0%, rgba(74, 133, 34, 0.08), transparent 60%),
      rgba(255, 255, 255, 0.4);
    color: #1a3d0c;
    font-size: 0.92rem;
    line-height: 1.5;
  }
  .chat-messages::-webkit-scrollbar { width: 6px; }
  .chat-messages::-webkit-scrollbar-thumb {
    background: rgba(45, 80, 22, 0.2);
    border-radius: 10px;
  }
  .chat-messages div {
    margin-bottom: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(45, 80, 22, 0.1);
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(45, 80, 22, 0.05);
    word-wrap: break-word;
  }
  .chat-messages strong {
    color: #2d5016;
    margin-right: 6px;
  }
  /* Разные типы сообщений */
  .chat-msg--user {
    background: linear-gradient(135deg, #4a8522, #2d5016) !important;
    color: #fff !important;
    border-color: transparent !important;
    margin-left: 24px !important;
  }
  .chat-msg--user strong { color: rgba(255, 255, 255, 0.9) !important; }
  .chat-msg--operator {
    background: rgba(255, 244, 214, 0.95) !important;
    border-color: rgba(245, 184, 0, 0.4) !important;
    margin-right: 24px !important;
    animation: opFlash 0.6s ease;
  }
  .chat-msg--operator strong { color: #a06a00 !important; }
  .chat-msg--system {
    background: rgba(255, 230, 230, 0.9) !important;
    border-color: rgba(200, 50, 50, 0.3) !important;
    color: #7a1a1a;
    font-size: 0.85rem;
  }
  .chat-msg--system-ok {
    background: rgba(220, 245, 220, 0.9) !important;
    border-color: rgba(74, 133, 34, 0.3) !important;
    color: #1a4a0c;
    font-size: 0.85rem;
    font-style: italic;
  }
  .chat-msg--system-ok strong { color: #2d5016 !important; }
  @keyframes opFlash {
    0% { transform: translateX(-6px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
  }
  
  /* БЛОК ВВОДА (внизу чата) */
  .chat-input {
    display: flex;
    border-top: 1px solid rgba(45, 80, 22, 0.12);
    background: rgba(255, 255, 255, 0.6);
  }
  .chat-input input[type="text"] {
    flex: 1;
    border: none;
    padding: 14px 16px;
    outline: none;
    background: transparent;
    color: #1a3d0c;
    font-family: inherit;
    font-size: 0.95rem;
  }
  .chat-input input[type="text"]::placeholder {
    color: rgba(45, 80, 22, 0.5);
  }
  .chat-input button {
    background: linear-gradient(135deg, #4a8522, #2d5016);
    color: #fff;
    border: none;
    padding: 12px 22px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: all 0.25s ease;
  }
  .chat-input button:hover {
    filter: brightness(1.1);
  }

  @media (max-width: 480px) {
    .chat-bubble-btn span { display: none; }
    .chat-bubble-btn { padding: 8px; }
    .chat-container { width: calc(100vw - 24px); right: 12px; }
  }
  
  .hidden {
    display: none !important;
  }

  /* ===== HERO: бейдж и экшены ===== */
  .hero-badge {
    display: inline-block;
    padding: 6px 14px;
    margin-bottom: 18px;
    background: rgba(74, 133, 34, 0.15);
    border: 1px solid rgba(74, 133, 34, 0.3);
    color: #2d5016;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 20px;
    position: relative;
    z-index: 1;
  }
  .hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
  }
  .cta-button--ghost {
    background: rgba(255, 255, 255, 0.4) !important;
    color: #1a3d0c !important;
    border: 1px solid rgba(45, 80, 22, 0.4) !important;
    backdrop-filter: blur(10px);
  }
  .cta-button--ghost:hover {
    background: rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 10px 30px rgba(74, 133, 34, 0.2) !important;
  }

  /* ===== Иконки возможностей ===== */
  .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
  }

  /* ===== СЕКЦИЯ "КАК ЭТО РАБОТАЕТ" ===== */
  .how {
    max-width: 1100px;
    margin: 60px auto;
    padding: 60px 20px;
    text-align: center;
    position: relative;
  }
  .how-header {
    max-width: 720px;
    margin: 0 auto 40px;
  }
  .how-badge {
    display: inline-block;
    padding: 6px 14px;
    margin-bottom: 16px;
    background: rgba(74, 133, 34, 0.15);
    border: 1px solid rgba(74, 133, 34, 0.3);
    color: #2d5016;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 20px;
  }
  .how h2 {
    font-size: 2.2rem;
    color: #1a3d0c;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    margin-bottom: 14px;
    line-height: 1.2;
  }
  .how-accent {
    background: linear-gradient(135deg, #4a8522, #2d5016);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .how-header p {
    color: #2d3a28;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
    font-size: 1.05rem;
  }

  /* Переключатель сценариев */
  .scenario-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 6px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
  }
  .scenario-tab {
    padding: 10px 18px;
    background: transparent;
    border: none;
    color: #2d3a28;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.25s ease;
  }
  .scenario-tab:hover {
    background: rgba(255, 255, 255, 0.4);
  }
  .scenario-tab.active {
    background: linear-gradient(135deg, #4a8522, #2d5016);
    color: #fff;
    box-shadow: 0 4px 14px rgba(74, 133, 34, 0.35);
  }

  /* Окно чата (macOS-style, светлая зелёная палитра) */
  .chat-demo {
    max-width: 720px;
    margin: 0 auto;
    perspective: 1200px;
  }
  .chat-demo__window {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 18px;
    box-shadow:
      0 30px 80px rgba(45, 80, 22, 0.25),
      0 10px 30px rgba(45, 80, 22, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.7);
    overflow: hidden;
    text-align: left;
    transform: rotateX(2deg);
    transition: transform 0.4s ease;
  }
  .chat-demo__window:hover {
    transform: rotateX(0deg);
  }
  .chat-demo__topbar {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(180deg, rgba(74, 133, 34, 0.12), rgba(255, 255, 255, 0.3));
    border-bottom: 1px solid rgba(45, 80, 22, 0.12);
  }
  .chat-demo__dots {
    display: flex;
    gap: 7px;
  }
  .chat-demo__dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
  }
  .dot--red { background: #ff5f57; }
  .dot--yellow { background: #febc2e; }
  .dot--green { background: #28c840; }
  .chat-demo__title {
    flex: 1;
    text-align: center;
    color: #2d5016;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-shadow: none;
  }
  .chat-demo__spacer { width: 54px; }
  .chat-demo__body {
    min-height: 360px;
    max-height: 500px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
    background:
      radial-gradient(circle at 20% 0%, rgba(74, 133, 34, 0.10), transparent 60%),
      radial-gradient(circle at 100% 100%, rgba(168, 207, 255, 0.10), transparent 60%),
      rgba(255, 255, 255, 0.4);
  }
  .chat-demo__body::-webkit-scrollbar { width: 6px; }
  .chat-demo__body::-webkit-scrollbar-thumb {
    background: rgba(45, 80, 22, 0.2);
    border-radius: 10px;
  }

  /* Сообщения */
  .msg {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 85%;
    opacity: 0;
    transform: translateY(10px);
    animation: msgIn 0.4s ease forwards;
  }
  .msg--user { align-self: flex-end; flex-direction: row-reverse; }
  .msg--bot { align-self: flex-start; }
  .msg__avatar {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
  }
  .msg--bot .msg__avatar {
    background: linear-gradient(135deg, #4a8522, #2d5016);
  }
  .msg--user .msg__avatar {
    background: linear-gradient(135deg, #3a6f1c, #1a3d0c);
  }
  .msg__bubble {
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 0.95rem;
    line-height: 1.5;
    text-shadow: none;
    box-shadow: 0 2px 8px rgba(45, 80, 22, 0.08);
  }
  .msg--bot .msg__bubble {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(45, 80, 22, 0.12);
    color: #1a3d0c;
    border-top-left-radius: 4px;
  }
  .msg--user .msg__bubble {
    background: linear-gradient(135deg, #4a8522, #2d5016);
    color: #fff;
    border-top-right-radius: 4px;
  }
  .msg--bot .msg__bubble strong { color: #2d5016; font-weight: 700; }
  .msg--user .msg__bubble strong { color: #fff; font-weight: 700; }
  .msg__bubble code {
    display: inline-block;
    padding: 2px 8px;
    margin: 2px 0;
    background: rgba(74, 133, 34, 0.12);
    border: 1px solid rgba(74, 133, 34, 0.25);
    color: #2d5016;
    border-radius: 6px;
    font-family: 'SF Mono', Monaco, Consolas, monospace;
    font-size: 0.85rem;
  }
  .msg__bubble .line { display: block; margin-top: 4px; }

  .typing {
    display: inline-flex;
    gap: 4px;
    padding: 6px 2px;
  }
  .typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(45, 80, 22, 0.4);
    animation: typingBounce 1.2s infinite ease-in-out;
  }
  .typing span:nth-child(2) { animation-delay: 0.15s; }
  .typing span:nth-child(3) { animation-delay: 0.3s; }

  @keyframes msgIn {
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-5px); opacity: 1; }
  }

  @media (max-width: 600px) {
    .how h2 { font-size: 1.6rem; }
    .chat-demo__body { min-height: 320px; padding: 16px 14px; }
    .msg { max-width: 92%; }
    .scenario-tab { padding: 8px 12px; font-size: 0.85rem; }
    .reviews-grid { grid-template-columns: 1fr !important; }
  }

  /* ===== БЛОК ОТЗЫВОВ ===== */
  .reviews {
    max-width: 1200px;
    margin: 60px auto;
    padding: 60px 20px;
    text-align: center;
  }
  .reviews-header {
    max-width: 720px;
    margin: 0 auto 40px;
  }
  .reviews-header h2 {
    font-size: 2.2rem;
    color: #1a3d0c;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    margin-bottom: 14px;
    line-height: 1.2;
  }
  .reviews-header p {
    color: #2d3a28;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
    font-size: 1.05rem;
  }
  .reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    text-align: left;
  }
  .review-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 28px 26px;
    box-shadow:
      0 15px 40px rgba(45, 80, 22, 0.10),
      inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
  }
  .review-card::before {
    content: "“";
    position: absolute;
    top: 8px;
    right: 22px;
    font-size: 5rem;
    line-height: 1;
    color: rgba(74, 133, 34, 0.15);
    font-family: Georgia, serif;
    pointer-events: none;
  }
  .review-card:hover {
    transform: translateY(-6px);
    box-shadow:
      0 25px 60px rgba(45, 80, 22, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }
  .review-stars {
    color: #f5b800;
    font-size: 1.05rem;
    letter-spacing: 2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  }
  .review-text {
    color: #1f2d1a;
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
  }
  .review-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(45, 80, 22, 0.12);
    flex-wrap: wrap;
  }
  .review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a8522, #2d5016);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(74, 133, 34, 0.3);
  }
  .review-info {
    flex: 1;
    min-width: 0;
  }
  .review-name {
    color: #1a3d0c;
    font-weight: 700;
    font-size: 1rem;
  }
  .review-role {
    color: #4a5e3e;
    font-size: 0.85rem;
    margin-top: 2px;
  }
  .review-tag {
    background: rgba(74, 133, 34, 0.12);
    color: #2d5016;
    border: 1px solid rgba(74, 133, 34, 0.25);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
  }

  /* ===== БЛОГ: теги и карточки ===== */
  .blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 30px;
  }
  .blog-tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(45, 80, 22, 0.2);
    color: #2d5016;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
  }
  .blog-tag:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(74, 133, 34, 0.4);
  }
  .blog-tag--active {
    background: linear-gradient(135deg, #4a8522, #2d5016);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(74, 133, 34, 0.3);
  }
  .blog-post__tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(74, 133, 34, 0.15);
    color: #2d5016;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
  }

  /* ===== Блок подписки на рассылку ===== */
  .blog-subscribe {
    margin-top: 50px;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(45, 80, 22, 0.1);
  }
  .blog-subscribe h2 {
    color: #1a3d0c;
    font-size: 1.6rem;
    margin-bottom: 10px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
  }
  .blog-subscribe > p {
    color: #2d3a28;
    max-width: 520px;
    margin: 0 auto 22px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
  }
  .blog-subscribe__form {
    display: flex;
    gap: 10px;
    max-width: 480px;
    margin: 0 auto;
    flex-wrap: wrap;
  }
  .blog-subscribe__form input {
    flex: 1;
    min-width: 220px;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid rgba(45, 80, 22, 0.25);
    background: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-family: inherit;
    color: #1a3d0c;
    outline: none;
    transition: all 0.2s ease;
  }
  .blog-subscribe__form input:focus {
    background: rgba(255, 255, 255, 0.9);
    border-color: #4a8522;
    box-shadow: 0 0 0 3px rgba(74, 133, 34, 0.15);
  }
  .blog-subscribe__form button {
    padding: 14px 26px;
    background: linear-gradient(135deg, #4a8522, #2d5016);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(74, 133, 34, 0.3);
  }
  .blog-subscribe__form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(74, 133, 34, 0.4);
  }
  .blog-subscribe__note {
    margin-top: 14px !important;
    font-size: 0.85rem !important;
    opacity: 0.75;
  }