/* Prevodilačke usluge preko SVG ikonica (part/interpreter-offer.twig):
   promotivni bend (3 prednosti) + numerisana mreža usluga (7 ikonica). */

.interpreter-offer {
  overflow: hidden;
  background: linear-gradient(180deg, var(--grey-faint) 0%, var(--white) 100%);
}

.interpreter-offer-head {
  max-width: 660px;
  margin-bottom: 3rem;
}

.interpreter-offer-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.125rem;
  padding: 0.4375rem 1rem;
  border-radius: 100px;
  background-color: var(--pink-faint);
  color: var(--orange-dark);
  font-family: var(--h-font), system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
}

.interpreter-offer-lead {
  color: var(--grey-clay);
  font-size: 1.12rem;
}

/* ---------- promotivni bend ---------- */
.interpreter-offer-promos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.io-promo {
  --io-accent: var(--orange-dark);

  display: flex;
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  padding: 2.4rem 1.75rem 1.9rem;
  border-radius: 1.25rem;
  background: linear-gradient(160deg, var(--blue-classic) 0%, #0f2f43 100%);
  box-shadow: 0 18px 40px rgba(13, 14, 18, 0.12);
  color: var(--white);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* topli akcenat na srednjoj kartici da bend ne bude monoton */
.io-promo:nth-child(2) {
  background: linear-gradient(160deg, var(--orange-dark) 0%, #c9490a 100%);
}

.io-promo::before {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  content: "";
}

.io-promo:hover {
  box-shadow: 0 22px 46px rgba(13, 14, 18, 0.18);
  transform: translateY(-6px);
}

.io-promo-badge {
  align-self: flex-end;
  margin-bottom: 1rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-family: var(--h-font), system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.io-promo-icon {
  display: grid;
  position: relative;
  z-index: 1;
  width: 5.5rem;
  height: 5.5rem;
  margin-bottom: 1.25rem;
  place-items: center;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.14);
}

.io-promo-icon img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  /* SVG ikonice u bendu su na tamnoj podlozi — posvetljujemo ih na belo */
  filter: brightness(0) invert(1);
}

.io-promo-title {
  margin: 0 0 0.6rem;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
}

.io-promo-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* ---------- mreža usluga ---------- */
.io-services-title {
  margin-bottom: 2.25rem;
  color: var(--grey-olive);
  font-size: 1.6rem;
  font-weight: 800;
}

.interpreter-offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.io-service {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  padding: 1.9rem 1.6rem 1.7rem;
  border: 1px solid rgba(65, 133, 170, 0.16);
  border-radius: 1.25rem;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(13, 14, 18, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.io-service::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-primary, #ff7319);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  content: "";
}

.io-service:hover {
  border-color: rgba(255, 115, 25, 0.35);
  box-shadow: 0 18px 38px rgba(13, 14, 18, 0.1);
  transform: translateY(-6px);
}

.io-service:hover::after {
  transform: scaleX(1);
}

.io-service-index {
  position: absolute;
  top: 1.25rem;
  right: 1.4rem;
  color: var(--blue-classic);
  font-family: var(--h-font), system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0.14;
}

.io-service-icon {
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1.15rem;
  place-items: center;
  border-radius: 1rem;
  background: var(--blue-faint);
  transition: background-color 0.3s ease;
}

.io-service:hover .io-service-icon {
  background: rgba(255, 115, 25, 0.12);
}

.io-service-icon img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.io-service-title {
  margin: 0 0 0.55rem;
  color: var(--grey-olive);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
}

.io-service-text {
  margin: 0;
  color: var(--grey-clay);
  font-size: 0.94rem;
  line-height: 1.55;
}

@media (max-width: 1199.98px) {
  .interpreter-offer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .interpreter-offer-promos {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .interpreter-offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .interpreter-offer-grid {
    grid-template-columns: 1fr;
  }

  .io-promo-title {
    font-size: 1.28rem;
  }

  .io-service-title {
    font-size: 1.12rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .io-promo,
  .io-service,
  .io-service::after,
  .io-service-icon {
    transition: none;
  }

  .io-promo:hover,
  .io-service:hover {
    transform: none;
  }
}
