/* 03.06.26 */

  :root {
    --cream: #F5EDE3;
    --cream-dark: #EBE0CF;
    --cream-warm: #EDE2D0;
    --wine: #8B1F2E;
    --wine-dark: #6B1822;
    --olive: #6B7A35;
    --olive-light: #8A9B49;
    --olive-soft: #E5EAD0;
    --ink: #1F1A17;
    --muted: #6B5F54;
    --line: #D9CFC0;
    --wa: #25D366;
    --tg: #2AABEE;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {   
  font-feature-settings: "lnum" 1; 
  font-variant-numeric: lining-nums; 
  font-family: 'Manrope', system-ui, sans-serif; background: var(--cream); color: var(--ink); line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased; }
  .container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
  @media (max-width: 720px) { .container { padding: 0 20px; } 
  }

  /* HEADER - sticky compact */
  header { position: sticky; top: 0; z-index: 100; background: rgba(245, 237, 227, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: 14px 0; transition: padding .25s, background .25s, box-shadow .25s; }
  header.compact { padding: 10px 0; background: rgba(245, 237, 227, 0.98); box-shadow: 0 4px 20px rgba(31,26,23,0.06); }
  .nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .logo { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; letter-spacing: 1px; transition: font-size .25s; flex-shrink: 0; }
  header.compact .logo { font-size: 22px; }
  .nav-menu { display: flex; gap: 22px; font-size: 14px; }
  .nav-menu a { color: var(--ink); text-decoration: none; transition: color .2s; }
  .nav-menu a:hover { color: var(--wine); }
  .header-right { display: flex; align-items: center; gap: 16px; }
  .header-phone { font-weight: 600; color: var(--ink); text-decoration: none; font-size: 15px; white-space: nowrap; }
  .btn-primary { background: var(--wine); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 14px; text-decoration: none; transition: background .2s; white-space: nowrap; }
  .btn-primary:hover { background: var(--wine-dark); }
  
  .btn-cta-large { background: var(--wine); color: #fff; padding: 16px 32px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; box-shadow: 0 6px 20px rgba(139,31,46,0.25); transition: transform .2s, background .2s; display: inline-block; border: none; cursor: pointer; }
  .btn-cta-large:hover { background: var(--wine-dark); transform: translateY(-1px); }
  .btn-outline { background: transparent; color: var(--ink); padding: 11px 20px; border-radius: 999px; font-weight: 500; font-size: 14px; border: 1px solid var(--ink); text-decoration: none; }
  .btn-outline:hover { background: var(--ink); color: #fff; }

  /* Бургер на разрешении 960px */
  .burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 0; background: transparent; border: none; cursor: pointer; flex-shrink: 0; }
  .burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; transform-origin: center; }
  .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  @media (max-width: 1180px) {
    .header-phone.phone-secondary { display: none; }
  }

  @media (max-width: 960px) {
    .burger { display: flex; }
    .nav-menu {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      flex-direction: column;
      gap: 0;
      background: rgba(245, 237, 227, 0.98);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--line);
      box-shadow: 0 12px 28px rgba(31,26,23,0.10);
      padding: 8px 0;
      max-height: 0;
      overflow: hidden;
      transition: max-height .3s ease, padding .3s ease;
    }
    .nav-menu.open { max-height: 400px; padding: 12px 0; }
    .nav-menu a { padding: 14px 32px; font-size: 16px; border-bottom: 1px solid rgba(31,26,23,0.06); }
    .nav-menu a:last-child { border-bottom: none; }
    .header-right { gap: 10px; }
    .header-phone { font-size: 14px; }
    .btn-primary { padding: 10px 16px; font-size: 13px; }
  }

  @media (max-width: 640px) {
    header { padding: 10px 0; }
    .logo { font-size: 20px; letter-spacing: 0.5px; }
    header.compact .logo { font-size: 18px; }
    .header-phone { display: none; }
    .header-phone.phone-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px; height: 40px;
      border-radius: 50%;
      background: var(--cream-dark);
      color: var(--ink);
    }
    .header-phone.phone-icon svg { width: 18px; height: 18px; }
    .btn-primary { padding: 10px 14px; font-size: 12px; }
    .nav { gap: 10px; }
  }

  /* TBD note курсивный признак требует согласования */
  .tbd { color: var(--olive); font-style: italic; font-size: 11px; opacity: 0.75; display: inline-block; }
  .tbd::before { content: "* "; }

  /* ========== HERO full-bleed картинка + минимальный frosted plate слева ========== */
  .hero {
    position: relative;
    min-height: 92vh;
    overflow: hidden;
    display: flex;
    align-items: center;
  }
  .hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image: url('https://flora.guru/images/landing/hero-background.jpg.webp');
    background-size: cover;
    background-position: center;
    /* transform: scaleX(-1); */
    z-index: 0;
  }
  .hero::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(245,237,227,0.35) 0%, rgba(245,237,227,0) 60%);
    z-index: 1;
  }

  .hero-content {
    position: relative; z-index: 2;
    max-width: 580px;
    margin-left: 80px;
    padding: 60px 0;
  }
  @media (max-width: 1100px) { .hero-content { margin: 0 auto; padding: 60px 24px; } }

  .hero-plate {
    background: linear-gradient(135deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.20) 100%);
    backdrop-filter: blur(5px) saturate(200%);
    -webkit-backdrop-filter: blur(5px) saturate(200%);
    border: 1.5px solid rgba(255,255,255,0.6);
    border-radius: 24px;
    padding: 36px 38px 32px;
    box-shadow:
      0 24px 80px rgba(31,26,23,0.18),
      inset 0 1px 1px rgba(255,255,255,1),
      inset 0 -1px 1px rgba(255,255,255,0.3),
      inset 1px 0 1px rgba(255,255,255,0.4);
    position: relative;
  }
  .hero-plate::before {
    content: ""; position: absolute; inset: 0;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 50%);
    pointer-events: none;
  }

  .hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(30px, 3.4vw, 46px); font-weight: 500; line-height: 1.08; letter-spacing: -0.5px; margin-bottom: 14px; color: var(--ink); }
  .hero h1 .accent { color: var(--olive); font-style: italic; font-weight: 600; }
  .hero-sub { font-size: clamp(14px, 1.1vw, 16px); color: var(--ink); line-height: 1.5; margin-bottom: 20px; }

  .hero-jobs { display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; padding-top: 18px; border-top: 1px solid rgba(31,26,23,0.12); }
  .hero-job { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.4; color: var(--ink); }
  .hero-job-icon { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: rgba(107,122,53,0.18); color: var(--olive); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
  .hero-job strong { font-weight: 700; }

  .hero-price-line { display: flex; gap: 18px; flex-wrap: wrap; align-items: baseline; padding: 14px 0; margin-bottom: 22px; border-top: 1px solid rgba(31,26,23,0.12); border-bottom: 1px solid rgba(31,26,23,0.12); }
  .hero-price-from { font-size: 14px; color: var(--ink); }
  .hero-price-from strong { font-size: 22px; font-family: 'Cormorant Garamond', serif; font-weight: 700; color: var(--ink); margin-right: 4px; }

  .hero-cta-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
  .hero-cta-note { font-size: 13px; color: var(--ink); font-weight: 500; line-height: 1.4; max-width: 220px; }
  .hero-cta-note strong { color: var(--olive); }
  .hero-trust-line { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(31,26,23,0.12); font-size: 12px; color: var(--muted); line-height: 1.5; }
  .hero-trust-label { color: var(--ink); font-weight: 700; margin-right: 6px; }

  /* ѕолоса с цифрами под hero темно-бордова¤ */
  .hero-stats-strip { background: linear-gradient(135deg, #4A1018 0%, #6B1822 100%); color: #fff; padding: 26px 0; }
  .hero-stats-strip-inner { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; align-items: center; }
  .hero-stats-strip-item { display: flex; align-items: baseline; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.9); }
  .hero-stats-strip-num { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 600; color: #E5D78F; line-height: 1; }

  /* ===== BREADCRUMBS ===== */
  .breadcrumbs { padding: 22px 0; font-size: 14px; color: var(--muted); }
  .breadcrumbs a { color: var(--muted); text-decoration: none; }
  .breadcrumbs a:hover { color: var(--wine); }
  .breadcrumbs .sep { margin: 0 10px; opacity: 0.5; }
  .breadcrumbs .current { color: var(--wine); }

  /* SECTIONS */
  section { padding: 90px 0; }
  @media (max-width: 720px) { section { padding: 60px 0; } }
  .section-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
  .section-head .eyebrow { display: inline-block; color: var(--olive); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; }
  .section-head h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(30px, 3.8vw, 48px); font-weight: 500; line-height: 1.1; margin-bottom: 14px; }
  .section-head h2 .accent { color: var(--olive); font-style: italic; }
  .section-head p { font-size: 17px; color: var(--ink); }

  /* ========== SOLUTIONS табы по сегментам ========== */
  .solutions { background: #fff; }
  .tab-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
  .tab-btn { background: var(--cream); border: 1px solid var(--line); padding: 12px 22px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; transition: all .2s; font-family: inherit; }
  .tab-btn:hover { background: var(--cream-dark); }
  .tab-btn.active { background: var(--olive); color: #fff; border-color: var(--olive); }

  .tab-panel { display: none; animation: fadeIn .3s; }
  .tab-panel.active { display: grid; }
  @keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

  .tab-panel { grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: stretch; max-width: 1100px; margin: 0 auto; background: var(--cream-warm); border-radius: 24px; padding: 48px; border: 1px solid var(--line); }
  @media (max-width: 900px) { .tab-panel { grid-template-columns: 1fr; padding: 28px; gap: 32px; } }

  .tab-info-eyebrow { font-size: 11px; color: var(--olive); font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 10px; }
  .tab-info h3 { font-family: 'Cormorant Garamond', serif; font-size: clamp(26px, 2.8vw, 36px); font-weight: 500; line-height: 1.15; margin-bottom: 12px; }
  .tab-info h3 .accent { color: var(--olive); font-style: italic; }
  .tab-info-task { font-size: 16px; color: var(--ink); line-height: 1.55; margin-bottom: 24px; }
  .tab-info-task strong { color: var(--olive); }

  .tab-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
  .tab-block { background: #fff; border-radius: 12px; padding: 16px 18px; border: 1px solid var(--line); }
  .tab-block-label { font-size: 11px; color: var(--muted); letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 4px; }
  .tab-block-value { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; color: var(--ink); line-height: 1.1; }

  .tab-outcome { margin-bottom: 22px; padding: 18px 20px; background: rgba(107,122,53,0.08); border-radius: 12px; border-left: 3px solid var(--olive); }
  .tab-outcome-title { font-size: 11px; color: var(--olive); font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 10px; }
  .tab-outcome-list { list-style: none; padding: 0; margin: 0; }
  .tab-outcome-list li { font-size: 15px; color: var(--ink); padding: 4px 0 4px 22px; position: relative; line-height: 1.45; font-weight: 500; }
  .tab-outcome-list li::before { content: ">"; position: absolute; left: 0; top: 4px; color: var(--olive); font-weight: 700; }

  .tab-cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

  .tab-visual {
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    min-height: 380px;
    position: relative;
    overflow: hidden;
  }
  .tab-visual-cases {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: rgba(31,26,23,0.85);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 14px 18px;
    border-radius: 12px;
  }
  .tab-visual-cases-label { font-size: 10px; color: rgba(255,255,255,0.7); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
  .tab-visual-cases-list { font-size: 13px; line-height: 1.4; }
  .tab-visual-cases-list strong { color: #E5D78F; font-weight: 600; }

  /* ========== SERVICES 4 фото компактно слева, текст справа широкий ========== */
  .services-section { background: var(--cream); }
  .services-list { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
  .service-row {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    transition: transform .25s, box-shadow .25s;
  }
  .service-row:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(31,26,23,0.10); }
  @media (max-width: 800px) { .service-row { grid-template-columns: 1fr; } }
  .service-photo { background-size: cover; background-position: center; min-height: 280px; }
  @media (max-width: 800px) { .service-photo { min-height: 220px; aspect-ratio: 16/10; } }
  .service-content { padding: 30px 36px; display: flex; flex-direction: column; justify-content: center; }
  @media (max-width: 720px) { .service-content { padding: 26px 22px; } }
  .service-eyebrow { display: inline-block; background: var(--olive-soft); color: var(--olive); font-size: 11px; font-weight: 700; letter-spacing: 0.5px; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; margin-bottom: 14px; align-self: flex-start; }
  .service-name { font-family: 'Cormorant Garamond', serif; font-size: clamp(26px, 2.4vw, 32px); font-weight: 600; line-height: 1.15; margin-bottom: 14px; }
  .service-meta-strip { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; padding: 14px 16px; background: var(--cream); border-radius: 12px; }
  .service-meta-piece small { display: block; font-size: 10px; color: var(--muted); letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 2px; }
  .service-meta-piece strong { font-size: 16px; font-weight: 700; }
  .service-list-mini { list-style: none; padding: 0; margin: 0 0 24px 0; }
  .service-list-mini li { font-size: 14px; color: var(--ink); padding: 5px 0 5px 22px; position: relative; line-height: 1.45; }
  .service-list-mini li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--olive); }
  .service-row-bottom { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

  .services-extra-cta { max-width: 1100px; margin: 50px auto 0; padding: 24px 30px; background: rgba(255,255,255,0.6); border: 1px dashed var(--line); border-radius: 16px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  .services-extra-cta p { font-size: 15px; color: var(--ink); margin: 0; line-height: 1.45; }
  @media (max-width: 720px) { .services-extra-cta { flex-direction: column; text-align: center; } }

  /* ========== TIMELINE что будет в результате ========== */
  .timeline-section { background: #fff; }
  .timeline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1100px; margin: 0 auto; position: relative; }
  @media (max-width: 900px) { .timeline-grid { grid-template-columns: 1fr 1fr; gap: 22px; } }
  @media (max-width: 600px) { .timeline-grid { grid-template-columns: 1fr; gap: 16px; } }
  .timeline-card { background: var(--cream); border-radius: 16px; padding: 26px 24px; border: 1px solid var(--line); position: relative; transition: transform .25s, box-shadow .25s; }
  .timeline-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(31,26,23,0.08); }
  .timeline-when { display: inline-block; font-family: 'Cormorant Garamond', serif; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; letter-spacing: 0.3px; }
  .timeline-when.tw1 { background: rgba(176,116,24,0.15); color: #B07418; }
  .timeline-when.tw2 { background: rgba(63,107,92,0.15); color: #3F6B5C; }
  .timeline-when.tw3 { background: rgba(107,122,53,0.18); color: var(--olive); }
  .timeline-when.tw4 { background: rgba(139,31,46,0.15); color: var(--wine); }
  .timeline-result { font-size: 15px; line-height: 1.5; color: var(--ink); font-weight: 500; }
  .timeline-result strong { color: var(--olive); font-weight: 700; }

  /* ========== DOUBTS Q&A 4 разноцветные иконки ========== */
  .doubts { background: var(--cream); }
  .doubts-list { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
  .doubt-item { background: #fff; border-radius: 16px; padding: 26px 30px; border: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
  @media (max-width: 720px) { .doubt-item { grid-template-columns: 1fr; gap: 12px; padding: 22px; } }
  .doubt-q { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 500; font-style: italic; line-height: 1.3; max-width: 360px; }
  .doubt-q::before { content: "Ђ "; color: var(--olive); }
  .doubt-q::after { content: " ї"; color: var(--olive); }
  .doubt-a { display: flex; align-items: flex-start; gap: 14px; padding-top: 4px; }
  .doubt-a-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; }
  .doubt-a-icon.c-money { background: linear-gradient(135deg, #B07418, #8C5A12); }
  .doubt-a-icon.c-shield { background: linear-gradient(135deg, var(--olive), #5A6929); }
  .doubt-a-icon.c-leaf { background: linear-gradient(135deg, #8A9B49, #6B7A35); }
  .doubt-a-icon.c-clock { background: linear-gradient(135deg, var(--wine), var(--wine-dark)); }
  .doubt-a-icon.c-hand { background: linear-gradient(135deg, #2D5F4D, #1F4438); }
  .doubt-a-text { font-size: 15px; line-height: 1.55; }
  .doubt-a-text strong { color: var(--ink); font-weight: 700; }

  /* ========== GUARANTEE компактный split ========== */
  .guarantee { background: linear-gradient(135deg, var(--olive) 0%, #5A6929 100%); color: #fff; padding: 60px 0; }
  .guarantee-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
  @media (max-width: 800px) { .guarantee-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; } }
  .guarantee-eyebrow { display: inline-block; background: rgba(255,255,255,0.15); color: #E5D78F; padding: 5px 14px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px; border: 1px solid rgba(255,255,255,0.25); }
  .guarantee-statement { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px, 3.4vw, 40px); font-weight: 500; font-style: italic; line-height: 1.15; letter-spacing: -0.5px; }
  .guarantee-statement .accent { color: #E5D78F; }
  .guarantee-points { display: flex; flex-direction: column; gap: 16px; }
  .guarantee-point { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; font-weight: 500; text-align: left; padding: 14px 18px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 12px; }
  .guarantee-point svg { flex-shrink: 0; color: #E5D78F; margin-top: 2px; }
  .guarantee-point-text { flex: 1; }
  .guarantee-point-text strong { display: block; color: #fff; font-weight: 600; margin-bottom: 2px; }
  .guarantee-point-text span { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.4; }

  /* ========== PROCESS 4 карточки с растени¤ми-иконками + разноцветные бейджи ========== */
  .process { background: var(--cream-warm); }
  .process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  @media (max-width: 900px) { .process-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 600px) { .process-grid { grid-template-columns: 1fr; } }
  .process-step { background: #fff; border-radius: 16px; padding: 28px 26px; border: 1px solid var(--line); position: relative; transition: transform .25s, box-shadow .25s; }
  .process-step:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(31,26,23,0.08); }
  .process-num { position: absolute; top: 22px; right: 26px; font-family: 'Cormorant Garamond', serif; font-size: 38px; font-weight: 600; color: var(--olive-soft); line-height: 1; }
  .process-icon { width: 60px; height: 60px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
  .process-icon svg { width: 32px; height: 32px; }
  .process-icon.i1 { background: #E5EAD0; color: #6B7A35; }
  .process-icon.i2 { background: #FFF1D4; color: #B07418; }
  .process-icon.i3 { background: #F4D9DD; color: #8B1F2E; }
  .process-icon.i4 { background: #F0DDC9; color: #9C633A; }
  .process-icon.i5 { background: #D4E0DC; color: #3F6B5C; }
  .process-icon.i6 { background: #D8E5C2; color: #4A6422; }
  .process-name { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; line-height: 1.2; margin-bottom: 8px; padding-right: 50px; }
  .process-time { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 12px; padding: 5px 12px; border-radius: 999px; }
  .process-time.t1 { background: #E5EAD0; color: #6B7A35; }
  .process-time.t2 { background: #FFF1D4; color: #B07418; }
  .process-time.t3 { background: #F4D9DD; color: #8B1F2E; }
  .process-time.t4 { background: #F0DDC9; color: #9C633A; }
  .process-time.t5 { background: #D4E0DC; color: #3F6B5C; }
  .process-time.t6 { background: #D8E5C2; color: #4A6422; }
  .process-desc { font-size: 14px; color: var(--muted); line-height: 1.5; }

  /* PORTFOLIO - шахматка на всю ширину */
  .portfolio { background: var(--cream); padding: 90px 0 110px; position: relative; }

  .portfolio-head {
    max-width: 1650px;          /* было 1100px Ч стало 1.5? шире */
    margin: 0 auto 70px;
    padding: 0 40px;
    text-align: center;
  }
  @media (max-width: 1100px) { .portfolio-head { padding: 0 24px; } }
  .portfolio-eyebrow-pill {
    display: inline-block;
    color: var(--olive);
    font-size: 13px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
    font-weight: 600;
  }
  .portfolio-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(26px, 3vw, 42px);   /* немного меньше H1 */
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.3px;
    color: var(--ink);
    margin-bottom: 22px;
    white-space: nowrap;                  /* запрет переноса на десктопе */
  }
  @media (max-width: 1100px) {
    .portfolio-title { white-space: normal; font-size: clamp(24px, 4vw, 36px); }
  }
  .portfolio-title .accent {
    color: var(--olive);
    font-style: italic;
  }
  .portfolio-sub {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.55;
    max-width: 620px;
    margin: 0 auto;
  }

  /* ?вухколоночна¤ шахматка на всю ширину */
  .portfolio-grid {
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 36px;
    row-gap: 0;
    position: relative;
  }
  @media (max-width: 1100px) { .portfolio-grid { padding: 0 24px; column-gap: 24px; } }
  @media (max-width: 760px) {
    .portfolio-grid { grid-template-columns: 1fr; padding: 0 16px; }
  }
  .portfolio-grid::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 1px;
    background: var(--wine);
    opacity: 0.2;
  }
  @media (max-width: 760px) { .portfolio-grid::before { display: none; } }

  .portfolio-col {
    display: flex;
    flex-direction: column;
    gap: 90px;
  }
  .portfolio-col.right {
    padding-top: 260px;
  }
  @media (max-width: 760px) {
    .portfolio-col.right { padding-top: 0; }
    .portfolio-col { gap: 50px; }
  }

  .case-card {
    display: block;
    text-decoration: none;
    color: var(--ink);
    position: relative;
  }
  .case-photo-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--cream-dark);
  }
  .case-photo {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .8s ease;
  }
  .case-card:hover .case-photo { transform: scale(1.04); }

  /* –азные пропорции дл¤ шахматки */
  .case-card .case-photo-wrap { aspect-ratio: 16/10; }
  .case-card.case-tall .case-photo-wrap { aspect-ratio: 4/5; }
  .case-card.case-wide .case-photo-wrap { aspect-ratio: 3/2; }
  .case-card.case-square .case-photo-wrap { aspect-ratio: 1/1; }

  /* ѕолупрозрачна¤ плашка с описанием на фото */
  .case-overlay {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    background: rgba(20, 16, 14, 0.4);   /* было 0.18 > стало 0.4 */
    /* blur полностью убран Ч никакого муара */
    border: 1px solid rgba(255,255,255,0.10);
    color: #fff;
    padding: 22px 28px 24px;
    border-radius: 8px;
    z-index: 2;
  }
  @media (max-width: 600px) {
    .case-overlay { left: 12px; right: 12px; bottom: 12px; padding: 16px 18px 18px; }
  }
  .case-tag {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    color: #E5D78F;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
    font-weight: 600;
  }
  .case-overlay h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 10px;
    color: #fff;
  }
  .case-overlay p {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255,255,255,0.85);
    margin-bottom: 14px;
  }
  .case-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.3px;
  }
  .case-meta-row span { display: inline-flex; align-items: center; gap: 6px; }
  .case-meta-row span + span::before {
    content: "Ј";
    color: rgba(255,255,255,0.4);
    margin-right: 14px;
  }

  /*  нопка "ѕосмотреть кейс" слева внизу */
  .case-view-btn {
    position: absolute;
    left: 0;
    top: 24px;
    background: var(--cream);
    color: var(--wine);
    padding: 12px 22px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 0 6px 6px 0;
    transition: background .25s, color .25s, padding-right .25s;
  }
  .case-view-btn::after {
    content: ">";
    font-size: 14px;
    transition: transform .25s;
  }
  .case-card:hover .case-view-btn {
    background: var(--wine);
    color: #fff;
    padding-right: 28px;
  }
  .case-card:hover .case-view-btn::after { transform: translateX(4px); }

  .portfolio-footer-cta {
    text-align: center;
    margin-top: 70px;
  }
  .portfolio-footer-cta a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--wine);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--wine);
    padding-bottom: 4px;
    transition: gap .25s;
  }
  .portfolio-footer-cta a:hover { gap: 18px; }

  /* ========== GALLERY Ч карусель ========== */
  .gallery-section { background: var(--cream-warm); padding: 90px 0; }
  .gallery-head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
  .gallery-head h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(30px, 3.8vw, 48px); font-weight: 500; line-height: 1.1; margin-bottom: 14px; }
  .gallery-head h2 .accent { color: var(--olive); font-style: italic; }
  .gallery-head p { font-size: 17px; color: var(--ink); }
  .gallery-track-wrap { position: relative; max-width: 1280px; margin: 0 auto 36px; }
  .gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: 380px; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 32px 24px; scrollbar-width: thin; scrollbar-color: var(--olive) var(--cream-dark); }
  @media (max-width: 720px) { .gallery-track { grid-auto-columns: 280px; padding: 0 20px 24px; } }
  .gallery-track::-webkit-scrollbar { height: 8px; }
  .gallery-track::-webkit-scrollbar-track { background: var(--cream-dark); border-radius: 4px; }
  .gallery-track::-webkit-scrollbar-thumb { background: var(--olive); border-radius: 4px; }
  .gallery-item { aspect-ratio: 3/4; border-radius: 18px; background-size: cover; background-position: center; scroll-snap-align: start; box-shadow: 0 4px 16px rgba(31,26,23,0.08); transition: transform .3s; }
  .gallery-item:hover { transform: scale(1.02); }
  .gallery-cta-row { text-align: center; }
  .gallery-cta-row p { font-family: 'Cormorant Garamond', serif; font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; font-style: italic; margin-bottom: 22px; }

  /* ========== MID-FORM Ч простой CTA-блок ========== */
  .mid-form-section { background: var(--ink); color: #fff; padding: 60px 0; }
  .mid-cta-block { max-width: 760px; margin: 0 auto; text-align: center; }
  .mid-cta-block h3 { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px, 3.4vw, 40px); font-weight: 500; line-height: 1.1; margin-bottom: 14px; color: #fff; }
  .mid-cta-block h3 .accent { color: #E5D78F; font-style: italic; }
  .mid-cta-block p { font-size: 16px; color: rgba(255,255,255,0.85); margin-bottom: 22px; line-height: 1.55; }
  .mid-cta-bullets { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
  .mid-cta-bullets span { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: rgba(255,255,255,0.9); }
  .mid-cta-bullets svg { color: #E5D78F; flex-shrink: 0; }
  .mid-cta-btn { font-size: 17px; padding: 18px 36px; }

  /* ========== PROMO ========== */
  .promo-banner { background: var(--wine); color: #fff; padding: 60px 0; }
  .promo-banner-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; max-width: 1100px; margin: 0 auto; }
  @media (max-width: 900px) { .promo-banner-inner { grid-template-columns: 1fr; text-align: center; gap: 28px; } }
  .promo-text h3 { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px, 3.4vw, 42px); font-weight: 500; line-height: 1.1; margin-bottom: 12px; }
  .promo-text h3 .accent { color: #E5D78F; font-style: italic; }
  .promo-text p { font-size: 16px; color: rgba(255,255,255,0.92); margin-bottom: 6px; }
  .promo-text .deadline { font-size: 13px; color: rgba(255,255,255,0.75); margin-top: 8px; font-style: italic; }
  .promo-bonus { display: inline-block; background: rgba(229,215,143,0.2); color: #E5D78F; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; margin-top: 8px; border: 1px solid rgba(229,215,143,0.4); }
  .promo-cta { background: #fff; color: var(--wine); padding: 18px 32px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,0.15); white-space: nowrap; transition: transform .2s; }
  .promo-cta:hover { transform: translateY(-2px); }

  /* ========== LOGOBAR Ч реальные SVG ========== */
  .logobar { background: var(--cream-dark); padding: 60px 0; }
  .logobar-title { text-align: center; font-size: 14px; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 32px; font-weight: 600; }
  .logos { display: grid; grid-template-columns: repeat(8, 1fr); gap: 24px 28px; align-items: center; max-width: 1200px; margin: 0 auto; }
  @media (max-width: 1100px) { .logos { grid-template-columns: repeat(4, 1fr); } }
  @media (max-width: 600px) { .logos { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
  .logo-img { height: 56px; background-size: contain; background-position: center; background-repeat: no-repeat; opacity: 0.7; transition: opacity .25s, transform .25s; }
  .logo-img:hover { opacity: 1; transform: scale(1.05); }

  /* ========== REVIEWS ========== */
  .reviews { background: var(--cream); }
  .reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  @media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
  .review-card { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 4px 20px rgba(31,26,23,0.04); transition: transform .25s, box-shadow .25s; }
  .review-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(31,26,23,0.10); }
  .review-scan { aspect-ratio: 560/792; background-size: cover; background-position: top center; background-color: #fafafa; }
  .review-meta { padding: 18px 24px 22px; background: #fff; border-top: 1px solid var(--line); }
  .review-company { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 18px; margin-bottom: 4px; }
  .review-position { font-size: 13px; color: var(--muted); }

  /* ========== EFFECTS Ч контрастный тЄмно-бордовый ========== */
  .effects { background: linear-gradient(135deg, #4A1018 0%, #6B1822 100%); color: #fff; padding: 80px 0; }
  .effects-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
  .effects-head .eyebrow { display: inline-block; background: rgba(229,215,143,0.2); color: #E5D78F; padding: 5px 14px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px; border: 1px solid rgba(229,215,143,0.35); }
  .effects-head h3 { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px, 3.4vw, 42px); font-weight: 500; color: #fff; margin-bottom: 12px; line-height: 1.15; }
  .effects-head h3 .accent { color: #E5D78F; font-style: italic; }
  .effects-head p { font-size: 15px; color: rgba(255,255,255,0.8); }
  .effects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 980px; margin: 0 auto; }
  @media (max-width: 720px) { .effects-grid { grid-template-columns: 1fr; gap: 18px; } }
  .effect-item { text-align: center; padding: 36px 24px; background: rgba(255,255,255,0.06); border-radius: 18px; border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(6px); transition: transform .25s, background .25s; }
  .effect-item:hover { transform: translateY(-3px); background: rgba(255,255,255,0.10); }
  .effect-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; background: rgba(229,215,143,0.18); color: #E5D78F; }
  .effect-num { font-family: 'Cormorant Garamond', serif; font-size: 64px; font-weight: 600; color: #E5D78F; line-height: 1; margin-bottom: 8px; }
  .effect-num small { font-size: 32px; color: #E5D78F; margin-left: 2px; }
  .effect-label { font-size: 15px; color: rgba(255,255,255,0.95); line-height: 1.45; font-weight: 500; }
  .effects-source { text-align: center; margin-top: 28px; }
  .effects-source .tbd { color: rgba(229,215,143,0.85); border-color: rgba(229,215,143,0.5); background: rgba(229,215,143,0.1); }

  /* ========== TEAM ========== */
  .team-section { background: var(--cream); }
  .team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; max-width: 1200px; margin: 0 auto; }
  @media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 600px) { .team-grid { grid-template-columns: 1fr 1fr; } }
  .team-card { background: #fff; border-radius: 16px; padding: 24px 18px; text-align: center; border: 1px solid var(--line); transition: transform .25s; }
  .team-card:hover { transform: translateY(-3px); }
  .team-photo { width: 96px; height: 96px; margin: 0 auto 16px; border-radius: 50%; background-size: cover; background-position: center; border: 3px solid var(--olive-soft); }
  .team-role { font-family: 'Cormorant Garamond', serif; font-size: 19px; font-weight: 600; color: var(--ink); margin-bottom: 4px; line-height: 1.2; }
  .team-name { font-size: 11px; color: var(--olive); font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 10px; }
  .team-card:not(:has(.team-name)) .team-role { margin-bottom: 12px; }
  .team-task { font-size: 13px; color: var(--muted); line-height: 1.45; }

  /* ========== ABOUT ========== */
  .about { background: var(--cream-warm); }
  .about-grid { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: start; }
  @media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
  .about-text h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(30px, 3.6vw, 44px); font-weight: 500; line-height: 1.1; margin-bottom: 20px; }
  .about-text h2 .accent { color: var(--olive); font-style: italic; }
  .about-text p { font-size: 16px; line-height: 1.6; margin-bottom: 14px; }
  .about-quote { background: #fff; border-radius: 22px; padding: 32px 30px; border: 1px solid var(--line); position: relative; }
  .about-quote::before { content: "\201C"; position: absolute; top: -10px; left: 24px; font-family: 'Cormorant Garamond', serif; font-size: 96px; color: var(--olive); line-height: 1; }
  .about-quote-text { font-family: 'Cormorant Garamond', serif; font-size: 19px; font-style: italic; line-height: 1.4; margin-bottom: 24px; margin-top: 14px; }
  .about-quote-author { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
  .about-quote-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--olive-soft); color: var(--olive); display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; }
  .about-quote-name { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
  .about-quote-role { font-size: 12px; color: var(--muted); }

  /* ========== FAQ ========== */
  .faq { background: var(--cream); }
  .faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
  .faq-item { background: #fff; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .2s; }
  .faq-item[open] { box-shadow: 0 4px 20px rgba(31,26,23,0.06); }
  .faq-q { padding: 22px 28px; cursor: pointer; font-size: 17px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 14px; list-style: none; user-select: none; }
  .faq-q::-webkit-details-marker { display: none; }
  .faq-q::after { content: "+"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--cream-dark); color: var(--olive); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 400; }
  .faq-item[open] .faq-q::after { content: "?"; background: var(--olive); color: #fff; }
  .faq-a { padding: 0 28px 24px; font-size: 15px; line-height: 1.6; }
  .faq-a strong { color: var(--olive); font-weight: 600; }

  /* ========== FORM ========== */
  .form-section { background: var(--cream-dark); }
  .form-trust-bar { max-width: 880px; margin: 0 auto 40px; background: #fff; border-radius: 14px; padding: 18px 26px; display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; border: 1px solid var(--line); }
  .form-trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; }
  .form-trust-item svg { flex-shrink: 0; color: var(--olive); }
  .form-trust-item strong { font-weight: 600; }
  .form-grid { max-width: 720px; margin: 0 auto; background: #fff; border-radius: 22px; padding: 40px 44px; border: 1px solid var(--line); }
  @media (max-width: 720px) { .form-grid { padding: 28px 24px; } }
  .form-grid h3 { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 600; margin-bottom: 8px; }
  .form-grid .lead { font-size: 15px; color: var(--muted); margin-bottom: 26px; }
  .form-field { margin-bottom: 16px; }
  .form-field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
  .form-field input, .form-field select { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; background: #fff; font-family: inherit; }
  .form-field input:focus, .form-field select:focus { outline: none; border-color: var(--wine); }
  .form-submit { width: 100%; background: var(--wine); color: #fff; padding: 18px 24px; border-radius: 12px; font-weight: 700; font-size: 16px; border: none; cursor: pointer; margin-top: 8px; }
  .form-submit:hover { background: var(--wine-dark); }
  .form-privacy { margin-top: 14px; font-size: 12px; color: var(--muted); text-align: center; }
  .messengers { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; }
  .messengers-label { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
  .messengers-row { display: flex; gap: 12px; justify-content: center; }
  .messenger-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; border: 1px solid var(--line); background: #fff; }
  .messenger-btn.wa { color: var(--wa); border-color: var(--wa); }
  .messenger-btn.tg { color: var(--tg); border-color: var(--tg); }
  .messenger-btn.vk { background: #0077FF; color: #fff; }
  .messenger-btn.vk:hover { background: #0066DD; }
  .messenger-btn.pin { background: #E60023; color: #fff; }
  .messenger-btn.pin:hover { background: #C5001E; }

  /* stili dlya rabochey formy ($form_html) */
  .form-grid .form-wrap { margin-bottom: 16px; }
  .form-grid .form-label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
  .form-grid .form-input { width: 100%; padding: 12px 14px; border: 1px solid #d8d4cc; border-radius: 10px; font-family: inherit; font-size: 15px; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; box-sizing: border-box; }
  .form-grid .form-input:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(139,31,46,0.12); }
  .form-grid textarea.form-input { resize: vertical; min-height: 120px; font-family: inherit; }
  .form-grid .button-primary { background: var(--wine); color: #fff; padding: 16px 32px; border-radius: 999px; font-weight: 600; font-size: 16px; border: none; cursor: pointer; transition: background .2s, transform .2s; display: inline-block; font-family: inherit; }
  .form-grid .button-primary:hover { background: var(--wine-dark); transform: translateY(-1px); }
  /* soobschenie ob uspehe / oshibke iz $form_result */
  .form-grid .form-result { margin-bottom: 16px; padding: 12px 16px; border-radius: 10px; font-size: 14px; }

  /* ==== SEARCH SECTION ==== */
  .search-section { 
    padding: 80px 0; 
    background: var(--cream, #f5efe4); 
  }
  .search-section .section-head { 
    text-align: center; 
    max-width: 720px; 
    margin: 0 auto 32px; 
  }
  .search-card { 
    max-width: 720px; 
    margin: 0 auto; 
    background: #fff; 
    border-radius: 20px; 
    padding: 28px; 
    box-shadow: 0 4px 24px rgba(0,0,0,0.04); 
    border: 1px solid rgba(0,0,0,0.05); 
  }
  .search-row { 
    display: flex; 
    gap: 12px; 
    align-items: stretch; 
    flex-wrap: wrap; 
  }
  .search-input { 
    flex: 1 1 280px; 
    margin: 0; 
    padding: 14px 18px; 
    border: 1px solid #d8d4cc; 
    border-radius: 12px; 
    font-family: inherit; 
    font-size: 15px; 
    color: var(--ink, #2b2622); 
    background: #fff; 
    box-sizing: border-box; 
    transition: border-color .2s, box-shadow .2s; 
  }
  .search-input:focus { 
    outline: none; 
    border-color: var(--wine, #8B1F2E); 
    box-shadow: 0 0 0 3px rgba(139,31,46,0.12); 
  }
  .search-input::placeholder { 
    color: #a8a29a; 
  }
  .search-btn { 
    padding: 14px 28px; 
    background: var(--wine, #8B1F2E); 
    color: #fff; 
    border: none; 
    border-radius: 12px; 
    font-family: inherit; 
    font-size: 15px; 
    font-weight: 600; 
    cursor: pointer; 
    white-space: nowrap; 
    transition: background .2s, transform .2s; 
  }
  .search-btn:hover { 
    background: var(--wine-dark, #6e1824); 
    transform: translateY(-1px); 
  }
  .search-results { 
    margin-top: 20px; 
  }
  /* стили дл¤ результатов поиска (если JS рендерит ссылки/карточки) */
  .search-results a { 
    color: var(--wine, #8B1F2E); 
    text-decoration: none; 
    border-bottom: 1px solid rgba(139,31,46,0.3); 
  }
  .search-results a:hover { 
    color: var(--wine-dark, #6e1824); 
    border-bottom-color: var(--wine-dark, #6e1824); 
  }
  @media (max-width: 540px) {
    .search-section { 
      padding: 56px 0; 
    }
    .search-card { 
      padding: 20px; 
      border-radius: 16px; 
    }
    .search-row { 
      flex-direction: column; 
    }
    .search-input, 
    .search-btn { 
      width: 100%; 
    }
  }

  /* FOOTER */
  footer { background: var(--ink); color: #DDD2C2; padding: 60px 0 32px; }
  .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .footer-logo {
   font-family: 'Cormorant Garamond', serif;
   font-size: 28px;
   color: #fff;
   margin-bottom: 20px;
   letter-spacing: 1px;
  }
  @media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
  .footer-col h4 { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 500; color: #fff; margin-bottom: 14px; }
  .footer-col p, .footer-col a { font-size: 14px; color: #B8AC9C; line-height: 1.7; text-decoration: none; display: block; }
  .footer-col a:hover { color: #fff; }
  .footer-bottom { 
    text-align: center; 
    padding-top: 20px; 
    margin-top: 8px;
    font-size: 13px; 
    color: rgba(255,255,255,0.55); 
    line-height: 1.6;
  }
  .footer-bottom strong { 
    color: rgba(255,255,255,0.85); 
    font-weight: 600; 
  }
  .footer-bottom a { 
    color: #6FB7E8;
    text-decoration: none; 
    border-bottom: 1px solid rgba(111,183,232,0.4);
    transition: color .2s, border-color .2s;
    margin-left: 4px;
  }
  .footer-bottom a:hover { 
    color: #9BD0F0;
    border-bottom-color: #9BD0F0;
  }
  @media (max-width: 640px) {
    .footer-bottom { 
      font-size: 12px;
      padding: 20px 16px 0;
    }
  }

  /* STICKY SIDE-CTA Ч скрыт */
  .side-cta { display: none !important; }

  /* STICKY FAB Ч кругла¤ кнопка со скидкой 5% (показываетс¤ после первого экрана) */
  .discount-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 110px; height: 110px;
    border-radius: 50%;
    background: var(--wine);
    color: #fff;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    box-shadow: 0 14px 36px rgba(139,31,46,0.45);
    text-decoration: none;
    z-index: 80;
    border: 3px solid rgba(255,255,255,0.95);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.85);
    transition: opacity .35s, transform .35s, visibility .35s;
  }
  .discount-fab.visible {
    opacity: 1; visibility: visible; transform: scale(1);
    animation: fab-pulse 2.5s ease-in-out infinite;
  }
  @keyframes fab-pulse {
    0%, 100% { box-shadow: 0 14px 36px rgba(139,31,46,0.45), 0 0 0 0 rgba(139,31,46,0.45); }
    50% { box-shadow: 0 14px 36px rgba(139,31,46,0.45), 0 0 0 14px rgba(139,31,46,0); }
  }
  .discount-fab:hover { transform: scale(1.05); }
  .discount-fab .fab-percent { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 700; line-height: 1; color: #E5D78F; }
  .discount-fab .fab-label { font-size: 10px; letter-spacing: 0.5px; line-height: 1.2; margin-top: 4px; padding: 0 4px; }
  @media (max-width: 720px) { .discount-fab { display: none; } }
  .side-cta-title { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 600; line-height: 1.15; }
  .side-cta-sub { font-size: 12px; color: rgba(255,255,255,0.85); line-height: 1.4; }
  .side-cta button { background: #fff; color: var(--wine); border: none; border-radius: 10px; padding: 10px; font-weight: 700; font-size: 13px; cursor: pointer; transition: transform .2s; }
  .side-cta button:hover { transform: translateY(-1px); }
  .side-cta-discount { background: rgba(255,255,255,0.15); color: #fff; padding: 6px 10px; border-radius: 8px; font-size: 11px; font-weight: 600; border: 1px dashed rgba(255,255,255,0.4); }
  @media (max-width: 1280px) { .side-cta { display: none; } }

  /* MOBILE STICKY */
  .mobile-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: rgba(255,255,255,0.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 12px 16px; z-index: 50; gap: 10px; align-items: center; }
  .mobile-cta a.tel { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--cream-dark); color: var(--ink); display: flex; align-items: center; justify-content: center; text-decoration: none; }
  .mobile-cta button { flex: 1; background: var(--wine); color: #fff; border: none; border-radius: 999px; padding: 14px 20px; font-weight: 600; font-size: 15px; cursor: pointer; }
  @media (max-width: 720px) { .mobile-cta { display: flex; } body { padding-bottom: 80px; } }

  .proto-banner { background: #B07418; color: #fff; text-align: center; padding: 8px; font-size: 12px; }

  /* CASE MODAL Ч открываетс¤ при клике на кейс */
  .case-modal { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(31,26,23,0.85); backdrop-filter: blur(20px); padding: 32px 20px; overflow-y: auto; }
  .case-modal.open { display: flex; align-items: flex-start; justify-content: center; }
  .case-modal-inner { background: var(--cream); max-width: 1100px; width: 100%; border-radius: 24px; position: relative; display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,0.4); animation: modal-pop .3s ease-out; }
  @media (max-width: 900px) { .case-modal-inner { grid-template-columns: 1fr; } }
  @keyframes modal-pop { from { opacity: 0; transform: scale(0.95) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
  .case-modal-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; background: rgba(31,26,23,0.6); color: #fff; border: none; cursor: pointer; z-index: 10; font-size: 22px; line-height: 1; transition: background .2s; }
  .case-modal-close:hover { background: rgba(31,26,23,0.85); }

  .case-modal-gallery { background: var(--cream-dark); position: relative; min-height: 360px; }
  .case-modal-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; height: 100%; min-height: 360px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .case-modal-track::-webkit-scrollbar { display: none; }
  .case-modal-photo { aspect-ratio: auto; min-height: 360px; background-size: cover; background-position: center; scroll-snap-align: start; }
  .case-modal-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; gap: 6px; justify-content: center; z-index: 5; }
  .case-modal-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); border: none; padding: 0; cursor: pointer; transition: background .2s, transform .2s; }
  .case-modal-dot.active { background: #E5D78F; transform: scale(1.3); }

  .case-modal-text { padding: 40px 38px; max-height: 80vh; overflow-y: auto; }
  @media (max-width: 720px) { .case-modal-text { padding: 28px 24px; max-height: none; } }
  .case-modal-tag { display: inline-block; background: var(--olive-soft); color: var(--olive); padding: 4px 12px; border-radius: 999px; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; font-weight: 700; }
  .case-modal-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(26px, 2.8vw, 36px); font-weight: 600; line-height: 1.15; margin-bottom: 18px; color: var(--ink); }
  .case-modal-meta { display: flex; gap: 18px; flex-wrap: wrap; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 22px; }
  .case-modal-meta-piece small { display: block; font-size: 10px; color: var(--muted); letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 2px; }
  .case-modal-meta-piece strong { font-size: 14px; font-weight: 700; color: var(--ink); }
  .case-modal-section { margin-bottom: 18px; }
  .case-modal-section h4 { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 600; color: var(--olive); margin-bottom: 8px; }
  .case-modal-section p { font-size: 14px; color: var(--ink); line-height: 1.55; }
  .case-modal-cta { display: inline-block; background: var(--wine); color: #fff; padding: 14px 28px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 14px; margin-top: 8px; }
  .case-modal-cta:hover { background: var(--wine-dark); }

  /*  ейсы кликабельные */
  .mosaic-hero, .mosaic-tile { cursor: pointer; }
  .mosaic-hero::before, .mosaic-tile::before {
    content: "";
    position: absolute; top: 16px; right: 16px; z-index: 3;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238B1F2E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .25s, transform .25s;
  }
  .mosaic-hero:hover::before, .mosaic-tile:hover::before { opacity: 1; transform: translateX(0); }

  /* јнимаци¤ по¤влени¤ секций при скролле */
  .reveal-target { opacity: 0; transform: translateY(28px); transition: opacity .7s ease-out, transform .7s ease-out; }
  .reveal-target.reveal { opacity: 1; transform: translateY(0); }
  @media (prefers-reduced-motion: reduce) {
    .reveal-target { opacity: 1; transform: none; transition: none; }
  }

/* =====================================================================
   ДОПОЛНЕНИЕ К stylelanding.css — блоки главной страницы flora.guru
   Добавить В КОНЕЦ файла stylelanding.css
   Использует переменные из :root существующего файла
   ===================================================================== */


/* =====================================================================
   1. КАТАЛОГ УСЛУГ / ПЛИТКА КАРТОЧЕК-ССЫЛОК
   классы: .other-cases-grid .other-case .other-case-info
           .other-case-tag .other-case-title .other-case-meta
   Используется в блоках: «Каталог услуг по типам объектов» и «Блог»
   ===================================================================== */

.other-cases-grid {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.other-case {
  position: relative;
  display: block;
  min-height: 340px;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background-color: var(--cream-dark);
  background-size: cover;
  background-position: center;
  box-shadow: 0 2px 10px rgba(31, 26, 23, .06);
  transition: transform .3s ease, box-shadow .3s ease;
}

.other-case::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 16, 14, .12) 0%,
    rgba(20, 16, 14, 0) 34%,
    rgba(20, 16, 14, .58) 68%,
    rgba(20, 16, 14, .90) 100%
  );
  transition: opacity .3s ease;
}

.other-case:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(31, 26, 23, .18);
}

.other-case:hover::before {
  opacity: .92;
}

.other-case-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 26px 24px 24px;
}

.other-case-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #DDE7C6;
  background: rgba(107, 122, 53, .78);
  border-radius: 6px;
  padding: 5px 11px;
  margin-bottom: 12px;
}

.other-case-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 8px;
}

.other-case-meta {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .86);
}

/* кнопка-ссылка под плиткой каталога и блога */
.inline-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 34px;
  border-radius: 999px;
  transition: background .25s, color .25s, transform .2s;
}

.inline-cta-btn.outline {
  color: var(--wine);
  border: 1px solid var(--wine);
  background: transparent;
}

.inline-cta-btn.outline:hover {
  background: var(--wine);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 1100px) {
  .other-cases-grid { padding: 0 24px; gap: 22px; }
}

@media (max-width: 900px) {
  .other-cases-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .other-cases-grid { grid-template-columns: 1fr; gap: 18px; padding: 0 20px; }
  .other-case { min-height: 290px; }
  .other-case-info { padding: 22px 20px 20px; }
  .other-case-title { font-size: 22px; }
}


/* =====================================================================
   2. ПОРТФОЛИО — фикс левой колонки
   В CSS описан .portfolio-col.right, но не .portfolio-col.left
   ===================================================================== */

.portfolio-col.left {
  padding-top: 0;
}


/* =====================================================================
   3. ЭФФЕКТ ОЗЕЛЕНЕНИЯ — цветные иконки e1/e2/e3
   Блок .effects тёмно-винный, поэтому иконки светлые полупрозрачные
   ===================================================================== */

.effect-icon.e1 {
  background: rgba(229, 234, 208, .16);
  color: #DDE7C6;
}

.effect-icon.e2 {
  background: rgba(229, 215, 143, .18);
  color: #E5D78F;
}

.effect-icon.e3 {
  background: rgba(255, 241, 212, .16);
  color: #F0DDC9;
}


/* =====================================================================
   4. БОЛЬШОЙ CTA — секция с фоновым фото и затемнением
   классы: .big-cta .big-cta-wrap .big-cta-btn
   Фото передаётся инлайн-переменной --cta-img
   ===================================================================== */

.big-cta {
  position: relative;
  padding: 110px 32px 118px;
  background-color: var(--ink);
  background-image: var(--cta-img);
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  overflow: hidden;
}

.big-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(74, 16, 24, .93) 0%,
    rgba(107, 24, 34, .86) 55%,
    rgba(31, 26, 23, .88) 100%
  );
}

.big-cta-wrap {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.big-cta-wrap h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 20px;
}

.big-cta-wrap h2 .accent {
  color: #E5D78F;
  font-style: italic;
}

.big-cta-wrap p {
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .9);
  max-width: 660px;
  margin: 0 auto 34px;
}

.big-cta-btn {
  display: inline-block;
  background: #fff;
  color: var(--wine);
  padding: 17px 40px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .28);
  transition: transform .2s, background .25s, color .25s;
}

.big-cta-btn:hover {
  background: #E5D78F;
  color: var(--ink);
  transform: translateY(-2px);
}

@media (max-width: 720px) {
  .big-cta { padding: 74px 20px 80px; }
  .big-cta-wrap p { font-size: 15.5px; margin-bottom: 28px; }
  .big-cta-btn { padding: 15px 30px; font-size: 15px; }
}


/* =====================================================================
   5. БЛОГ — секция использует разметку .portfolio + .other-cases-grid
   Здесь только фон-разделитель, чтобы блог визуально отделялся
   от винного CTA выше и FAQ ниже
   ===================================================================== */

#blog.portfolio {
  background: var(--cream-warm);
  padding: 90px 0 100px;
}

#blog .other-case {
  min-height: 300px;
}

/* приглушаем тег на карточках блога — это рубрика, а не сегмент рынка */
#blog .other-case-tag {
  background: rgba(139, 31, 46, .72);
  color: #F6E4E7;
}

@media (max-width: 720px) {
  #blog.portfolio { padding: 62px 0 70px; }
}


/* =====================================================================
   6. КАТАЛОГ УСЛУГ — фон секции #directions
   Отделяем каталог от блока «Три направления» выше
   ===================================================================== */

#directions.portfolio {
  background: var(--cream-dark);
  padding: 90px 0 100px;
}

@media (max-width: 720px) {
  #directions.portfolio { padding: 62px 0 70px; }
}

/* =====================================================================
   ДОПОЛНЕНИЕ v2 — главная страница flora.guru
   Добавить В КОНЕЦ stylelanding.css (после newblocks.css)
   ===================================================================== */


/* =====================================================================
   1. HERO SLIDER — полноэкранный слайдер кейсов
   Только opacity + transform > анимация идёт на GPU, без reflow.
   ===================================================================== */

.hero { position: relative; overflow: hidden; }

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--cream-dark);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

/* --- эффекты входа: у каждого слайда свой --- */

/* Ken Burns — медленный наезд с уводом вбок */
.hero-slide.fx-kenburns { transform: scale(1.06) translate3d(0, 0, 0); }
.hero-slide.fx-kenburns.is-active {
  transform: scale(1.14) translate3d(-1.2%, -1%, 0);
  transition: opacity 1.4s cubic-bezier(.4,0,.2,1), transform 9s linear;
}

/* Zoom out — кадр «успокаивается» */
.hero-slide.fx-zoomout { transform: scale(1.16) translate3d(0, 0, 0); }
.hero-slide.fx-zoomout.is-active {
  transform: scale(1.02) translate3d(0, 0, 0);
  transition: opacity 1.4s cubic-bezier(.4,0,.2,1), transform 8s cubic-bezier(.22,.61,.36,1);
}

/* Медленный сдвиг влево */
.hero-slide.fx-slide-l { transform: scale(1.10) translate3d(2.5%, 0, 0); }
.hero-slide.fx-slide-l.is-active {
  transform: scale(1.10) translate3d(-2.5%, 0, 0);
  transition: opacity 1.4s cubic-bezier(.4,0,.2,1), transform 10s linear;
}

/* Медленный сдвиг вправо */
.hero-slide.fx-slide-r { transform: scale(1.10) translate3d(-2.5%, 0, 0); }
.hero-slide.fx-slide-r.is-active {
  transform: scale(1.10) translate3d(2.5%, 0, 0);
  transition: opacity 1.4s cubic-bezier(.4,0,.2,1), transform 10s linear;
}

/* will-change только на активном слое — не держим память на всех кадрах */
.hero-slide.is-active { will-change: opacity, transform; }

/* контент поверх слайдера */
.hero-content { position: relative; z-index: 3; }

/* точки навигации */
.hero-slider-dots {
  position: absolute;
  right: 32px;
  bottom: 28px;
  z-index: 4;
  display: flex;
  gap: 9px;
}

.hero-slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background .25s, transform .25s;
}

.hero-slider-dots button:hover { background: rgba(255, 255, 255, .55); }

.hero-slider-dots button.is-active {
  background: #fff;
  transform: scale(1.35);
}

@media (max-width: 900px) {
  .hero-slider-dots { right: 50%; transform: translateX(50%); bottom: 18px; }
}

/* уважаем системную настройку «уменьшить движение» */
@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide.is-active {
    transition: opacity .3s linear !important;
    transform: none !important;
  }
}


/* =====================================================================
   2. ЧЕРЕДОВАНИЕ ФОНОВ СЕКЦИЙ
   Модификаторы перебивают фон, заданный в базовых правилах секций
   ===================================================================== */

.bg-cream       { background: var(--cream) !important; }
.bg-cream-dark  { background: var(--cream-dark) !important; }
.bg-cream-warm  { background: var(--cream-warm) !important; }
.bg-olive-soft  { background: var(--olive-soft) !important; }

/* мягкая граница между соседними секциями одного семейства */
.bg-olive-soft + .bg-cream,
.bg-cream + .bg-olive-soft { border-top: 1px solid rgba(107, 122, 53, .10); }


/* =====================================================================
   3. SERVICES TEASER — «Не нашли свой тип объекта?»
   Заменяет одинокую кнопку «Все услуги по типам объектов»
   ===================================================================== */

.services-teaser {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 40px 44px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--olive) 0%, #5A6A2C 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* декоративное свечение, чтобы плашка не читалась плоской заливкой */
.services-teaser::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -90px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 234, 208, .18) 0%, rgba(229, 234, 208, 0) 70%);
  pointer-events: none;
}

.services-teaser-left { position: relative; z-index: 2; }

.services-teaser-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #DDE7C6;
  background: rgba(255, 255, 255, .14);
  border-radius: 999px;
  padding: 5px 13px;
  margin-bottom: 14px;
}

.services-teaser-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 10px;
}

.services-teaser-title .accent {
  color: #E5D78F;
  font-style: italic;
}

.services-teaser-sub {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .88);
  max-width: 720px;
  margin-bottom: 18px;
}

.services-teaser-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.services-teaser-tags a {
  font-size: 13px;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  padding: 7px 14px;
  transition: background .2s, border-color .2s, transform .2s;
}

.services-teaser-tags a:hover {
  background: rgba(255, 255, 255, .95);
  border-color: #fff;
  color: var(--olive);
  transform: translateY(-1px);
}

.services-teaser-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  background: #fff;
  color: var(--olive);
  font-weight: 700;
  font-size: 15.5px;
  text-decoration: none;
  padding: 17px 30px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  transition: transform .2s, background .25s, color .25s;
}

.services-teaser-btn svg { transition: transform .25s; }

.services-teaser-btn:hover {
  background: #E5D78F;
  color: var(--ink);
  transform: translateY(-2px);
}

.services-teaser-btn:hover svg { transform: translateX(4px); }

@media (max-width: 900px) {
  .services-teaser {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 32px 26px;
    text-align: left;
  }
  .services-teaser-btn { justify-content: center; width: 100%; }
}


/* =====================================================================
   4. ФИКС КНОПКИ В БЛОКЕ «БЛОГ»
   Базовое правило .portfolio-footer-cta a красило ссылку в винный цвет
   и текст сливался с винной заливкой .btn-cta-large
   ===================================================================== */

.portfolio-footer-cta a.btn-cta-large,
.portfolio-footer-cta.is-solid a {
  color: #fff !important;
  border-bottom: none !important;
  background: var(--wine);
  padding: 16px 32px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(139, 31, 46, .25);
}

.portfolio-footer-cta a.btn-cta-large:hover,
.portfolio-footer-cta.is-solid a:hover {
  color: #fff !important;
  background: var(--wine-dark);
  transform: translateY(-1px);
}

/* ==============================
   КВИЗ — кнопка-триггер
   ============================== */
#quiz-trigger {
    position: fixed;
    bottom: 100px;
    right: 100px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: #8B6914;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
    cursor: pointer;
    z-index: 9100;          /* выше всех элементов */
    display: flex !important; /* принудительно показать */
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(139,105,20,0.4);
    animation: quiz-pulse 2s infinite;
    transition: transform 0.2s, background 0.2s;
    box-sizing: border-box;
    visibility: visible !important;
    opacity: 1 !important;
}

#quiz-trigger:hover {
    background: #C79682;
    transform: scale(1.05);
}

@keyframes quiz-pulse {
    0%   { box-shadow: 0 0 0 0    rgba(139,105,20,0.5); }
    70%  { box-shadow: 0 0 0 20px rgba(139,105,20,0);   }
    100% { box-shadow: 0 0 0 0    rgba(139,105,20,0);   }
}

/* Планшет 768px–1199px */
@media (max-width: 1199px) {
    #quiz-trigger {
        width: 140px;
        height: 140px;
        font-size: 17px;
        bottom: 80px;
        right: 20px;
    }
}

/* Мобильные до 767px */
@media (max-width: 767px) {
    #quiz-trigger {
        width: 110px;
        height: 110px;
        font-size: 14px;
        bottom: 70px;
        right: 10px;
        padding: 12px;
    }
}

/* Очень маленькие экраны */
@media (max-width: 479px) {
    #quiz-trigger {
        width: 90px;
        height: 90px;
        font-size: 12px;
        bottom: 60px;
        right: 8px;
        padding: 8px;
    }
}

/* Оверлей квиза */
#quiz-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
}

#quiz-overlay.quiz-active {
    display: flex !important;
}

/* Модальное окно */
#quiz-modal {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 640px;
    max-height: 92vh;
    overflow-y: auto;
    padding: 25px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    box-sizing: border-box;
}

@media (max-width: 479px) {
    #quiz-modal {
        padding: 16px;
        border-radius: 8px;
    }
}

/* Шапка */
#quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

#quiz-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    padding-right: 20px;
    line-height: 1.3;
}

#quiz-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    line-height: 1;
    padding: 0;
    flex-shrink: 0;
}

#quiz-close:hover { color: #333; }

/* Прогресс */
#quiz-progress-wrap {
    height: 4px;
    background: #f0e8dc;
    border-radius: 2px;
    margin-bottom: 6px;
}

#quiz-progress-bar {
    height: 4px;
    background: #8B6914;
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 20%;
}

#quiz-progress-text {
    font-size: 12px;
    color: #999;
    margin-bottom: 20px;
}

#quiz-nav {
    display: flex;
    justify-content: flex-end;  /* выравнивание вправо */
    align-items: center;
    gap: 12px;
    margin-top: 28px;           /* отступ сверху от контента */
    padding-top: 20px;          /* дополнительный отступ */
    border-top: 1px solid #f0e8dc; /* тонкий разделитель */
}

/* Заголовок шага */
.quiz-step-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0 0 14px 0;
}

.quiz-step-hint {
    font-size: 13px;
    color: #888;
    margin: -10px 0 14px 0;
}

/* Сетка вариантов */
.quiz-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@media (max-width: 480px) {
    .quiz-options-grid {
        grid-template-columns: 1fr;
    }
}

/* Вариант ответа */
.quiz-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1.5px solid #e8ddd0;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    font-size: 14px;
    color: #444;
    line-height: 1.3;
}

.quiz-option:hover {
    border-color: #C79682;
    background: #fdf8f4;
}

.quiz-option input[type="radio"],
.quiz-option input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: #8B6914;
    cursor: pointer;
}

.quiz-option:has(input:checked) {
    border-color: #8B6914;
    background: #fdf5e8
}

/* All modules end */