/* ── UNBOXING HERO ── */
.ub-hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.ub-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('fxccr/IMG_5785.jpeg');
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.3) saturate(0.6);
  z-index: 0;
}

.ub-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--black) 100%);
}

.ub-hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 2rem;
  max-width: 760px;
}

.ub-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin: 0.75rem 0 1.2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

.ub-hero h1 span {
  color: var(--red);
}

.ub-hero-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #bbb;
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

.ub-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.ub-hero-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
}

/* ── BREADCRUMB ── */
.ub-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.ub-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.ub-breadcrumb a:hover {
  color: var(--red);
}

.ub-breadcrumb svg {
  width: 14px;
  height: 14px;
  stroke: #444;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ── STEPS ── */
.ub-steps {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ub-step {
  display: grid;
  grid-template-columns: 56px 1fr 1fr;
  gap: 0 2.5rem;
  align-items: center;
  padding: 3.5rem 0;
  border-bottom: 1px solid #1c1c1c;
  position: relative;
}

.ub-step:last-child {
  border-bottom: none;
}

.ub-step--reverse {
  direction: rtl;
}

.ub-step--reverse > * {
  direction: ltr;
}

.ub-step-number {
  font-size: 3rem;
  font-weight: 900;
  color: #1e1e1e;
  letter-spacing: -0.02em;
  line-height: 1;
  user-select: none;
  align-self: start;
  padding-top: 0.2rem;
}

.ub-step-media {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #111;
}

.ub-step-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.9) saturate(0.85);
  transition: filter 0.4s, transform 0.5s;
}

.ub-step:hover .ub-step-media img {
  filter: brightness(1) saturate(1);
  transform: scale(1.02);
}

.ub-step-body {
  padding: 0.5rem 0;
}

.ub-step-body h2 {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.ub-step-body p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #aaa;
}

.ub-step-body strong {
  color: var(--light);
  font-weight: 600;
}

/* ── LINKS ── */
.ub-links {
  border-top: 1px solid #1c1c1c;
  padding: 4rem 2rem;
}

.ub-links-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.ub-links h2 {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.ub-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.ub-link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: var(--mid);
  border: 1px solid #222;
  border-radius: 4px;
  text-decoration: none;
  color: var(--light);
  transition: border-color 0.2s, background 0.2s;
}

.ub-link-card:hover {
  border-color: var(--red);
  background: #1f1f1f;
}

.ub-link-card-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
}

.ub-link-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ub-link-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.ub-link-card-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.ub-link-card-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.ub-link-card-url {
  font-size: 0.75rem;
  color: #555;
}

.ub-link-card-arrow {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  stroke: #444;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s, transform 0.2s;
}

.ub-link-card:hover .ub-link-card-arrow {
  stroke: var(--red);
  transform: translateX(3px);
}

/* ── SUMMARY ── */
.ub-summary {
  background: var(--mid);
  border-top: 1px solid #1f1f1f;
  padding: 5rem 2rem;
  text-align: center;
}

.ub-summary-inner {
  max-width: 640px;
  margin: 0 auto;
}

.ub-summary h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
}

.ub-summary p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #aaa;
  margin-bottom: 2rem;
}

.ub-back-btn {
  display: inline-block;
  padding: 0.65rem 1.8rem;
  border: 1px solid var(--red);
  border-radius: 2px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.ub-back-btn:hover {
  background: var(--red);
  color: var(--light);
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .ub-step,
  .ub-step--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 1.5rem;
    padding: 2.5rem 0;
  }

  .ub-step--reverse > * {
    direction: ltr;
  }

  .ub-step-number {
    font-size: 2rem;
    padding-top: 0;
  }

  .ub-step-media {
    aspect-ratio: 16/9;
  }
}
