*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --red: #C8102E; --red-dark: #a00d24; --red-subtle: #fff0f2; --red-mid: #ffd6db;
      --ink: #0f0f0f; --ink-2: #1e1e1e; --ink-3: #3a3a3a; --muted: #6b6b6b;
      --light: #f5f3f0; --lighter: #faf9f7; --border: #e8e4df; --white: #ffffff;
    }
    html { scroll-behavior: smooth; }
    body { font-family: 'Manrope', sans-serif; background: var(--white); color: var(--ink); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }

    a:hover { color: #C8102E; text-decoration: none; }

    /* HEADER */
    .site-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
    .header-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; height: 60px; display: flex; align-items: center; gap: 2rem; }
    .logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
    .logo-icon { width: 32px; height: 32px; background: var(--red); border-radius: 7px; display: flex; align-items: center; justify-content: center; color: #fff; font-family: 'Onest', sans-serif; font-weight: 700; font-size: 14px; }
    .logo-name { font-family: 'Onest', sans-serif; font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
    .header-nav { margin-left: auto; display: flex; gap: 1.5rem; align-items: center; }
    .header-nav a { font-size: 13px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .2s; }
    .header-nav a:hover, .header-nav a.active { color: var(--red); }
    .header-nav .nav-cta { background: var(--red); color: #fff !important; padding: 7px 16px; border-radius: 8px; font-weight: 600; }
    .header-nav .nav-cta:hover { background: var(--red-dark) !important; }

    /* PAGE */
    .page-wrapper { max-width: 1100px; margin: 0 auto; padding: 2.5rem 2rem 1rem; }

    /* BREADCRUMB */
    .bc { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 2rem; flex-wrap: wrap; }
    .bc a { color: var(--muted); text-decoration: none; }
    .bc a:hover { color: var(--red); }
    .bc-sep { color: var(--border); }
    .bc-cur { color: var(--red); }

    /* PAGE HEADER */
    .page-head { text-align: center; margin-bottom: 3rem; }
    .page-eyebrow { display: inline-flex; align-items: center; gap: 6px; background: var(--red); color: #fff; font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 12px; border-radius: 100px; margin-bottom: 1.25rem; }
    h1 { font-family: 'Onest', sans-serif; font-size: clamp(28px, 4vw, 42px); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 0.75rem; }
    .page-sub { font-size: 16px; color: var(--muted); font-weight: 400; }

    /* HERO STRIP */
    .hero-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; margin-bottom: 3rem; }
    .hs-cell { background: var(--lighter); padding: 1.5rem 1.25rem; display: flex; flex-direction: column; gap: 4px; }
    .hs-cell:first-child { border-radius: 15px 0 0 15px; }
    .hs-cell:last-child { border-radius: 0 15px 15px 0; }
    .hs-num { font-family: 'Onest', sans-serif; font-size: 32px; font-weight: 700; color: var(--red); line-height: 1; letter-spacing: -0.02em; }
    .hs-label { font-size: 12px; font-weight: 500; color: var(--muted); line-height: 1.35; }
    .hs-sub { font-size: 11px; color: #bbb; margin-top: 2px; }

    /* FILTERS */
    .filters-wrap { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 2rem; }
    .filters-label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-right: 4px; white-space: nowrap; }
    .filter-btn { font-family: 'Onest', sans-serif !important; font-size: 12px !important; font-weight: 600 !important; padding: 7px 16px !important; border-radius: 100px !important; border: 1.5px solid var(--border) !important; background-color: var(--lighter) !important; color: var(--ink-3) !important; cursor: pointer; transition: all .15s; letter-spacing: -0.01em; line-height: normal; -webkit-appearance: none; appearance: none; white-space: nowrap; }
    .filter-btn:hover { border-color: var(--red) !important; color: var(--red) !important; background-color: var(--white) !important; }
    .filter-btn.active { background-color: var(--red) !important; color: #ffffff !important; border-color: var(--red) !important; }
    .filter-btn.active:hover { background-color: var(--red-dark) !important; }

    /* GRID */
    .cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 2rem; }
    .case-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; cursor: pointer; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
    .case-card:hover { border-color: var(--red); box-shadow: 0 4px 16px rgba(200,16,46,0.08); }
    .case-card:hover .case-img-overlay { opacity: 1; }
    /*.case-img-wrap { position: relative; height: 160px; overflow: hidden; }
    .case-img-placeholder { 
      position: relative;
      width: 100%;
      aspect-ratio: 360 / 160;
      overflow: hidden;
    }
    .case-img-placeholder img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }*/
    .case-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 360 / 160;
  overflow: hidden;
}

.case-img-placeholder {
  position: absolute;
  inset: 0;
}

.case-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
    .case-img-placeholder svg { width: 52px; height: 52px; opacity: 0.45; }
    .case-img-overlay { position: absolute; inset: 0; background: rgba(200,16,46,0.05); opacity: 0; transition: opacity .2s; display: flex; align-items: center; justify-content: center; }
    .case-img-overlay svg { width: 28px; height: 28px; stroke: var(--red); fill: none; stroke-width: 2; }
    .case-body { padding: 1.1rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
    .case-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 8px; }
    .case-tag { font-family: 'Onest', sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; }
    .tag-horeca { background: #e8f5e9; color: #2e7d32; }
    .tag-logistics { background: #e8f4fd; color: #1565c0; }
    .tag-distribution { background: #fff8e1; color: #e65100; }
    .tag-medicine { background: #f3e5f5; color: #6a1b9a; }
    .tag-retail { background: #e0f2f1; color: #00695c; }
    .tag-telecom { background: #ede7f6; color: #4527a0; }
    .tag-smart { background: #fce4ec; color: #880e4f; }
    .case-product { font-size: 10px; font-weight: 600; color: #bbb; font-family: 'Onest', sans-serif; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
    .case-title { font-family: 'Onest', sans-serif; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 8px; }
    .case-text { font-size: 12.5px; line-height: 1.65; color: var(--muted); flex: 1; margin-bottom: 12px; }
    .case-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--light); }
    .case-client { display: flex; align-items: center; gap: 7px; }
    .case-avatar { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Onest', sans-serif; font-size: 10px; font-weight: 700; }
    .case-client-name { font-size: 11.5px; color: var(--muted); font-weight: 500; }
    .case-arrow-icon { width: 16px; height: 16px; stroke: var(--red); fill: none; stroke-width: 2; }
    .case-card.hidden { display: none; }

    /* PAGINATION */
    .pagination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 1.5rem; border-top: 1px solid var(--border); }
    .page-info { font-size: 13px; color: var(--muted); }
    .page-info b { color: var(--ink-2); font-weight: 600; }
    .page-controls { display: flex; align-items: center; gap: 4px; }
    .page-btn { font-family: 'Onest', sans-serif !important; font-size: 13px !important; font-weight: 600 !important; width: 34px !important; height: 34px !important; border-radius: 8px !important; border: 1.5px solid var(--border) !important; background-color: var(--lighter) !important; color: var(--ink-3) !important; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .15s; -webkit-appearance: none; appearance: none; padding: 0 !important; line-height: normal; }
    .page-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; }
    .page-btn:hover:not(:disabled) { border-color: var(--red) !important; color: var(--red) !important; background-color: var(--white) !important; }
    .page-btn.active { background-color: var(--red) !important; color: #ffffff !important; border-color: var(--red) !important; }
    .page-btn.active:hover { background-color: var(--red-dark) !important; color: #ffffff !important; }
    .page-btn:disabled { opacity: 0.35 !important; cursor: default; }
    .page-dots { font-size: 14px; color: #bbb; padding: 0 4px; }

    /* CTA */
    .cta { background: linear-gradient(135deg, var(--ink) 0%, #2a1a1e 100%); border-radius: 20px; padding: 2.5rem; margin: 3rem 0 0; overflow: hidden; position: relative; }
    .cta::before { content: ''; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(200,16,46,0.25) 0%, transparent 70%); pointer-events: none; }
    .cta-content { position: relative; display: flex; flex-direction: column; gap: 1.25rem; }
    .cta-title { font-family: 'Onest', sans-serif; font-size: 24px; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
    .cta-sub { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.55); max-width: 520px; }
    .cta-form { display: flex; gap: 10px; flex-wrap: wrap; }
    .cta-input { background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.15); border-radius: 10px; padding: 11px 16px; color: #fff; font-size: 13px; font-family: 'Manrope', sans-serif; outline: none; min-width: 180px; flex: 1; transition: border-color .2s; }
    .cta-input::placeholder { color: rgba(255,255,255,0.35); }
    .cta-input:focus { border-color: rgba(255,255,255,0.4); }
    .cta-btn { background: var(--red) !important; color: #fff !important; border: none !important; border-radius: 10px !important; padding: 11px 22px !important; font-family: 'Manrope', sans-serif !important; font-size: 13px !important; font-weight: 600 !important; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .2s, transform .15s; white-space: nowrap; -webkit-appearance: none; appearance: none; }
    .cta-btn:hover { background: var(--red-dark) !important; transform: translateY(-1px); }
    .cta-btn svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2; }

    /* FOOTER */
    .site-footer { background: var(--ink); color: rgba(255,255,255,0.55); padding: 3rem 2rem; margin-top: 4rem; }
    .footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
    .footer-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
    .footer-logo-icon { width: 28px; height: 28px; background: var(--red); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #fff; font-family: 'Onest', sans-serif; font-weight: 700; font-size: 13px; }
    .footer-logo-name { font-family: 'Onest', sans-serif; font-size: 16px; color: #fff; font-weight: 700; letter-spacing: -0.01em; }
    .footer-desc { font-size: 12.5px; line-height: 1.65; }
    .footer-col h4 { font-family: 'Onest', sans-serif; font-size: 11px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
    .footer-col ul li a { font-size: 12.5px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color .2s; }
    .footer-col ul li a:hover { color: #fff; }
    .footer-bottom { max-width: 1100px; margin: 2rem auto 0; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.08); font-size: 11.5px; color: rgba(255,255,255,0.3); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

    /* RESPONSIVE — взяті з кейсу */
    @media (max-width: 860px) {
      .cases-grid { grid-template-columns: repeat(2, 1fr); }
      .hero-strip { grid-template-columns: repeat(2, 1fr); }
      .footer-inner { grid-template-columns: 1fr 1fr; }
      .header-nav { display: none; }
      .cta { padding: 1.75rem 1.5rem; }
    }

    @media (max-width: 480px) {
      .page-wrapper { padding: 1.25rem 1rem 3rem; }
      h1 { font-size: 26px; line-height: 1.18; }
      .cases-grid { grid-template-columns: 1fr; }
      .hero-strip { grid-template-columns: 1fr 1fr; }
      .cta-title { font-size: 20px; }
      .cta-form { flex-direction: column; }
      .footer-inner { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; }
      .filters-wrap { gap: 6px; }
    }

    @media (max-width: 640px) {
      .page-info { width: 100%; }
    }
    #contacts{
        display: none !important;
    }