/**
 * Pachet A + B — micro-interacțiuni (CSS only, hover/focus).
 * Scroll reveal rămâne în main.js (.reveal).
 */

@media (hover: hover) {
  .cms-article-card {
    transition:
      border-color 0.22s ease,
      box-shadow 0.25s ease,
      transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .cms-article-card:hover,
  .cms-article-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgb(15 23 42 / 0.1);
    border-color: rgb(87 86 92 / 0.22);
  }

  .cms-article-card__media img {
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .cms-article-card:hover .cms-article-card__media img,
  .cms-article-card:focus-within .cms-article-card__media img {
    transform: scale(1.04);
  }

  .loc-agency-card--detail {
    transition:
      border-color 0.22s ease,
      box-shadow 0.28s ease,
      transform 0.25s ease;
  }

  .loc-agency-card--detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgb(15 23 42 / 0.08);
  }

  .loc-agency-card--detail.is-active {
    transform: none;
  }

  .loc-agency-gallery__slide img {
    transition: transform 0.5s ease;
  }

  .loc-agency-card--detail:hover .loc-agency-gallery__slide img {
    transform: scale(1.02);
  }

  .contact-channel {
    transition:
      border-color 0.2s ease,
      box-shadow 0.25s ease,
      transform 0.2s ease;
  }

  .contact-channel:hover {
    transform: translateY(-3px);
  }

  .contact-quick__link {
    transition:
      border-color 0.2s ease,
      background 0.2s ease,
      transform 0.2s ease;
  }

  .contact-quick__link:hover {
    transform: translateX(3px);
  }

  .rn2-panel,
  .rn-city-card {
    transition:
      transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
      box-shadow 0.28s ease;
  }

  .rn2-panel:hover,
  .rn2-panel:focus-visible,
  .rn-city-card:hover,
  .rn-city-card:focus-visible {
    transform: translateY(-3px);
  }

  /* Pachet B — homepage */
  .process-facts li {
    transition:
      border-color 0.22s ease,
      box-shadow 0.25s ease,
      transform 0.22s ease;
  }

  .process-facts li:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgb(15 23 42 / 0.06);
  }

  .reel-bridge-pillars li {
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  .reel-bridge-pillars li:hover {
    transform: translateX(4px);
  }

  .reel-bridge-tile {
    transition:
      border-color 0.22s ease,
      box-shadow 0.25s ease,
      transform 0.22s ease;
  }

  .reel-bridge-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgb(15 23 42 / 0.07);
  }

  .stack-card {
    transition:
      border-color 0.25s ease,
      box-shadow 0.3s ease,
      transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .stack-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgb(15 23 42 / 0.09);
  }

  .faq-item {
    transition:
      border-color 0.2s ease,
      box-shadow 0.22s ease,
      background 0.2s ease;
  }

  .faq-item:hover:not(.open) {
    box-shadow: 0 8px 22px rgb(15 23 42 / 0.05);
  }

  .bnr-gold-band__grid li {
    transition:
      border-color 0.2s ease,
      transform 0.2s ease,
      box-shadow 0.22s ease;
  }

  .bnr-gold-band__grid li:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgb(15 23 42 / 0.06);
  }
}

.contact-channel:active,
.contact-quick__link:active,
.rn2-panel:active,
.rn-city-card:active {
  transform: translateY(0) scale(0.99);
}

.contact-channel:focus-visible,
.contact-quick__link:focus-visible,
.loc-map-point:focus-visible,
.cms-article-card:focus-within {
  outline: 2px solid rgb(244 231 8 / 0.85);
  outline-offset: 2px;
}

.loc-map-point {
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.loc-map-point:hover:not(:disabled),
.loc-map-point.is-active {
  box-shadow: 0 8px 20px rgb(15 23 42 / 0.06);
}

.loc-map-point.is-active {
  border-color: var(--brand-yellow, #f4e708);
}

@media (prefers-reduced-motion: reduce) {
  .cms-article-card,
  .cms-article-card__media img,
  .loc-agency-card--detail,
  .loc-agency-gallery__slide img,
  .contact-channel,
  .contact-quick__link,
  .rn2-panel,
  .rn-city-card,
  .loc-map-point,
  .process-facts li,
  .reel-bridge-pillars li,
  .reel-bridge-tile,
  .stack-card,
  .bnr-gold-band__grid li {
    transform: none !important;
  }
}
