/* Operations Control Center — Hızlı Erişim (light / soft) */

.ops-quick-access {
  position: relative;
  isolation: isolate;
  overflow: visible;
  color: #0f172a;
}

.ops-quick-access__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    165deg,
    #f8fafc 0%,
    #f1f5f9 42%,
    #eef2f7 78%,
    #e8edf3 100%
  );
}

.ops-quick-access__grid-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
}

.ops-quick-access__glow-left {
  position: absolute;
  top: 8%;
  left: -5rem;
  width: 16rem;
  height: 16rem;
  border-radius: 9999px;
  pointer-events: none;
  background: rgba(227, 6, 19, 0.08);
  filter: blur(80px);
}

.ops-quick-access__glow-right {
  position: absolute;
  bottom: 10%;
  right: -3rem;
  width: 12rem;
  height: 12rem;
  border-radius: 9999px;
  pointer-events: none;
  background: rgba(59, 130, 246, 0.06);
  filter: blur(70px);
}

.ops-quick-access__top-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(227, 6, 19, 0.22), transparent);
}

.ops-quick-access__inner {
  position: relative;
  z-index: 3;
  max-width: 80rem;
  margin-inline: auto;
  padding: 2.5rem 1rem 3.5rem;
  pointer-events: none;
}

.ops-quick-access__inner a,
.ops-quick-access__inner button {
  pointer-events: auto;
}

.ops-quick-access__head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.ops-quick-access__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
  padding: 0.3rem 0.8rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #dc2626;
  border: 1px solid rgba(227, 6, 19, 0.18);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.ops-quick-access__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.45);
}

.ops-quick-access__title {
  margin: 0;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #0f172a;
}

.ops-quick-access__lead {
  margin: 0.75rem 0 0;
  max-width: 28rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #64748b;
}

.ops-quick-access__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ops-quick-access__stat {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4rem 0.8rem;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.ops-quick-access__stat svg,
.ops-quick-access__stat i {
  width: 12px;
  height: 12px;
  color: #e30613;
  flex-shrink: 0;
}

/* Kartların arkasında — en soldan sağa, ekstra üst boşluk yok */
.ops-quick-access__cards-wrap {
  position: relative;
}

.ops-route {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  width: 100vw;
  height: 10rem;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ops-route__svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ops-route__bed {
  opacity: 0.95;
}

.ops-route__line {
  opacity: 0.85;
}

.ops-route__beacon {
  filter: drop-shadow(0 0 10px rgba(227, 6, 19, 0.5));
}

.ops-quick-access__cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* Soft image card */
.ops-card {
  position: relative;
  isolation: isolate;
  display: block;
  min-height: 200px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 1.5rem;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 32px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.ops-card:hover {
  transform: translateY(-3px);
  border-color: rgba(227, 6, 19, 0.12);
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.05),
    0 20px 44px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(227, 6, 19, 0.06);
}

.ops-card__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.ops-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  transition: transform 0.45s ease;
}

.ops-card:hover .ops-card__img {
  transform: scale(1.03);
}

.ops-card__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    #fff 0%,
    #fff 38%,
    rgba(255, 255, 255, 0.97) 52%,
    rgba(255, 255, 255, 0.82) 62%,
    rgba(255, 255, 255, 0.35) 78%,
    transparent 100%
  );
}

.ops-card__spotlight {
  position: absolute;
  top: -1.5rem;
  left: 12%;
  z-index: 2;
  width: 11rem;
  height: 5rem;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(227, 6, 19, 0.12), transparent 70%);
}

.ops-card__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  max-width: 72%;
  padding: 1.35rem 1.25rem 1.35rem 1.35rem;
}

.ops-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 0.65rem;
  border: 1px solid rgba(227, 6, 19, 0.12);
  border-radius: 9999px;
  background: #fff;
  color: #e30613;
  box-shadow:
    0 0 0 4px rgba(227, 6, 19, 0.06),
    0 4px 12px rgba(15, 23, 42, 0.06);
}

.ops-card__icon svg,
.ops-card__icon i {
  width: 16px;
  height: 16px;
}

.ops-card__category {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e30613;
}

.ops-card__title {
  margin: 0 0 0.45rem;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.ops-card__desc {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #64748b;
}

.ops-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  width: fit-content;
  padding: 0.55rem 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  border-radius: 9999px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.ops-card__cta svg,
.ops-card__cta i {
  width: 13px;
  height: 13px;
  transition: transform 0.25s ease;
}

.ops-card:hover .ops-card__cta {
  background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.22);
}

.ops-card:hover .ops-card__cta svg,
.ops-card:hover .ops-card__cta i {
  transform: translateX(2px);
}

@media (min-width: 640px) {
  .ops-quick-access__inner {
    padding: 3rem 1.5rem 4rem;
  }

  .ops-card {
    min-height: 212px;
  }

  .ops-card__content {
    min-height: 212px;
    padding: 1.5rem 1.35rem 1.5rem 1.5rem;
    max-width: 68%;
  }

  .ops-card__title {
    font-size: 1.125rem;
  }

  .ops-card__desc {
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .ops-quick-access__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .ops-card__content {
    max-width: 74%;
  }
}

@media (min-width: 1024px) {
  .ops-quick-access__inner {
    padding: 3.5rem 2rem 4.5rem;
  }

  .ops-quick-access__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.25rem;
  }

  .ops-quick-access__stats {
    justify-content: flex-end;
  }

  .ops-quick-access__cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .ops-card {
    min-height: 220px;
  }

  .ops-card__content {
    min-height: 220px;
    max-width: 78%;
    padding: 1.35rem 1rem 1.35rem 1.35rem;
  }

  .ops-card__veil {
    background: linear-gradient(
      100deg,
      #fff 0%,
      #fff 42%,
      rgba(255, 255, 255, 0.96) 54%,
      rgba(255, 255, 255, 0.75) 66%,
      rgba(255, 255, 255, 0.2) 82%,
      transparent 100%
    );
  }
}

@media (max-width: 479px) {
  .ops-card__content {
    max-width: 100%;
    min-height: auto;
    padding-bottom: 7.5rem;
  }

  .ops-card__veil {
    background: linear-gradient(
      180deg,
      #fff 0%,
      #fff 42%,
      rgba(255, 255, 255, 0.92) 58%,
      rgba(255, 255, 255, 0.5) 72%,
      transparent 100%
    );
  }

  .ops-card__visual {
    top: auto;
    height: 42%;
  }

  .ops-card__img {
    object-position: center center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ops-card,
  .ops-card__img,
  .ops-card__cta,
  .ops-card__cta svg,
  .ops-card__cta i {
    transition: none;
  }

  .ops-card:hover {
    transform: none;
  }

  .ops-card:hover .ops-card__img {
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .ops-route__line {
    animation: ops-route-dash 3.2s linear infinite;
  }

  .ops-route__beacon circle:nth-child(2) {
    animation: ops-route-beacon-pulse 2.4s ease-in-out infinite;
  }
}

@keyframes ops-route-dash {
  to {
    stroke-dashoffset: -44;
  }
}

@keyframes ops-route-beacon-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ops-route__line {
    animation: none;
  }
}
