.services{
    color:var(--ink);
    padding:40px 40px 20px 40px;
    font-family:'Eurostile LT Std',sans-serif;
    background: transparent ;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .services__container{
    max-width:1440px;
    width: 100%;
  }
  .service-item {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 3vw, 32px);
    height: 100%;
    position: relative;
    padding: clamp(22px, 3vw, 32px);
    border-radius: 24px;
    box-sizing: border-box;
    border: 1px solid rgba(211, 171, 103, 0.12);
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.92), rgba(6, 6, 6, 0.85));
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
    transition: transform var(--hover-duration, 320ms) var(--hover-ease, ease),
                box-shadow var(--hover-duration, 320ms) ease,
                border-color var(--hover-duration, 320ms) ease,
                background var(--hover-duration, 320ms) ease;
    isolation: isolate;
    overflow: hidden;
  }

  .service-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    width: 100%;
  }

  
  .service-item::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 12% 18%, rgba(211, 171, 103, 0.22), transparent 55%);
    opacity: 0;
    transition: opacity var(--hover-duration, 320ms) ease;
    pointer-events: none;
    mix-blend-mode: screen;
  }

  .service-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-glow, 0 22px 45px rgba(211, 171, 103, 0.35));
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  }

  .service-item:hover::before {
    opacity: 1;
    animation: kde-glint 3.2s linear infinite;
  }
  
  
.service-left {
  flex: 0 1 40%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-width: 0;
}
.services__corner {
  position: relative;
  width: clamp(33px, 4vw, 52px);
  height: clamp(33px, 4vw, 52px);
  border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.301);
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: var(--fs-clamp-card);
  flex-shrink: 0;
  margin: 0;
}
  
  .services__title {
    color: var(--ink);
    font-family: 'Eurostile LT Std', sans-serif;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    font-size: var(--fs-36);
    text-align: left;
    line-height: 1.2;
    word-break: break-word;
    white-space: normal;
    max-width: clamp(180px, 40vw, 420px);
    transition: color var(--hover-duration, 320ms) ease,
                letter-spacing var(--hover-duration, 320ms) ease;
  }
  
  .service-item:hover .services__title {
    color: var(--color-hero, #D3AB67);
    letter-spacing: 0.05em;
  }

  .service-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .service-arrow__icon {
    width: 48px;
    height: auto;
    filter: brightness(0) saturate(100%) invert(74%) sepia(14%) saturate(1017%) hue-rotate(342deg) brightness(94%) contrast(88%);
    transition: transform var(--hover-duration, 320ms) var(--hover-ease, ease),
                filter var(--hover-duration, 320ms) ease;
  }
  
  .service-arrow__icon:hover {
    transform: translateX(4px);
  }

  .service-item:hover .service-arrow__icon {
    transform: translateX(8px) rotate(12deg);
  }
  
.service-image {
  flex: 0 1 50%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
  
  .service-image img {
    aspect-ratio: 4 / 1;
    width: 100%;
    max-height: 115px;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform var(--hover-duration, 320ms) var(--hover-ease, ease),
                opacity var(--hover-duration, 320ms) ease,
                filter var(--hover-duration, 320ms) ease;
  }
  .service-image img:hover {
    transform: scale(1.03);
    opacity: 1;
  }

  .service-item:hover .service-image img {
    transform: scale(1.05);
    filter: brightness(1.05);
  }
  
  .sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0
  }
  
  .service-toggle {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 6px;
    cursor: pointer;
    line-height: 0;
    display: grid;
    place-items: center
  }
  
.service-item.is-open .service-arrow__icon {
  transform: rotate(90deg);
}

.service-panel {
  overflow: hidden;
  max-height: 0;
  padding-block: 0;
    transition: max-height .35s ease, padding-block .25s ease
}

.service-panel__text {
  color: var(--ink);
  font-size: var(--fs-26);
  line-height: 1.6;
  margin: 0;
}


  @media (prefers-reduced-motion: reduce) {
    .service-item,
    .service-item::before,
    .service-arrow__icon,
    .service-image img,
    .services__title,
    .service-panel {
      transition: none !important;
    }
    .service-item:hover {
      transform: none;
      box-shadow: none;
    }
    .service-item:hover::before {
      animation: none;
    }
  }
@media (max-width: 1024px) {
  .service-item {
    gap: 2rem;
  }
  .service-main {
    gap: 2rem;
  }
  .services__title {
    font-size: var(--fs-32);
  }
  .service-arrow {
    flex-basis: 100px;
      font-size: var(--fs-48);
    }
    .service-image img {
      max-width: 450px;
    }
    .service-left {
      flex: 0 1 45%;
    }
  
    .service-image {
      flex: 0 1 45%;
    }
  
    .services__title {
      font-size: var(--fs-30);
    }
  }

  
  
@media (max-width: 768px) {
  .services {
    padding: 20px 20px 40px;
  }

  .service-item {
    align-items: stretch;
    text-align: left;
    gap: 1.5rem;
  }

  .service-main {
    flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 0.8rem;
  }

  .service-main .service-left {
    order: 1;
    flex: 1 1 auto;
    min-height: 70px;
    justify-content: flex-start;
  }

  .service-main .service-image {
    order: 2;
    justify-content: center;
  }

  .service-main .service-arrow {
    order: 3;
  }

  .service-left {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }

  .services__corner {
    width: 36px;
    height: 36px;
      font-size: var(--fs-18);
    }
  
  .services__title {
    font-size: var(--fs-22);
    line-height: 1.3;
    padding: 0;
    text-align: left;
    max-width: 90%;
  }

  .service-arrow {
    font-size: var(--fs-26); 
    margin: 0.4rem 0;
    flex: 0 0 auto;
  }

  .service-image {
    justify-content: center;
    width: 100%;
    min-height: 120px;
  }

  .service-image img {
    width: 100%;
    aspect-ratio: 4 / 1;       /* keep your signature 4:1 look */
      max-width: 100%;
      border-radius: 8px;
      object-fit: cover;
  }
  .service-panel__text {
    font-size: var(--fs-22);
    margin: 0;
  }
}
