
  .qm-customer-gallery {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 42px 18px 46px;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f7f4;
  }

  .qm-customer-gallery * {
    box-sizing: border-box;
  }

  .qm-gallery-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.35fr;
    gap: 20px;
    align-items: stretch;
  }

  .qm-gallery-left {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .qm-gallery-head {
    text-align: left;
    padding: 4px 0 2px;
  }

  .qm-gallery-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #f08316;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
  }

  .qm-gallery-head h2 {
    margin: 0;
    color: #111;
    font-size: clamp(28px, 2.8vw, 42px);
    line-height: 1.12;
    font-weight: 850;
    letter-spacing: -0.7px;
  }

  .qm-gallery-head h2::after {
    content: "";
    display: block;
    width: 62px;
    height: 4px;
    margin: 14px 0 0;
    border-radius: 999px;
    background: #244b1f;
  }

  .qm-gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 16px;
    background: #e9e9e5;
    border: 1px solid rgba(20, 30, 20, 0.08);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
  }

  .qm-gallery-main {
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 420px;
  }

  .qm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .qm-gallery-grid .qm-gallery-item {
    aspect-ratio: 4 / 3;
    max-height: 275px;
  }

  .qm-gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
  }

  .qm-gallery-item:hover img {
    transform: scale(1.04);
  }

  .qm-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.01) 0%,
      rgba(0, 0, 0, 0.08) 100%
    );
  }

  @media (max-width: 1100px) {
    .qm-gallery-layout {
      grid-template-columns: 1fr;
    }

    .qm-gallery-main {
      max-height: none;
      aspect-ratio: 16 / 9;
    }

    .qm-gallery-grid .qm-gallery-item {
      max-height: none;
    }
  }

  @media (max-width: 768px) {
    .qm-customer-gallery {
      padding: 34px 14px 38px;
    }

    .qm-gallery-layout {
      gap: 16px;
    }

    .qm-gallery-head h2 {
      font-size: 30px;
    }

    .qm-gallery-grid {
      grid-template-columns: 1fr;
      gap: 14px;
    }

    .qm-gallery-item {
      border-radius: 14px;
    }

    .qm-gallery-main,
    .qm-gallery-grid .qm-gallery-item {
      aspect-ratio: 4 / 3;
    }
  }
