
  /* =========================================
     1. ПЕРЕМЕННЫЕ И БАЗОВЫЕ НАСТРОЙКИ
     ========================================= */
  :root {
    --ink: #2b2f33;
    --ink-soft: #5a6066;
    --accent: #b3121f;
    --accent-dark: #8e0e18;
    --bg: #f7f6f5;
    --card: #ffffff;
    --line: #e8e6e4;
    --gold: #8a8f94;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  
  body {
    font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
  }

  .wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
  section { padding: 64px 0; position: relative; }
  h2 { font-size: 30px; line-height: 1.2; margin-bottom: 12px; letter-spacing: -.3px; }
  .sub { color: var(--ink-soft); max-width: 760px; }

  html { scroll-behavior: smooth; }
  section, footer { scroll-margin-top: 100px; }

  /* =========================================
     2. ШАПКА И НАВИГАЦИЯ
     ========================================= */
  header {
    background: var(--card);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 9;
  }

  .nav { display: flex; align-items: center; gap: 28px; padding: 14px 0; font-size: 14px; }
  .logo { font-weight: 800; font-size: 20px; letter-spacing: .5px; }
  .logo small { display: block; font-weight: 500; font-size: 10.5px; letter-spacing: .4px; color: var(--accent); }

  .menu { display: flex; gap: 18px; color: var(--ink-soft); flex-wrap: wrap; }
  .menu a {
    text-decoration: none;
    color: var(--ink-soft);
    position: relative;
    transition: color 0.3s ease;
    cursor: pointer;
  }
  .menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
  }
  .menu a:hover { color: var(--accent); }
  .menu a:hover::after { width: 100%; }

  .menu a.active, .nav-link.active { color: var(--accent) !important; }
  .menu a.active::after, .nav-link.active::after { width: 100% !important; }

  .nav .cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
  .phone { font-weight: 600; font-size: 14px; }

  .btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    border-radius: 10px;
    padding: 12px 22px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    text-decoration: none;
  }
  .btn:hover { background: var(--accent-dark); }
  .btn.ghost { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
  .btn.sm { padding: 9px 16px; font-size: 13.5px; }

  /* =========================================
     3. СЕКЦИИ СТРАНИЦЫ
     ========================================= */
  .hero { background: linear-gradient(160deg, #ffffff 0%, #f6f0ef 100%); padding: 80px 0 64px; }
  .eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 2.2px; color: var(--accent); text-transform: uppercase; margin-bottom: 18px; }
  .hero h1 { font-size: 44px; line-height: 1.12; letter-spacing: -1px; max-width: 840px; }
  .hero p.lead { margin: 22px 0 8px; font-size: 18px; color: var(--ink-soft); max-width: 780px; }
  .lead-list { margin: 24px 0 6px; }
  .lead-list p { font-size: 19px; color: var(--ink-soft); margin-bottom: 7px; }
  .lead-list b { color: var(--ink); font-weight: 700; }
  .badges { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 30px; }
  .badge { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
  .badge::before { content: "✓"; color: var(--accent); margin-right: 8px; font-weight: 800; }
  .hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

  .biz { display: grid; grid-template-columns: 1fr 56px 280px; gap: 18px; align-items: center; margin-top: 30px; }
  .biz-box { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
  .biz-box .cap { font-size: 13px; font-weight: 700; letter-spacing: 1.6px; color: #9a948f; text-transform: uppercase; margin-bottom: 14px; }
  .biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .tile { background: #efedec; border-radius: 10px; padding: 22px 10px; text-align: center; font-size: 16px; font-weight: 650; color: var(--ink-soft); }
  .tile.empty { background: #fdf7f7; border: 2px dashed #dfb9bc; color: var(--accent); font-size: 14px; font-weight: 700; line-height: 1.35; padding: 16px 10px; }
  .arrow { font-size: 42px; color: var(--accent); text-align: center; font-weight: 700; }
  .acl-tile { background: var(--accent); color: #fff; border-radius: 16px; padding: 30px 26px; box-shadow: 0 14px 30px rgba(179,18,31,.22); }
  .acl-tile b { font-size: 21px; display: block; margin-bottom: 12px; line-height: 1.3; }
  .acl-tile span { font-size: 15px; color: #f4c8cc; display: block; line-height: 1.5; }
  .biz-note { margin-top: 18px; font-size: 16.5px; color: var(--ink-soft); }

  .qgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 22px; }
  .qcard { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; font-size: 17px; font-weight: 650; line-height: 1.4; }
  .qcard i { display: block; font-style: normal; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; margin-bottom: 10px; }
  .answers { background: var(--card); border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; padding: 20px 24px; color: var(--ink-soft); }
  .answers b { color: var(--ink); }

  .why { background: #fff; }
  .wgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
  .wcard { border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: var(--bg); }
  .wcard .num { font-size: 12px; font-weight: 800; color: var(--gold); letter-spacing: 1px; }
  .wcard h3 { font-size: 17px; margin: 8px 0 8px; }
  .wcard p { font-size: 14px; color: var(--ink-soft); }
  .hygiene { margin-top: 26px; background: var(--ink); color: #d4d7da; border-radius: 14px; padding: 24px 28px; font-size: 14.5px; }
  .hygiene b { color: #fff; }
  .hygiene .last { color: #f2aeb4; font-weight: 700; }

  .igrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
  .icard { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
  .icard h3 { font-size: 18px; margin-bottom: 8px; }
  .icard p { font-size: 14.5px; color: var(--ink-soft); }
  .icard a { display: inline-block; margin-top: 12px; color: var(--accent); font-weight: 600; font-size: 14px; text-decoration: none; }

  .prices { background: #fff; }
  table { width: 100%; border-collapse: collapse; margin-top: 26px; background: var(--card); border-radius: 14px; overflow: hidden; font-size: 14px; }
  th { background: var(--ink); color: #fff; text-align: left; padding: 14px 16px; font-weight: 600; }
  td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-soft); }
  td b { color: var(--ink); }
  .price { font-size: 17px; font-weight: 800; color: var(--ink); white-space: nowrap; }

  .founder {
    display: grid;
    grid-template-columns: 360px 1fr; 
    gap: 36px;
    align-items: start;
    margin-top: 28px;
  }

  .photo-ph {
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    overflow: hidden;
    background: #f5f2f1;
    border: 1px solid #e0d9d7; 
  }

  .photo-ph img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }

  .founder blockquote {
    font-size: 16.5px;
    color: var(--ink-soft, #4a4a4a);
    margin: 0;
    line-height: 1.6;
  }

  .founder blockquote p {
    margin-bottom: 14px;
  }

  .founder blockquote p:last-child {
    margin-bottom: 0;
  }

  .sign {
    margin-top: 24px;
  }

  .sign img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 8px;
  }

  .sign .who {
    font-size: 13.5px;
    color: var(--ink-soft, #666);
    font-weight: 600;
  }

  /* =========================================
     4. КОМАНДА (ОБНОВЛЕНО)
     ========================================= */
  .team-grid { 
    display: grid; 
    /* Увеличили минимальную ширину с 240px до 260px, чтобы длинным именам хватало места */
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); 
    gap: 16px; 
    margin-top: 28px; 
  }
  
  .team-card { 
    background: var(--card); 
    border: 1px solid var(--line); 
    border-radius: 14px; 
    padding: 24px; 
    text-align: center; 
  }
  
  .team-photo { 
    width: 100%; 
    max-width: 200px; 
    height: 260px; 
    object-fit: cover; 
    object-position: top center; 
    border-radius: 12px; 
    margin: 0 auto 16px; 
    display: block; 
    background: var(--bg); 
  }
  
  .team-name { 
    font-size: 16px; /* Немного уменьшили шрифт для гарантии вместимости */
    font-weight: 700; 
    color: var(--ink); 
    margin-bottom: 4px; 
    white-space: nowrap; /* ЖЕСТКИЙ ЗАПРЕТ на перенос строки */
    overflow: hidden; /* Скрываем, если вдруг имя аномально длинное */
    text-overflow: ellipsis; /* Добавляем "..." в крайнем случае, чтобы не ломать верстку */
  }
  
  .team-role { 
    font-size: 14.5px; 
    font-weight: 600; 
    color: var(--accent); 
    margin-bottom: 12px; 
  }
  
  .team-desc { 
    font-size: 14.5px; 
    color: var(--ink-soft); 
    line-height: 1.5; 
  }

  /* Блок с подходом к работе */
  .approach-block {
    background: var(--bg);
    border-left: 4px solid var(--accent);
    border-radius: 0 12px 12px 0;
    padding: 32px 36px;
    margin-top: 32px;
  }

  .approach-block h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--ink);
    line-height: 1.3;
  }

  .approach-block p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-soft);
    max-width: 900px;
  }

  /* Заглушки */
  .ph-zone { border: 2px dashed #c7bfbd; border-radius: 16px; background: #f4f1f0; padding: 36px; text-align: center; color: #7d7672; margin-top: 26px; }
  .ph-zone b { color: #55504d; }
  .mini-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 18px; }
  .mini { height: 88px; border-radius: 10px; background: #eae6e5; border: 1px solid #ddd6d4; }

  /* FAQ */
  .faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-top: 12px; cursor: pointer; transition: border-color 0.2s ease, background-color 0.2s ease; }
  .faq-item:hover { border-color: var(--accent); }
  .faq-question { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 15.5px; color: var(--ink); }
  .faq-question span { color: var(--accent); font-weight: 800; font-size: 22px; line-height: 1; transition: transform 0.3s ease; }
  .faq-a { font-weight: 400; font-size: 14px; color: var(--ink-soft); line-height: 1.55; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease; }
  .faq-item.active { border-color: var(--accent); background: #fdfbfb; }
  .faq-item.active .faq-question span { transform: rotate(45deg); }
  .faq-item.active .faq-a { margin-top: 14px; max-height: 500px; opacity: 1; }

  /* Форма */
  .form-sec { background: linear-gradient(160deg, #2b2f33 0%, #4a3134 100%); color: #fff; }
  .form-sec h2 { color: #fff; }
  .form-sec .sub { color: #c9c4c6; }
  .fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0 14px; }
  .fields input { padding: 14px; border-radius: 10px; border: none; font-size: 14px; }
  .consent { font-size: 12px; color: #a8a2a4; max-width: 640px; }

  /* =========================================
     5. ПОДВАЛ (FOOTER)
     ========================================= */
  footer { background: #232629; color: #a9adb2; padding: 64px 0; font-size: 13.5px; }
  .fgrid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; }
  footer h4 { color: #fff; font-size: 14px; margin-bottom: 16px; font-weight: 600; }
  footer .slogan { color: #e8949b; font-weight: 700; margin-bottom: 16px; line-height: 1.4; }
  footer p { margin-bottom: 6px; line-height: 1.5; }
  
  .footer-col { display: flex; flex-direction: column; gap: 8px; }
  .legal-info p, .footer-text { margin-bottom: 4px; font-size: 13px; line-height: 1.5; }

  .footer-link { color: #a9adb2; text-decoration: none; font-size: 13.5px; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; width: fit-content; margin-bottom: 6px; }
  .footer-link:hover { color: #e8949b; padding-left: 4px; }
  .phone-link { font-size: 15px; font-weight: 600; color: #fff; }
  .phone-link:hover { color: #e8949b; }

  .social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
  .social-link { color: #a9adb2; text-decoration: none; font-size: 13px; font-weight: 600; border: 1px solid #3a3e42; padding: 6px 12px; border-radius: 6px; transition: all 0.2s ease; }
  .social-link:hover { border-color: var(--accent); color: #fff; background-color: rgba(179, 18, 31, 0.1); }

  .footer-nav { display: flex; flex-direction: column; gap: 6px; }
  .footer-docs { margin-top: 20px; padding-top: 16px; border-top: 1px solid #3a3e42; }

  /* =========================================
     6. АДАПТИВНОСТЬ (MEDIA QUERIES)
     ========================================= */
  @media (max-width: 860px) {
    .biz { grid-template-columns: 1fr; }
    .arrow { transform: rotate(90deg); }
    .biz-grid { grid-template-columns: repeat(2, 1fr); }
    .qgrid, .wgrid, .fields { grid-template-columns: 1fr; }
    .igrid { grid-template-columns: 1fr; }
    .founder { grid-template-columns: 1fr; }
    .fgrid { grid-template-columns: 1fr 1fr; gap: 32px; }
    footer { padding: 48px 0; }
    .nav .menu { display: none; }
  }

  @media (max-width: 600px) {
    .hero h1 { font-size: 32px; }
    .mini-grid { grid-template-columns: repeat(3, 1fr); }
    .team-grid { grid-template-columns: 1fr; }
    .fgrid { grid-template-columns: 1fr; gap: 32px; }
    .social-links { gap: 8px; }
    .footer-docs { border-top: none; margin-top: 12px; padding-top: 0; }
    
    .photo-ph {
      aspect-ratio: 4 / 3;
      max-width: 320px;
      margin: 0 auto;
    }
    
    .approach-block {
      padding: 24px 20px;
      border-left: none;
      border-top: 4px solid var(--accent);
      border-radius: 12px;
    }
    
    .approach-block h3 { font-size: 20px; }
    .approach-block p { font-size: 15px; }
  }
</style>