/* ── Category block ──────────────────────────────────────────── */
.oc-cat {
  background: #111214;
  padding: 90px 0 100px;
}

.oc-cat__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Section header ──────────────────────────────────────────── */
.oc-cat__head {
  text-align: center;
  margin-bottom: 56px;
}
.oc-cat__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}
.oc-cat__eyebrow-line {
  display: block;
  width: 40px;
  height: 1px;
  background: #FF6A00;
}
.oc-cat__eyebrow-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #FF6A00;
}
.oc-cat__headline {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  line-height: 1.1;
}
.oc-cat__headline span {
  color: #FF6A00;
}

/* ── Cards grid ──────────────────────────────────────────────── */
.oc-cat__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── Single card ─────────────────────────────────────────────── */
.oc-cat__card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.oc-cat__card:hover,
.oc-cat__card:focus {
  text-decoration: none;
  color: inherit;
}

.oc-cat__card-inner {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #1a1b1e;
}

.oc-cat__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.oc-cat__card:hover .oc-cat__img {
  transform: scale(1.06);
}

/* Dark gradient overlay */
.oc-cat__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.0) 40%,
    rgba(0, 0, 0, 0.75) 100%
  );
  z-index: 1;
}

/* ── Card label ──────────────────────────────────────────────── */
.oc-cat__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 24px 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.oc-cat__name {
  margin: 0;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.oc-cat__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-size: 18px;
  font-style: normal;
  transition: background 0.2s, border-color 0.2s;
  margin-left: 12px;
}
.oc-cat__card:hover .oc-cat__arrow {
  background: #FF6A00;
  border-color: #FF6A00;
}

/* ── Tablet ──────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .oc-cat__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .oc-cat__grid .oc-cat__card:last-child {
    grid-column: 1 / -1;
  }
  .oc-cat__grid .oc-cat__card:last-child .oc-cat__card-inner {
    aspect-ratio: 16 / 7;
  }
}

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 560px) {
  .oc-cat {
    padding: 56px 0 64px;
  }
  .oc-cat__container {
    padding: 0 16px;
  }
  .oc-cat__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .oc-cat__grid .oc-cat__card:last-child {
    grid-column: auto;
  }
  .oc-cat__grid .oc-cat__card:last-child .oc-cat__card-inner {
    aspect-ratio: 3 / 4;
  }
}
